@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: hsl(152, 45%, 32%);
    --primary-light: hsl(152, 45%, 45%);
    --primary-foreground: hsl(45, 33%, 97%);
    --secondary: #FF9F1C;
    --accent: #E9EDC0;
    --text-main: #0A0A0A;
    --text-muted: hsl(150, 10%, 40%);
    --brand-dark: #2C1810;
    --bg-light: #FFFFFF;
    --bg-subtle: #F0F4EF;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.9);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --gradient-primary: linear-gradient(135deg, #0A2F1F 0%, #2D6A4F 100%);

    /* Duo Theme Tokens */
    --duo-green: #58cc02;
    --duo-green-dark: #46a302;
    --duo-blue: #1cb0fb;
    --duo-blue-dark: #1899d6;
    --duo-bg: #ffffff;
    --duo-text: #3c3c3c;
    --duo-gray: #e5e5e5;
    --duo-gray-dark: #afafaf;
}

body.theme-duo {
    --primary: var(--duo-green);
    --primary-light: var(--duo-green);
    --secondary: var(--duo-blue);
    --text-main: var(--duo-text);
    --text-muted: #777;
    --bg-light: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--duo-green) 0%, var(--duo-green-dark) 100%);
    background-color: var(--bg-light);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fafdfa;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 Q 40 30 30 50 Q 20 30 30 10 M30 50 L 30 60' stroke='%232D6A4F' stroke-width='2' fill='none' opacity='0.25'/%3E%3Cpath d='M90 60 Q 100 80 90 100 Q 80 80 90 60 M90 100 L 90 110' stroke='%232D6A4F' stroke-width='2' fill='none' opacity='0.2'/%3E%3Cpath d='M10 70 Q 25 65 35 80 Q 25 95 10 70' stroke='%232D6A4F' stroke-width='1.5' fill='none' opacity='0.15'/%3E%3Cpath d='M70 20 Q 85 15 95 30 Q 85 45 70 20' stroke='%232D6A4F' stroke-width='1.5' fill='none' opacity='0.15'/%3E%3C/svg%3E");
    background-size: 120px 120px;
    background-attachment: fixed;
}

h1,
h2,
h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    line-height: 1.2;
}

.hero-content h1 {
    font-weight: 800;
    color: var(--text-main);
}

.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 80px 0;
}

/* Typography Utility */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

.formal-text {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.section-subtitle {
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27, 67, 50, 0.3);
    opacity: 0.9;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--bg-subtle);
    transform: translateY(-3px);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 1.5rem 0;
}

nav.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -1.5px;
    text-transform: none;
    gap: 12px;
}

.logo-text {
    font-size: 4rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -2px;
}

.logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(45, 106, 79, 0.1));
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(-5deg);
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.brand-logo-large {
    height: 120px;
    width: auto;
    margin-bottom: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: transparent;
    border: none;
    z-index: 1001;
    transition: var(--transition);
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

.hamburger-menu span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Dropdown Menu */
.nav-dropdown {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
}

/* --- YouTube-Inspired Dark Theme System --- */
body.theme-dark {
    --bg-light: #0f0f0f;
    /* YouTube Dark Background */
    --bg-white: #0f0f0f;
    /* Base Surface */
    --bg-subtle: #181818;
    /* Secondary Surface */
    --text-main: #f1f1f1;
    /* High Contrast White */
    --text-dark: #f1f1f1;
    --text-muted: #aaaaaa;
    /* Muted YouTube-style secondary */
    --primary: #3FBF6B;
    /* Brighter Fresh Leaf Accent */
    --primary-light: #52B788;
    --primary-foreground: #0f0f0f;
    --secondary: #ff9f1c;
    --accent: #1F7A3E;
    /* Deeper Brand Green */
    --brand-dark: #f1f1f1;
    /* Bright Logo */
    --border-color: #3f3f3f;
    /* Neutral YouTube Borders */
    --glass: rgba(15, 15, 15, 0.95);
    --shadow: none;
    /* Move to elevation instead */
    background-color: #0f0f0f;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 Q 40 30 30 50 Q 20 30 30 10 M30 50 L 30 60' stroke='%23333333' stroke-width='1.5' fill='none' opacity='0.08'/%3E%3Cpath d='M90 60 Q 100 80 90 100 Q 80 80 90 60 M90 100 L 90 110' stroke='%23333333' stroke-width='1.5' fill='none' opacity='0.08'/%3E%3C/svg%3E");
}

.theme-dark nav,
.theme-dark .nav-dropdown {
    background: #0f0f0f !important;
    border-bottom: 1px solid #272727;
    border-left: 1px solid #272727;
    color: #f1f1f1;
}

.theme-dark .nav-dropdown a {
    color: #f1f1f1;
}

.theme-dark .nav-dropdown a:hover {
    background: #272727;
}

.theme-dark .auth-card {
    background: #181818;
    border: 1px solid #333;
    border-top: 3px solid #6B4F2A;
    /* Subtle Earth Brown accent */
    box-shadow: none;
    border-radius: 20px;
}

.theme-dark .hero {
    background: linear-gradient(rgba(15, 15, 15, 0.6), rgba(15, 15, 15, 0.6)),
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 Q 40 30 30 50 Q 20 30 30 10 M30 50 L 30 60' stroke='%23333333' stroke-width='1' fill='none' opacity='0.05'/%3E%3C/svg%3E");
    background-attachment: fixed;
}

.theme-dark .step-card,
.theme-dark .kit-card,
.theme-dark .feature-box,
.theme-dark .editorial-card,
.theme-dark .impact-card,
.theme-dark .testimonial-card,
.theme-dark .stat-item {
    background: #181818;
    border: 1px solid #272727;
    box-shadow: none;
    color: #f1f1f1;
}

.theme-dark .kit-card {
    border-bottom: 3px solid #6B4F2A;
    /* Earth Brown base */
}

.theme-dark .kit-card:hover,
.theme-dark .step-card:hover {
    background: #272727;
    transform: translateY(-8px);
}

.theme-dark .btn-primary {
    background: #3FBF6B;
    /* Vibrant Brand Green */
    color: #0f0f0f;
    font-weight: 700;
    box-shadow: none;
}

.theme-dark .btn-primary:hover {
    background: #34a85a;
    transform: translateY(-2px);
}

.theme-dark input,
.theme-dark select {
    background: #0f0f0f;
    color: #f1f1f1;
    border: 1px solid #333;
    border-radius: 12px;
}

.theme-dark input:focus,
.theme-dark select:focus {
    background: #121212;
    font-weight: 500;
    border-color: #3FBF6B;
    box-shadow: 0 0 0 2px rgba(63, 191, 107, 0.2);
    outline: none;
}

/* Logo Color Inversion in Dark Mode */
.theme-dark .logo span {
    color: #f1f1f1;
}

.theme-dark .glass-card {
    background: #181818;
    border: 1px solid #272727;
    box-shadow: none;
}

.theme-dark footer {
    background: #0f0f0f;
    border-top: 2px solid #6B4F2A;
    /* Earth Brown Divider */
}

.theme-dark .progress-bar {
    background: #272727;
}

.theme-dark .parent-list li i {
    background: #181818;
    color: #3FBF6B;
    border: 1px solid #272727;
}

.theme-dark .impact-stats {
    border-top-color: #333;
}

.theme-dark .view-all-link {
    color: #3FBF6B;
}

.theme-dark .nav-dropdown a.active {
    background: #181818;
    border-left-color: #3FBF6B;
    color: #3FBF6B;
}

.theme-dark .logo svg path[fill="#84CC5C"] {
    fill: #3FBF6B;
}

.theme-dark .logo svg rect[fill="#1B4332"] {
    fill: #3FBF6B;
}

.theme-dark .logo svg circle {
    fill: rgba(63, 191, 107, 0.15);
}

.nav-dropdown {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: -5px 0 40px rgba(0, 0, 0, 0.15);
    padding: 100px 0 2rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(45, 106, 79, 0.1);
    z-index: 999;
    overflow-y: auto;
}

.nav-dropdown.active {
    opacity: 1;
    visibility: visible;
    right: 0;
}

.nav-dropdown a {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-main);
    font-weight: 600;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-dropdown a:hover {
    background: rgba(45, 106, 79, 0.08);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 2.3rem;
}

.nav-dropdown a.active {
    color: var(--primary);
    background: rgba(45, 106, 79, 0.05);
    border-left-color: var(--secondary);
}

.nav-dropdown-divider {
    height: 1px;
    background: rgba(45, 106, 79, 0.1);
    margin: 0.5rem 1.5rem;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(240, 244, 239, 0.75) 0%, rgba(224, 242, 241, 0.75) 100%),
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 Q 40 30 30 50 Q 20 30 30 10 M30 50 L 30 60' stroke='%232D6A4F' stroke-width='2' fill='none' opacity='0.35'/%3E%3Cpath d='M90 60 Q 100 80 90 100 Q 80 80 90 60 M90 100 L 90 110' stroke='%232D6A4F' stroke-width='2' fill='none' opacity='0.3'/%3E%3C/svg%3E");
    background-attachment: fixed;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-content .tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
}

.hero-image-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-image-container:hover {
    transform: rotate(0deg) scale(1.02);
}

/* How It Works */
.how-it-works {
    background: transparent;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    border: 2px solid #6A994E;
    /* Sap Green Border */
}

.step-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: var(--shadow);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.step-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.step-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Featured Kits */
.kits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.kit-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.kit-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--secondary);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    font-weight: 800;
    font-size: 0.8rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.kit-image {
    height: 300px;
    overflow: hidden;
}

.kit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.kit-card:hover .kit-image img {
    transform: scale(1.1);
}

.kit-content {
    padding: 2rem;
}

.kit-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.kit-meta span i {
    color: var(--secondary);
    margin-right: 5px;
}

.kit-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

/* Why Choose Section */
.why-choose {
    background: linear-gradient(135deg, #D8F3DC 0%, #74C69D 100%),
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 Q 40 30 30 50 Q 20 30 30 10 M30 50 L 30 60' stroke='%232D6A4F' stroke-width='1.5' fill='none' opacity='0.2'/%3E%3Cpath d='M90 60 Q 100 80 90 100 Q 80 80 90 60 M90 100 L 90 110' stroke='%232D6A4F' stroke-width='1.5' fill='none' opacity='0.15'/%3E%3C/svg%3E");
    background-attachment: fixed;
    color: var(--text-main);
}

.why-choose .section-title {
    color: var(--brand-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: rgba(45, 106, 79, 0.05);
    backdrop-filter: blur(5px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(45, 106, 79, 0.1);
    transition: all 0.2s ease-out;
}

.feature-box:hover {
    transform: translateY(-15px) scale(1.03);
    background: rgba(45, 106, 79, 0.15);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-box h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--brand-dark);
}

/* Parent Section */
.for-parents {
    background: linear-gradient(135deg, rgba(240, 244, 239, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%),
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 Q 40 30 30 50 Q 20 30 30 10 M30 50 L 30 60' stroke='%232D6A4F' stroke-width='2' fill='none' opacity='0.3'/%3E%3Cpath d='M90 60 Q 100 80 90 100 Q 80 80 90 60 M90 100 L 90 110' stroke='%232D6A4F' stroke-width='2' fill='none' opacity='0.25'/%3E%3C/svg%3E");
    background-attachment: fixed;
    backdrop-filter: blur(2px);
}

.parent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.parent-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    background: var(--accent);
    color: var(--text-main);
    font-weight: 800;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.parent-list li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.parent-list i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

/* Impact Snapshot */
.impact-card {
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item h2 {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--brand-dark) 100%),
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 Q 40 30 30 50 Q 20 30 30 10 M30 50 L 30 60' stroke='%23FFFFFF' stroke-width='1.5' fill='none' opacity='0.1'/%3E%3C/svg%3E");
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.final-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--white);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: #111;
    color: #999;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 40px;
}

.footer-logo {
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #999;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {

    .hero-grid,
    .parent-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content .tagline {
        margin: 0 auto 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Gamification & Easter Egg Styles --- */

/* Easter Egg Button */
.easter-egg-trigger {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: var(--transition);
    border: none;
    font-size: 1.2rem;
}

.easter-egg-trigger:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--secondary);
}

.easter-egg-trigger.active {
    background: #e63946;
    transform: rotate(180deg);
}

/* Falling Leaves */
.leaf-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1500;
    overflow: hidden;
}

.leaf {
    position: absolute;
    width: 32px;
    height: 32px;
    background: #2d6a4f;
    border-radius: 2px 24px 2px 24px;
    opacity: 0;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1500;
}

.leaf.falling {
    animation: leafFall 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes leafFall {
    0% {
        transform: translate(0, -100px) rotate(0deg) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(0, var(--target-y)) rotate(var(--random-rotate)) scale(1);
        opacity: 1;
    }
}

.leaf.vacuuming {
    transition: all 0.7s cubic-bezier(0.5, 0, 0.5, 1);
    transform: translate(110vw, 50vh) scale(0) rotate(1080deg) !important;
    opacity: 0 !important;
}

/* Vacuum Cleaner */
.vacuum-cleaner {
    position: fixed;
    top: 50%;
    right: -250px;
    transform: translateY(-50%);
    width: 200px;
    height: auto;
    z-index: 2100;
    transition: right 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

.vacuum-cleaner.active {
    right: -30px;
}

.vacuum-cleaner svg {
    width: 100%;
    height: auto;
}

/* Shake animation for the vacuum */
.vacuum-cleaner.active svg {
    animation: vacuumShake 0.1s linear infinite;
}

@keyframes vacuumShake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    25% {
        transform: translate(-1px, -1px) rotate(0.5deg);
    }

    50% {
        transform: translate(-1px, 1px) rotate(-0.5deg);
    }

    75% {
        transform: translate(1px, -1px) rotate(0.5deg);
    }

    100% {
        transform: translate(1px, 1px) rotate(0deg);
    }
}

/* --- Duolingo-Style Cinematic Preloader --- */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.scene-container {
    width: 100%;
    height: 100%;
    position: relative;
    /* transition: all 0.5s ease; */
}

/* Simplified Preloader: Blank -> Light */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 2s ease;
}

#preloader.light-up {
    background: #fff;
}

.logo-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.8);
    z-index: 40;
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.logo-layer.active {
    opacity: 1;
    transform: scale(1);
}

.logo-layer.fade-out {
    opacity: 0;
    filter: blur(20px);
}

.bouncing-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.5);
    opacity: 0;
}

.logo-layer.active .bouncing-logo {
    animation: bounceIn 1.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.logo-text {
    font-size: 3rem;
    font-weight: 800;
    color: #2D6A4F;
    margin-top: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -1px;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }

    50% {
        opacity: 1;
        transform: scale(1.1) translateY(-10px);
    }

    70% {
        transform: scale(0.95) translateY(5px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.logo-layer.fade-out {
    opacity: 0;
    transition: opacity 0.8s ease;
}


/* --- About the Creator Section --- */
.about-creator {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.creator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bio-text p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.bio-text .lead {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    border-left: 4px solid var(--secondary);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

/* --- For Parents Section --- */
.for-parents {
    padding: 8rem 0;
    background: #f8fbf9;
    /* Very light mint tint */
    position: relative;
    overflow: hidden;
}

.parent-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.parent-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(82, 183, 136, 0.1);
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.parent-list {
    list-style: none;
    margin-top: 2rem;
}

.parent-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.parent-list li i {
    font-size: 1.2rem;
    color: var(--secondary);
    background: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.parent-list li strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.parent-list li div {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.impact-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
}

.impact-card h2 {
    color: var(--primary);
    font-size: 2.2rem;
}

.impact-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.stat-item h2 {
    color: var(--secondary);
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Slideshow */
.creator-visual {
    position: relative;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.5s ease;
}

.slide img:hover {
    transform: scale(1.05);
}

.slideshow-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.visual-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    border: 2px solid var(--secondary);
    border-radius: 20px;
    z-index: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

#lightbox-img {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    /* Let clicks pass through to container if needed */
    width: 100vw;
    transform: translateX(calc(-50vw + 50%));
    /* Center relative to viewport */
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    pointer-events: auto;
    border-radius: 50%;
    transition: background 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 992px) {

    .creator-grid,
    .parent-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }


    .for-parents {
        padding: 4rem 0;
    }

    .parent-content {
        text-align: center;
    }

    .parent-badge {
        justify-content: center;
    }

    .parent-list li {
        text-align: left;
    }

    .impact-card {
        padding: 2rem;
    }

    .stat-item h2 {
        font-size: 2.2rem;
    }
}

/* --- Auth Section Redesign --- */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem;
    background: var(--bg-light);
}

.auth-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.auth-card-container {
    display: block;
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-card-container {
    width: 100%;
}

.auth-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    /* Attractive soft corners */
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Modern soft shadow */
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Ensure containment */
}

/* Progress Bar */
.progress-container {
    margin-bottom: 2rem;
    position: relative;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
    background: none;
    border: none;
    padding: 0;
}

.back-button:hover {
    color: var(--primary);
    transform: translateX(-3px);
}

.progress-bar {
    width: 100%;
    height: 6px;
    /* Slightly thinner for elegance */
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 600;
}

/* Step Icons */
.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Motivational Messages */
.motivational-message {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(82, 183, 136, 0.1), rgba(114, 239, 221, 0.1));
    border-radius: 12px;
    font-weight: 600;
    color: var(--primary);
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Confetti Animation */
@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--primary);
    animation: confetti-fall 3s linear;
    pointer-events: none;
    z-index: 9999;
}

/* Auth Step Transitions */
.auth-step {
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.auth-header {
    margin-bottom: 2.5rem;
}

.auth-toggle {
    display: flex;
    background: #f5f5f5;
    padding: 5px;
    border-radius: 12px;
}

.auth-toggle button {
    flex: 1;
    border: none;
    padding: 0.8rem;
    background: transparent;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-toggle button.active {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    /* Soft attractive corners */
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

/* Theme Toggle Switch */
.theme-switch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 0.5rem;
}

.theme-switch-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--dark-accent);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-hint {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Password Toggle Styles */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper i {
    position: absolute;
    right: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
    padding: 10px;
    margin-right: -10px;
}

.password-input-wrapper i:hover {
    color: var(--primary);
}

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.auth-divider span {
    background: #fff;
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

.social-login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem;
    border: 2px solid #eee;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #f9f9f9;
    border-color: #ddd;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 992px) {
    .auth-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .auth-benefits {
        padding-right: 0;
    }

    .benefit-item {
        text-align: left;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .social-login-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Page Transition Animation --- */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    pointer-events: none;
    display: none;
}

.page-transition.active {
    display: block;
    pointer-events: all;
}

/* Rain Layer */
.rain-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    overflow: hidden;
}

.rain-layer.active {
    opacity: 1;
}

.raindrop {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(135, 206, 250, 0.6), rgba(135, 206, 250, 0.8));
    animation: fall linear infinite;
    opacity: 0.7;
}

@keyframes fall {
    0% {
        transform: translateY(-100px);
    }

    100% {
        transform: translateY(100vh);
    }
}

/* Flood Layer */
.flood-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(65, 105, 225, 0.7), rgba(30, 144, 255, 0.85));
    opacity: 0;
    overflow: hidden;
}

.flood-layer.active {
    opacity: 1;
    animation: floodRise 3s ease-out forwards;
}

@keyframes floodRise {
    0% {
        height: 0;
    }

    100% {
        height: 100%;
    }
}

.water-surface {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Drainage Pipe - Modern Small Drain */
.drainage-pipe {
    position: absolute;
    bottom: -80px;
    right: 15%;
    width: 60px;
    height: 60px;
    opacity: 0;
    transition: all 0.5s ease;
}

.drainage-pipe.active {
    bottom: 20px;
    opacity: 1;
}

.drain-circle {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #222 0%, #444 50%, #222 100%);
    border-radius: 50%;
    box-shadow:
        inset 0 0 15px rgba(0, 0, 0, 0.8),
        0 4px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.drain-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: repeating-conic-gradient(from 0deg,
            #555 0deg 10deg,
            #333 10deg 20deg);
    border-radius: 50%;
}

.drain-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: #111;
    border-radius: 50%;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.9);
}

/* Drain Effect */
.flood-layer.draining {
    animation: floodDrain 2.5s ease-in forwards;
}

@keyframes floodDrain {
    0% {
        height: 100%;
        opacity: 1;
    }

    100% {
        height: 0;
        opacity: 0;
        transform: scale(0.98);
    }
}

/* Brand Transition */
.brand-transition {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.brand-transition.active {
    opacity: 1;
    pointer-events: all;
}

.brand-logo-large {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
}

.brand-transition.active .brand-logo-large {
    animation: logoEntrance 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }

    60% {
        opacity: 1;
        transform: scale(1.1) rotate(5deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.brand-text {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
}

.brand-transition.active .brand-text {
    animation: textSlideUp 0.8s ease-out 0.5s forwards;
}

@keyframes textSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-transition.fade-out {
    animation: brandFadeOut 0.5s ease-out forwards;
}

@keyframes brandFadeOut {
    to {
        opacity: 0;
    }
}

/* Beanstalk - Growing from bottom-right diagonally */
.beanstalk-container {
    position: absolute;
    bottom: 0;
    right: 8%;
    width: 300px;
    height: 100vh;
    opacity: 0;
    transform-origin: bottom center;
}

.beanstalk-container.active {
    opacity: 1;
    animation: beanstalkGrow 4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes beanstalkGrow {
    0% {
        transform: scaleY(0) translateY(100%);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: scaleY(1) translateY(0);
        opacity: 1;
    }
}

.beanstalk-svg {
    width: 100%;
    height: 100%;
}

.stalk-main {
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: drawStalk 3.5s ease-out forwards;
}

.stalk-vine {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawStalk 2.5s ease-out 0.5s forwards;
}

@keyframes drawStalk {
    to {
        stroke-dashoffset: 0;
    }
}

.leaf {
    opacity: 0;
    transform-origin: center;
    animation: leafPop 0.5s ease-out forwards;
}

.leaf-1 {
    animation-delay: 1.5s;
}

.leaf-2 {
    animation-delay: 2s;
}

.leaf-3 {
    animation-delay: 2.5s;
}

.leaf-4 {
    animation-delay: 3s;
}

@keyframes leafPop {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Transform */
.scroll-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 2000px;
    opacity: 0;
    pointer-events: none;
}

.scroll-wrapper.active {
    opacity: 1;
    pointer-events: all;
}

.scroll-content {
    width: 100%;
    height: 100%;
    background: #f4e8d0;
    background-image:
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 90, 43, 0.1) 2px, rgba(139, 90, 43, 0.1) 4px),
        repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(139, 90, 43, 0.05) 30px, rgba(139, 90, 43, 0.05) 31px);
    box-shadow: inset 0 0 100px rgba(139, 90, 43, 0.2);
    transform-origin: center;
}

.scroll-wrapper.active .scroll-content {
    animation: scrollTransform 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes scrollTransform {
    0% {
        transform: rotateX(0deg) scale(1);
        border-radius: 0;
    }

    50% {
        transform: rotateX(20deg) scale(0.8);
        border-radius: 20px;
    }

    100% {
        transform: rotateX(90deg) scale(0.3) translateY(200%);
        border-radius: 50px;
        opacity: 0;
    }
}

/* Glass Transition */
.glass-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glass-transition.active {
    display: flex;
    opacity: 1;
}

.glass-container {
    text-align: center;
}

.glass {
    width: 120px;
    height: 160px;
    border: 6px solid var(--primary);
    border-top: none;
    border-radius: 0 0 20px 20px;
    position: relative;
    margin: 0 auto 2rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(45, 106, 79, 0.1);
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 2;
}

.water {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #48cae4, #90e0ef);
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.02em;
    animation: pulseText 1.5s ease-in-out infinite;
}

@keyframes pulseText {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Floating Bookmark Navigation --- */
.side-nav-bookmarks {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bookmark-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px 15px;
    border-radius: 0 50px 50px 0;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 50px;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bookmark-item i {
    font-size: 1.2rem;
    min-width: 25px;
    text-align: center;
}

.bookmark-item span {
    margin-left: 15px;
    opacity: 0;
    transition: opacity 0.3s;
}

.bookmark-item:hover {
    width: 140px;
    padding-right: 20px;
}

.bookmark-item:hover span {
    opacity: 1;
}

/* Colors */
.bookmark-item.blue {
    color: #0077b6;
    border-left: 4px solid #0077b6;
}

.bookmark-item.green {
    color: #2d6a4f;
    border-left: 4px solid #2d6a4f;
}

.bookmark-item.orange {
    color: #fb8500;
    border-left: 4px solid #fb8500;
}

.bookmark-item.blue:hover {
    background: #0077b6;
    color: white;
}

.bookmark-item.green:hover {
    background: #2d6a4f;
    color: white;
}

.bookmark-item.orange:hover {
    background: #fb8500;
    color: white;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .side-nav-bookmarks {
        display: none;
        /* Hide on mobile to avoid clutter */
    }
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInStep 0.5s ease forwards;
}

.benefit-item i {
    font-size: 1.8rem;
    color: var(--primary);
    background: rgba(82, 183, 136, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
    transition: var(--transition);
}

.benefit-item:hover i {
    background: var(--primary);
    color: white;
    transform: translateY(-5px) rotate(5deg);
}

.benefit-item strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.auth-step {
    display: none;
    animation: fadeInStep 0.5s ease forwards;
}

.auth-step.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.phone-input-wrapper {
    display: flex;
    gap: 0.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 0.2rem 0.5rem;
    transition: var(--transition);
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.1);
}

.country-select {
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 1rem;
    padding: 0 0.5rem;
    border-right: 1px solid #eee;
    cursor: pointer;
    outline: none;
}

.phone-input-wrapper input {
    border: none !important;
    box-shadow: none !important;
    padding: 0.8rem 0.5rem !important;
}

.circle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem !important;
    padding: 0 !important;
    margin: 2rem auto 0 !important;
    box-shadow: 0 10px 20px rgba(27, 67, 50, 0.2) !important;
}

.circle-btn i {
    margin: 0 !important;
}

.school-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.school-input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
}

.school-input-wrapper input {
    padding-left: 2.8rem !important;
}

/* Autocomplete styling */
.autocomplete {
    position: relative;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow);
    max-height: 200px;
    overflow-y: auto;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

.autocomplete-active {
    background-color: var(--primary) !important;
    color: #ffffff;
}

#otp-container input {
    text-align: center;
    letter-spacing: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.auth-header h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* --- Formal Page Overrides --- */
.about-section,
.coming-soon-section {
    background: transparent !important;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.mission-item {
    text-align: center;
    padding: 3rem;
    transition: var(--transition);
}

.mission-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.mission-item h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.mission-item p {
    font-size: 1.05rem;
}

/* Editorial Blog Styles */
.blog-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 100px;
}

.editorial-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.editorial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.editorial-img {
    height: 250px;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.6;
}

.editorial-content {
    padding: 2.5rem;
}

.editorial-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(82, 183, 136, 0.1);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.editorial-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.editorial-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.editorial-link {
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.editorial-link:hover {
    gap: 0.8rem;
}

/* --- Creator Grid Layout --- */
.creator-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-slideshow {
    width: 100%;
    height: 600px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-slideshow .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .creator-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .creator-content {
        order: 2;
    }

    .creator-visual {
        order: 1;
    }

    .about-slideshow {
        height: 450px;
    }
}

/* Footer Bottom Layout */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- Voice Input Integration Styles --- */
.voice-input-wrapper {
    position: relative !important;
    display: flex;
    align-items: center;
    width: 100%;
}

.voice-input-btn {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(63, 191, 107, 0.1) !important;
    border: 1px solid rgba(63, 191, 107, 0.2) !important;
    color: #3FBF6B !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
}

.voice-input-btn:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.voice-input-btn.recording {
    color: #ff4b2b !important;
    background: rgba(255, 75, 43, 0.2) !important;
    border-color: #ff4b2b !important;
    animation: pulse-red 1.5s infinite !important;
}

@keyframes voice-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 75, 43, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 75, 43, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 75, 43, 0);
    }
}

.voice-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.voice-input-wrapper input,
.voice-input-wrapper select {
    padding-right: 50px !important;
}

.voice-input-btn {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.voice-input-btn:hover {
    color: var(--primary);
    background: rgba(45, 106, 79, 0.05);
}

.voice-input-btn.recording {
    color: #ff4b2b;
    animation: voice-pulse 1.5s infinite;
}

/* Specific adjustment for password fields since they have eye toggle */
.password-input-wrapper .voice-input-btn {
    right: 42px;
}

.password-input-wrapper .toggle-password {
    right: 12px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 101 !important;
    cursor: pointer !important;
}

/* Voice Confirmation Modal */
.voice-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.voice-modal.active {
    display: flex;
    opacity: 1;
}

.voice-modal-content {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.voice-modal.active .voice-modal-content {
    transform: translateY(0);
}

.voice-modal-header i::before {
    content: "\f130";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.voice-modal-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.voice-result-container {
    background: rgba(82, 183, 136, 0.08);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--primary);
}

#voice-result-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
}

.voice-modal-actions {
    display: flex;
    gap: 1rem;
}

.voice-modal-actions .btn {
    flex: 1;
    padding: 1rem;
}

/* --- Founder Dashboard Design --- */
.dashboard-body {
    display: flex;
    min-height: 100vh;
    background: #f8faf9;
    color: var(--text-main);
}

.dashboard-sidebar {
    width: 280px;
    background: var(--white);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 100;
}

.sidebar-header {
    margin-bottom: 3rem;
}

.sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.sidebar-nav li.active a,
.sidebar-nav li a:hover {
    background: rgba(82, 183, 136, 0.1);
    color: var(--primary);
}

.sidebar-footer {
    margin-top: auto;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #ff4d4d;
    font-weight: 700;
}

.dashboard-main {
    flex: 1;
    padding: 2rem 3rem;
    overflow-y: auto;
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.search-bar {
    position: relative;
    width: 300px;
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-bar input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    font-size: 0.9rem;
}

.topbar-icon {
    position: relative;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border: 2px solid var(--white);
    border-radius: 50%;
}

.user-profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    cursor: pointer;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-trend {
    font-size: 0.8rem;
    font-weight: 600;
}

.stat-trend.up {
    color: #52B788;
}

.dashboard-layout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
}

.project-card.large {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.project-image {
    height: 250px;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.growth-overlay {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(45, 106, 79, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 700;
    backdrop-filter: blur(5px);
}

.project-details {
    padding: 2rem;
}

.growth-bar-container {
    height: 12px;
    background: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.growth-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
}

.project-meta small {
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.project-meta p {
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.3rem;
}

.toolbox-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tool-item:hover {
    background: var(--white);
    transform: translateX(10px);
    border-color: var(--primary);
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: rgba(82, 183, 136, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.tool-text h4 {
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.tool-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Dashboard Dark Mode Support --- */
.theme-dark .dashboard-body {
    background: #0f0f0f;
}

.theme-dark .dashboard-sidebar {
    background: #121212;
    border-right: 1px solid #272727;
}

.theme-dark .stat-card,
.theme-dark .project-card.large,
.theme-dark .search-bar input {
    background: #181818;
    border: 1px solid #272727;
    color: #f1f1f1;
}

.theme-dark .sidebar-nav li a {
    color: #aaa;
}

.theme-dark .stat-info h3 {
    color: #aaa;
}

.theme-dark .tool-item {
    background: rgba(255, 255, 255, 0.03);
}

.theme-dark .tool-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 1200px) {
    .dashboard-sidebar {
        width: 80px;
        padding: 2rem 1rem;
    }

    .sidebar-nav span,
    .logo span,
    .sidebar-footer span {
        display: none;
    }

    .dashboard-main {
        padding: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-layout-grid {
        grid-template-columns: 1fr;
    }
}


/* --- Cinematic Blog Page Design --- */
.blog-hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, rgba(82, 183, 136, 0.05) 0%, rgba(114, 239, 221, 0.05) 100%);
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.blog-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin: 1.5rem 0;
    color: var(--primary);
}

.blog-section {
    padding: 6rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.editorial-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.editorial-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(45, 106, 79, 0.15);
    border-color: var(--primary);
}

.editorial-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    transition: all 0.5s ease;
}

.editorial-card:hover .editorial-img {
    filter: hue-rotate(45deg);
    font-size: 4.5rem;
}

.editorial-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.editorial-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(82, 183, 136, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.editorial-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-main);
}

.editorial-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
    flex: 1;
}

.editorial-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.editorial-card:hover .editorial-link {
    gap: 1.2rem;
}

/* --- Blog Dark Mode Support --- */
.theme-dark .blog-hero {
    background: #0a0a0a;
    border-bottom-color: #272727;
}

.theme-dark .editorial-card {
    background: #121212;
    border-color: #272727;
}

.theme-dark .editorial-card h3 {
    color: #f1f1f1;
}

.theme-dark .editorial-card p {
    color: #aaa;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero {
        padding: 8rem 0 4rem;
    }
}