/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1a237e;
    --secondary: #303f9f;
    --accent: #ff5722;
    --light: #f5f5f5;
    --dark: #121858;
    --success: #4caf50;
    --text: #333;
    --text-light: #777;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

body {
    line-height: 1.6;
    color: var(--text);
    background-color: white;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.logo span {
    color: var(--accent);
}

.logo p {
    font-size: 0.7rem;
    color: var(--text-light);
    font-style: italic;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent);
}

.cta-button {
    background-color: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e64a19;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 80px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: white;
    color: var(--primary);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover {
    background-color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.card-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 400px;
}

.card-sample {
    width: 120px;
    height: 160px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.card-sample:hover {
    transform: translateY(-10px);
}

.card-sample h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.card-sample p {
    font-size: 0.8rem;
    opacity: 0.9;
}

.physics {
    background: linear-gradient(135deg, #ff5722, #ff8a65);
}

.chemistry {
    background: linear-gradient(135deg, #9c27b0, #ce93d8);
}

.math {
    background: linear-gradient(135deg, #2196f3, #64b5f6);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
    position: relative;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.product-description {
    color: var(--text-light);
    margin-bottom: 20px;
}

.product-price {
    margin-bottom: 25px;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-light);
    margin-right: 10px;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.product-features {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.product-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.product-features i {
    color: var(--success);
    margin-right: 10px;
}

.btn-product {
    display: block;
    background-color: var(--primary);
    color: white;
    padding: 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-product:hover {
    background-color: var(--secondary);
}

/* Demo Section */
.demo {
    padding: 80px 0;
    background-color: white;
}

.demo-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.demo-cards {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.demo-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #e0e0e0;
}

.demo-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.demo-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.demo-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.demo-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.9rem;
    min-height: 60px;
}

.btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-demo:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

.demo-info {
    flex: 1;
    background-color: var(--light);
    padding: 25px;
    border-radius: 10px;
}

.demo-info h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.demo-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.demo-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.demo-info i {
    color: var(--accent);
    margin-right: 10px;
    margin-top: 3px;
}

.demo-note {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.demo-note p {
    margin: 0;
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.founder-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    text-align: center;
    max-width: 300px;
}

.founder-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 3rem;
}

.founder-card h3 {
    margin-bottom: 5px;
    color: var(--primary);
}

.founder-card p {
    margin-bottom: 5px;
    color: var(--text-light);
}

.about-text {
    flex: 2;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.feature i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Payment Info Section */
.payment-info {
    padding: 80px 0;
    background-color: white;
}

.payment-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.payment-methods h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.method {
    background-color: var(--light);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.method:hover {
    transform: translateY(-5px);
}

.method i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.data-management h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.data-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.step {
    background-color: var(--light);
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 30px;
    height: 30px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.contact-form h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    margin-bottom: 15px;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.founder-credits {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-credits p {
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal h2 {
    margin-bottom: 20px;
    color: var(--primary);
}

.product-summary {
    background-color: var(--light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 10px;
}

.payment-instructions {
    background-color: #fff3e0;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid var(--accent);
}

.payment-instructions h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.payment-instructions ul {
    margin: 10px 0;
    padding-left: 20px;
}

.payment-instructions li {
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    nav {
        display: none;
        width: 100%;
        margin-top: 15px;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .demo-content {
        flex-direction: column;
    }
    
    .payment-content {
        grid-template-columns: 1fr;
    }
    
    .data-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.7rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-cards {
        grid-template-columns: 1fr;
    }
}