@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #FFC107;
    --primary-light: #FFD54F;
    --primary-dark: #FFA000;
    --secondary: #10B981;
    --secondary-light: #34D399;
    --admin: #4F46E5;
    --admin-dark: #3730A3;
    --accent: #FFC107;
    --background: #F9FAFB;
    --surface: rgba(255, 255, 255, 0.8);
    --text-main: #0F172A;
    --text-muted: #64748B;
    --error: #EF4444;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 9999px;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(at 0% 0%, rgba(255, 193, 7, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(79, 70, 229, 0.05) 0px, transparent 50%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

/* --- Layout Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 120px 0;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

nav.scrolled {
    height: 75px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

nav .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -1px;
}

.logo-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.btn-download {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 800;
    box-shadow: 0 10px 20px -5px rgba(255, 193, 7, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 30px -10px rgba(255, 193, 7, 0.5);
}

/* --- Hero Section --- */
.hero {
    padding-top: 200px;
    padding-bottom: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 80px;
}

.hero-content h1 {
    font-size: 4.8rem;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--text-main);
    letter-spacing: -3px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 550px;
    line-height: 1.6;
}



.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.hero-mockup-img {
    max-width: 90%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 40px 80px -20px rgba(255, 152, 0, 0.3), 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border: 4px solid rgba(255, 255, 255, 0.6);
    transform: rotate(-2deg) translateY(10px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-mockup-img:hover {
    transform: rotate(0deg) translateY(0) scale(1.02);
    box-shadow: 0 50px 100px -20px rgba(255, 152, 0, 0.4), 0 30px 60px -15px rgba(0, 0, 0, 0.15);
}

/* --- Features Section --- */
.features {
    background: #fff;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 100px;
}

.section-title h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.3rem;
    max-width: 650px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.feature-card {
    background: var(--background);
    padding: 60px 40px;
    border-radius: 40px;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-20px);
    box-shadow: var(--shadow-lg);
    background: #fff;
    border-color: var(--primary-light);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: white;
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 32px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    margin-bottom: 20px;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* --- Tabs Preview Section --- */
.tabs-preview {
    background: #fff;
    position: relative;
    padding: 100px 0;
}

.tabs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.tab-card {
    background: var(--background);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tab-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: transparent;
    transition: background 0.3s ease;
}

.tab-card:hover {
    transform: translateY(-10px);
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 193, 7, 0.2);
}

.tab-card:hover::before {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.tab-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    margin-top: 10px;
}

.tab-icon {
    font-size: 2.2rem;
    color: var(--primary-dark);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.tab-card:hover .tab-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--primary);
    color: #000;
}

.tab-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.parent-badge {
    background: rgba(79, 70, 229, 0.1);
    color: #4F46E5;
}

.child-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.family-badge {
    background: rgba(255, 193, 7, 0.15);
    color: #D97706;
}

.profile-badge {
    background: rgba(100, 116, 139, 0.1);
    color: #64748B;
}

.tab-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-main);
}

.tab-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Roles Section --- */
.roles {
    padding-top: 60px;
}

.roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.role-box {
    padding: 80px 60px;
    border-radius: 48px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
}

.role-box.parents {
    background: linear-gradient(135deg, #4F46E5, #3730A3);
}

.role-box.kids {
    background: linear-gradient(135deg, #FFC107, #F59E0B);
    color: #0F172A;
}

.role-box h3 {
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.role-box ul li {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.role-box ul li i {
    font-size: 1.6rem;
    opacity: 0.9;
}

/* --- Footer --- */
footer {
    background: #020617;
    color: white;
    padding: 120px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 100px;
    margin-bottom: 100px;
}

.footer-logo {
    color: white;
    margin-bottom: 40px;
}

.footer-about p {
    color: #94A3B8;
    max-width: 380px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.footer-links h4 {
    margin-bottom: 40px;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
}

.footer-links a {
    display: block;
    color: #94A3B8;
    margin-bottom: 20px;
    font-size: 1.15rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 60px;
    text-align: center;
    color: #64748B;
    font-size: 1.1rem;
}

/* --- Privacy Page Specific --- */
.legal-page-main {
    padding-top: 180px;
    padding-bottom: 100px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 80px;
    border-radius: 40px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.legal-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

.legal-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-top: 60px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.legal-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.legal-content ul {
    list-style: none;
    margin-bottom: 32px;
}

.legal-content ul li {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
}

.legal-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-content h1 {
        font-size: 4rem;
        letter-spacing: -2px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    nav {
        height: 75px;
    }

    .nav-links {
        display: none;
    }

    .logo {
        font-size: 1.4rem;
        gap: 8px;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
    }

    .btn-download {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero {
        padding-top: 150px;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: -1.5px;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 32px;
    }

    .features-grid,
    .roles-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-title {
        margin-bottom: 60px;
    }

    .section-title h2 {
        font-size: 2.6rem;
        letter-spacing: -1px;
    }

    .section-title p {
        font-size: 1.15rem;
    }

    .tab-card {
        padding: 30px 24px;
    }

    .role-box {
        padding: 60px 30px;
    }

    .role-box h3 {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .role-box ul li {
        font-size: 1.15rem;
        gap: 16px;
    }

    .footer-grid {
        gap: 40px;
        margin-bottom: 60px;
    }

    .footer-logo {
        margin-bottom: 24px;
    }

    .footer-links h4 {
        margin-bottom: 20px;
    }

    /* Privacy / Legal Page */
    .legal-content {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .legal-content h1 {
        font-size: 2.4rem;
        margin-bottom: 30px;
        letter-spacing: -1px;
    }

    .legal-content h2 {
        font-size: 1.6rem;
        margin-top: 40px;
        margin-bottom: 16px;
    }

    .legal-content p,
    .legal-content ul li {
        font-size: 1.05rem;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .btn-download {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }

    .mockup-wrapper {
        width: 260px;
        height: 520px;
        border-radius: 40px;
        padding: 10px;
        border-width: 6px;
    }

    .mockup-screen {
        border-radius: 30px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .feature-card h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .feature-card p {
        font-size: 1rem;
    }

    .tabs-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }

    .tab-card {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .tab-header {
        gap: 12px;
        margin-bottom: 16px;
    }

    .tab-icon {
        width: 48px;
        height: 48px;
        font-size: 1.6rem;
        border-radius: 12px;
    }

    .tab-card h3 {
        font-size: 1.25rem;
    }

    .tab-card p {
        font-size: 0.95rem;
    }

    .role-box {
        padding: 40px 20px;
        border-radius: 24px;
    }

    .role-box h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .role-box ul li {
        font-size: 1rem;
        gap: 12px;
        margin-bottom: 16px;
    }

    .role-box ul li i {
        font-size: 1.3rem;
    }
}