/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #268ACA;
    --blue-dark: #1a6fa3;
    --blue-light: #E8F4FD;
    --green: #45BB8B;
    --green-dark: #359e73;
    --green-light: #E8F8F0;
    --gold: #F6C035;
    --gold-light: #FEF6E5;
    --pink: #E8567F;
    --pink-light: #FDE8EE;
    --purple: #8B5CF6;
    --cyan: #06B6D4;

    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --bg-white: #ffffff;
    --bg-light: #f7f9fc;
    --bg-lighter: #f0f4f8;
    --border: #e2e8f0;

    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 40px -10px rgba(0,0,0,0.1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(38,138,202,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}
.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-1px);
}

.btn-white {
    background: #fff;
    color: var(--blue);
    border-color: #fff;
}
.btn-white:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.25);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-highlight {
    color: var(--blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.nav-cta-mobile {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--blue);
    top: -200px;
    right: -200px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--green);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--gold);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    margin-left: -8px;
    border: 2px solid #fff;
}
.trust-avatar:first-child { margin-left: 0; }

.trust-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.trust-text strong {
    color: var(--text-primary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-card {
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-xl);
}

.hero-card-main {
    width: 100%;
    max-width: 440px;
    overflow: hidden;
}

.card-header-visual {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.card-dots {
    display: flex;
    gap: 6px;
}
.card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.card-title-visual {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.dashboard-preview {
    padding: 20px;
}

.dash-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}
.dash-stat + .dash-stat {
    border-top: 1px solid var(--border);
}

.dash-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-stat-value {
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.dash-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.chart-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    opacity: 0.85;
    transition: opacity 0.3s;
}
.chart-bar:hover {
    opacity: 1;
}

/* Floating cards */
.hero-card-float {
    position: absolute;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
    font-size: 0.85rem;
}

.hero-card-notification {
    top: 20px;
    left: -40px;
    animation-delay: 0s;
}
.hero-card-notification strong {
    display: block;
    font-size: 0.85rem;
}
.notif-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-attendance {
    bottom: 40px;
    right: -20px;
    animation-delay: 1.5s;
    font-weight: 600;
    color: var(--green-dark);
}
.attendance-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== VALUE PROPS ===== */
.value-props {
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

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

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-item h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-tag-light {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.feature-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

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

/* ===== SOLUTIONS ===== */
.solutions {
    padding: 100px 0;
    background: var(--bg-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.solution-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.solution-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.solution-card-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
}

.solution-card-large .solution-card-icon {
    grid-row: 1 / 3;
}

.solution-card-large .solution-features {
    grid-column: 1 / -1;
    columns: 2;
    column-gap: 24px;
}

.solution-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.solution-card p {
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.solution-features {
    list-style: none;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 4px 0;
}

/* ===== STATS ===== */
.stats {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a365d 0%, #268ACA 50%, #2d8abf 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.stats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-text h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.stats-text p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    line-height: 1.7;
}

.text-white {
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: inline;
    opacity: 0.8;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* ===== APP PREVIEW ===== */
.app-preview {
    padding: 100px 0;
    background: var(--bg-white);
}

.app-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl), 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    border-radius: 26px;
    overflow: hidden;
    padding: 40px 16px 16px;
}

.app-header-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.app-child-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.app-child-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.app-child-card strong {
    display: block;
    font-size: 0.8rem;
}

.app-child-class {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.app-child-status {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 50px;
    flex-shrink: 0;
}

.app-child-status.active {
    background: var(--green-light);
    color: var(--green-dark);
}

.app-section-title {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 16px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-activity {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
}

.app-activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.app-activity strong {
    display: block;
    font-size: 0.8rem;
}

.app-activity span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.app-preview-text h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.app-preview-text > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.app-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.app-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.925rem;
}

.app-feature-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-store-buttons {
    display: flex;
    gap: 12px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--text-primary);
    color: #fff;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}
.store-btn:hover {
    background: #333;
    transform: translateY(-1px);
}
.store-btn small {
    display: block;
    font-size: 0.65rem;
    opacity: 0.8;
}
.store-btn strong {
    display: block;
    font-size: 0.9rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.about-text > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-highlights {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-highlight {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-highlight-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.about-highlight strong {
    display: block;
    margin-bottom: 4px;
}

.about-highlight p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.about-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-mini-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-mini-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.mini-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.about-mini-card strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.about-mini-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a365d 0%, #268ACA 50%, #45BB8B 100%);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.cta-note {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ===== FOOTER ===== */
.footer {
    padding: 64px 0 0;
    background: var(--text-primary);
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 16px 0 20px;
    max-width: 280px;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--blue);
    color: #fff;
}

.footer-links h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-weight: 700;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8rem;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    color: rgba(255,255,255,0.5);
}
.footer-legal-links a:hover {
    color: #fff;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .stats-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .app-preview-content {
        grid-template-columns: 1fr;
    }

    .app-preview-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta-mobile {
        display: block;
    }

    .nav-actions .btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-visual {
        display: none;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-header h2 {
        font-size: 1.85rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-card-large {
        grid-template-columns: 1fr;
    }

    .solution-card-large .solution-features {
        columns: 1;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .app-preview-content {
        gap: 40px;
    }

    .app-store-buttons {
        flex-direction: column;
    }

    .cta h2 {
        font-size: 1.85rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.85rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .about-card-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SKIP LINK (Accessibility) ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--blue);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 8px;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.2s ease;
}
.lang-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 100;
    overflow: hidden;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.15s ease;
    text-align: left;
}
.lang-option:hover {
    background: var(--bg-light);
    color: var(--text-primary);
}
.lang-option.active {
    background: var(--blue-light);
    color: var(--blue);
    font-weight: 600;
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 20px;
    background: var(--bg-lighter);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}
.lang-option.active .lang-flag {
    background: var(--blue);
    color: #fff;
}

/* ===== RTL SUPPORT ===== */
html[dir="rtl"] {
    --font-heading: 'Noto Sans Arabic', 'Sora', sans-serif;
    --font-body: 'Noto Sans Arabic', 'Inter', sans-serif;
}

html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] .hero-card-notification {
    left: auto;
    right: -40px;
}

html[dir="rtl"] .hero-card-attendance {
    right: auto;
    left: -20px;
}

html[dir="rtl"] .trust-avatar {
    margin-left: 0;
    margin-right: -8px;
}
html[dir="rtl"] .trust-avatar:first-child {
    margin-right: 0;
}

html[dir="rtl"] .app-child-status {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

html[dir="rtl"] .lang-option {
    text-align: right;
}

html[dir="rtl"] .btn svg {
    transform: scaleX(-1);
}

html[dir="rtl"] .solution-card-large {
    grid-template-columns: 1fr auto;
}

html[dir="rtl"] .solution-card-large .solution-card-icon {
    grid-column: 2;
    grid-row: 1 / 3;
}

html[dir="rtl"] .footer-brand p {
    max-width: 320px;
}

html[dir="rtl"] .section-header {
    text-align: center;
}

html[dir="rtl"] .testimonial-card blockquote {
    font-style: normal;
}

/* RTL responsive */
@media (max-width: 768px) {
    html[dir="rtl"] .nav-actions .lang-switcher {
        order: -1;
    }
}
