/* Modern Landing Page Styles - Converted from Next.js/Tailwind */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-heading: 'Orbitron', monospace;
    --font-body: 'Kanit', sans-serif;
    --primary-purple: #3c096c;
    --primary-green: #1b9aaa;
    --accent-yellow: #ffcc00;
    --accent-pink: #ef476f;
    --white: #ffffff;
    --black: #000000;
    --gradient-purple: #3c096c;
    --gradient-light: #ffcc00;
    --text-light: #ffffff;
    --g.highlight-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.highlight-card p {
    color: var(--white);
    line-height: 1.6;
}

:root {
    --primary-purple: #3c096c;
    --black: #000000;
    --white: #ffffff;
    --accent-yellow: #ffcc00;
    --accent-color: #1b9aaa;
    --danger-color: #ef476f;
    --font-heading: 'Orbitron', monospace;
    --font-body: 'Kanit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --white-90: rgba(255, 255, 255, 0.1);
}

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

        /* Modern Navbar */
        .modern-navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 50;
            display: flex;
            justify-content: center;
            padding: 0.5rem 1rem;
        }

        .navbar-container {
            position: relative;
            width: 100%;
            max-width: 1280px;
        }

        .navbar-content {
            background: rgba(239, 71, 111, 0.9); 
            backdrop-filter: blur(16px);
            border-radius: 50px;
            padding: 0.75rem 2rem;
            box-shadow: 0 8px 32px var(--shadow-color);
            border: 2px solid var(--accent-pink);
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }

        .navbar-content::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(239, 71, 111, 0.1) 0%, transparent 50%, rgba(255, 204, 0, 0.1) 100%);
            border-radius: 50px;
        }

        .logo-section {
            display: flex;
            align-items: center;
            position: relative;
            z-index: 10;
            gap: 0.5rem; /* Space between logo image and text */
        }

        .logo-image {
            width: 50px; /* Adjust size as needed */
            height: 50px;
            object-fit: contain; /* Ensure logo maintains aspect ratio */
        }

        .logo-text {
            font-family: var(--font-heading);
            font-weight: bold;
            font-size: 1.25rem;
            color: var(--white);
            letter-spacing: -0.025em;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); 
        }
@media (max-width: 768px) {
    .logo-text {
        font-size: 1rem; 
    }
}
        .auth-buttons {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            position: relative;
            z-index: 10;
        }

        .login-btn {
            background: var(--accent-pink);
            color: var(--white);
            font-weight: 500;
            font-size: 0.875rem;
            padding: 0.5rem 1.25rem;
            border-radius: 50px;
            box-shadow: 0 4px 0 var(--primary-purple), 0 8px 16px rgba(239, 71, 111, 0.2); /* Restored original box-shadow */
            border: 1px solid var(--accent-pink);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            font-family: var(--font-body);
            position: relative;
            overflow: hidden;
        }

        .login-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
            border-radius: 50px;
        }

        .login-btn:hover {
            background: var(--accent-yellow);
            color: var(--black);
            box-shadow: 0 2px 0 var(--primary-purple), 0 6px 12px rgba(255, 204, 0, 0.3); /* Restored original hover shadow */
            transform: translateY(-2px);
        }

        .login-btn:active {
            box-shadow: 0 1px 0 rgba(60, 9, 108, 0.3), 0 3px 8px rgba(60, 9, 108, 0.3); /* Restored original active shadow */
            transform: translateY(2px);
        }

        .signup-btn {
            background: var(--accent-pink);
            color: var(--white);
            font-weight: 500;
            font-size: 0.875rem;
            padding: 0.5rem 1.25rem;
            border-radius: 50px;
            box-shadow: 0 4px 0 var(--primary-purple), 0 8px 16px rgba(239, 71, 111, 0.2); /* Restored original box-shadow */
            border: 1px solid var(--accent-pink);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            font-family: var(--font-body);
            position: relative;
            overflow: hidden;
        }

        .signup-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
            border-radius: 50px;
        }

        .signup-btn:hover {
            background: var(--accent-yellow);
            color: var(--black);
            box-shadow: 0 2px 0 var(--primary-purple), 0 6px 12px rgba(255, 204, 0, 0.3); /* Restored original hover shadow */
            transform: translateY(-2px);
        }

        .signup-btn:active {
            box-shadow: 0 1px 0 rgba(60, 9, 108, 0.3), 0 3px 8px rgba(60, 9, 108, 0.3); /* Restored original active shadow */
            transform: translateY(2px);
        }
/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 2.5rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--primary-purple) 30%, var(--accent-pink) 70%, var(--accent-yellow) 100%);
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    text-align: center;
    min-width: 300px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.25rem;
    max-width: 30rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.hero-button-container {
    display: inline-block;
}

.get-started-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-pink);
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 0 var(--primary-purple), 0 15px 30px rgba(239, 71, 111, 0.4);
    border: 2px solid var(--accent-pink);
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    position: relative;
    overflow: hidden;
}

.get-started-btn:hover {
    background: var(--accent-yellow);
    color: var(--black);
    box-shadow: 0 6px 0 var(--primary-purple), 0 12px 25px rgba(255, 204, 0, 0.5);
    transform: translateY(-4px);
}

.get-started-btn:active {
    box-shadow: 0 4px 0 var(--primary-purple), 0 8px 20px rgba(60, 9, 108, 0.3);
    transform: translateY(4px);
}

.hero-images {
    flex: 1;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.phone-mockup, .laptop-mockup {
    /* transition: all 0.1s ease; */
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
}

.phone-mockup {
    width: 14rem;
    height: auto;
}

.laptop-mockup {
    width: 23rem;
    height: auto;
}

/* Feature Sections */
.feature-section, .third-section, .fourth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 2rem;
}

.feature-container, .section-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
}

.feature-text, .section-text {
    flex: 1;
    min-width: 300px;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-stats, .feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item, .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 0;
    box-shadow: none;
    color: var(--black);
}

.stat-item i, .feature-item i {
    font-size: 1.5rem;
    color: var(--primary-purple);
}

.stat-item span, .feature-item span {
    color: var(--black);
    font-weight: 500;
}

.feature-visual, .section-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.floating-card {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-color) 100%);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(60, 9, 108, 0.3);
    text-align: center;
    transform: translateY(-10px);
    border: 2px solid var(--accent-yellow);
    /* animation: float 3s ease-in-out infinite; */
}

.floating-card i {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.floating-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.floating-card p {
    color: var(--white);
}

.math-card i {
    color: var(--accent-yellow);
}

.reading-card i {
    color: var(--primary-green);
}

/* @keyframes float {
    0%, 100% { transform: translateY(-10px); }
    50% { transform: translateY(-20px); }
} */

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-purple) 100%);
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(27, 154, 170, 0.3);
    border: 1px solid var(--accent-yellow);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    margin-top: 0.25rem;
}

.highlight-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.highlight-item p {
    color: var(--white);
    font-size: 0.875rem;
}

/* Feature Highlights Section */
.highlights-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--black) 0%, var(--primary-purple) 100%);
}

.highlights-container {
    max-width: 1280px;
    margin: 0 auto;
}

.highlights-header {
    text-align: center;
    margin-bottom: 4rem;
}

.highlights-header .section-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlights-header .section-description {
    font-size: 1.125rem;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    background: var(--accent-pink);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(239, 71, 111, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--white);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(239, 71, 111, 0.6);
    border-color: var(--white);
}

.highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: var(--accent-yellow);
    color: var(--black);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.highlight-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.highlight-card p {
    color: var(--white);
    line-height: 1.6;
}

/* Footer */
.modern-footer {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--primary-purple) 50%, var(--black) 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--white);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.link-group h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-yellow);
}

.link-group a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .phone-mockup {
        width: 12rem;
    }
    
    .laptop-mockup {
        width: 18rem;
    }
}

@media (max-width: 768px) {
    .navbar-content {
        padding: 0.5rem 1rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .auth-buttons {
        gap: 0.5rem;
    }
    
    .login-btn, .signup-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .btn-text {
        display: none;
    }
    
    .hero-section {
        padding: 1rem;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 20rem;
    }
    
    .hero-images {
        flex-direction: column;
        gap: 1rem;
    }
    
    .phone-mockup, .laptop-mockup {
        width: 10rem;
        position: relative !important;
        transform: none !important;
    }
    
    .feature-container, .section-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .get-started-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .floating-card {
        padding: 1.5rem;
    }
    
    .floating-card i {
        font-size: 2rem;
    }
}
/* Add this to the end of modern_style.css to ensure images show properly */

/* Image positioning fixes */
.phone-mockup, .laptop-mockup {
    position: relative;
    display: block;
    transition: all 0.1s ease;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
    z-index: 10;
}

.phone-mockup {
    width: 14rem;
    height: auto;
    max-width: 100%;
}

.laptop-mockup {
    width: 23rem;
    height: auto;
    max-width: 100%;
}

/* Ensure images are visible on load */
.hero-images {
    position: relative;
    z-index: 20;
}

/* Mobile specific fixes */
@media (max-width: 767px) {
    .hero-images {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    
    .phone-mockup, .laptop-mockup {
        position: relative !important;
        transform: none !important;
        width: 10rem;
        opacity: 1 !important;
    }
    
    .laptop-mockup {
        margin-top: 1rem;
    }
}

/* Desktop positioning */
@media (min-width: 768px) {
    .phone-mockup {
        width: 14rem;
    }
    
    .laptop-mockup {
        width: 23rem;
    }
}
