/* Sajilodera Website Styles */

/* CSS Variables */
:root {
    /* App design tokens (Flutter theme.dart + colors.dart -> Website) */
    --primary: #1A5F2A;
    --primaryLight: #4CAF50;
    --primary-dark: #2E8B57; /* legacy alias used by existing selectors */
    --primary-light: var(--primaryLight); /* legacy alias used by existing selectors */

    --accent: #E65100;
    --accentLight: #FF6D00;

    --background: #FFFFFF;
    --surface: #FFFFFF;
    --surfaceVariant: #F8F9FA;

    --textPrimary: #212121;
    --textSecondary: #757575;
    --textHint: #BDBDBD;
    --textOnPrimary: #FFFFFF;

    --border: #E0E0E0;
    --divider: #EEEEEE;

    --success: #4CAF50;
    --error: #E53935;
    --warning: #FFA726;
    --info: #29B6F6;

    --primarySurface: #E8F5E9;
    --primary-gradient: linear-gradient(135deg, #1A5F2A 0%, #2E8B57 50%, #48BB78 100%);

    /* Secondary/legacy aliases used by current CSS */
    --secondary: var(--primaryLight);
    --dark: #1f2937;
    --white: #ffffff;
    --danger: var(--error);

    /* Radii */
    --radius: 12px; /* buttons/inputs */
    --radius-lg: 16px; /* cards/panels */
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.10), 0 10px 10px -5px rgba(0,0,0,0.04);

    /* Map existing gray tokens -> app tokens */
    --gray-900: var(--textPrimary);
    --gray-800: var(--textPrimary);
    --gray-700: var(--textSecondary);
    --gray-600: var(--textSecondary);
    --gray-500: var(--textHint);
    --gray-400: var(--textHint);
    --gray-300: var(--border);
    --gray-200: var(--divider);
    --gray-100: var(--surfaceVariant);
    --gray-50: var(--background);
}

/* Dark mode overrides (system theme + optional manual data-theme) */
[data-theme="dark"] {
    /* Intentionally keep the website light-only (no black surfaces). */
    --background: #FFFFFF;
    --surface: #FFFFFF;
    --surfaceVariant: #F8F9FA;

    --textPrimary: #212121;
    --textSecondary: #757575;
    --textHint: #BDBDBD;

    --border: #E0E0E0;
    --divider: #EEEEEE;

    --primary: #1A5F2A;
    --primaryLight: #4CAF50;
    --primary-dark: #2E8B57;
    --primary-light: var(--primaryLight);

    --primarySurface: #E8F5E9;
    --error: #E53935;
    --danger: var(--error);

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.10), 0 10px 10px -5px rgba(0,0,0,0.04);

    /* Map legacy gray tokens -> light */
    --gray-900: var(--textPrimary);
    --gray-800: var(--textPrimary);
    --gray-700: var(--textSecondary);
    --gray-600: var(--textSecondary);
    --gray-500: var(--textHint);
    --gray-400: var(--textHint);
    --gray-300: var(--border);
    --gray-200: var(--divider);
    --gray-100: var(--surfaceVariant);
    --gray-50: var(--background);
}

@media (prefers-color-scheme: dark) {
    :root {
        /* Intentionally keep the website light-only (no black backgrounds). */
        --background: #FFFFFF;
        --surface: #FFFFFF;
        --surfaceVariant: #F8F9FA;

        --textPrimary: #212121;
        --textSecondary: #757575;
        --textHint: #BDBDBD;

        --border: #E0E0E0;
        --divider: #EEEEEE;

        --primary: #1A5F2A;
        --primaryLight: #4CAF50;
        --primary-dark: #2E8B57;
        --primary-light: var(--primaryLight);

        --primarySurface: #E8F5E9;
        --error: #E53935;
        --danger: var(--error);

        --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
        --shadow: 0 2px 10px rgba(0,0,0,0.08);
        --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
        --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
        --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.10), 0 10px 10px -5px rgba(0,0,0,0.04);

        /* Map legacy gray tokens -> light */
        --gray-900: var(--textPrimary);
        --gray-800: var(--textPrimary);
        --gray-700: var(--textSecondary);
        --gray-600: var(--textSecondary);
        --gray-500: var(--textHint);
        --gray-400: var(--textHint);
        --gray-300: var(--border);
        --gray-200: var(--divider);
        --gray-100: var(--surfaceVariant);
        --gray-50: var(--background);
    }
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--textSecondary);
    background-color: var(--background);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
    color: var(--textPrimary);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.text-accent {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
    text-decoration: none;
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--primary);
    color: var(--textOnPrimary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    filter: brightness(1.03);
}

.btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
    background: var(--border);
    color: var(--textSecondary);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    color: var(--primary);
    background: rgba(26, 95, 42, 0.06);
}

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

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

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--white);
}

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

.btn-lg {
    padding: 14px 24px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 12px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* Secondary / text variants (for parity with the app theme) */
.btn-secondary {
    background: var(--primarySurface);
    color: var(--primary);
    box-shadow: none;
    border: 1px solid rgba(26, 95, 42, 0.10);
}

.btn-secondary:hover {
    background: var(--primarySurface);
    filter: brightness(1.02);
}

.btn-accent {
    background: var(--accent);
    color: var(--textOnPrimary);
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
    filter: brightness(1.03);
}

.btn-text {
    background: transparent;
    color: var(--primary);
    box-shadow: none;
    padding: 10px 12px;
    font-size: 14px;
    border: 0;
}

.btn-text:hover {
    background: rgba(26, 95, 42, 0.06);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 16px 0;
}

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--textPrimary);
}

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

.logo-image {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    background: transparent;
    border: none;
    object-fit: contain;
    display: block;
}

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

.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* Ensure navbar primary button text stays white */
.nav-links .btn-primary {
    color: var(--textOnPrimary);
}

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

.nav-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius);
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

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

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--surfaceVariant);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.phone-mockup.large {
    width: 320px;
    height: 640px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.app-preview {
    height: 100%;
}

.app-header {
    background: var(--primary);
    color: var(--white);
    padding: 20px;
    font-weight: 600;
    font-size: 1.2rem;
}

.app-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-card {
    height: 120px;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.preview-card.small {
    height: 60px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.1rem;
}

/* Services Section */
.services {
    background: var(--surface);
}

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

.service-card {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    stroke: var(--white);
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.service-features {
    margin-top: 16px;
}

.service-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

/* How It Works */
.how-it-works {
    background: var(--gray-50);
}

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

.step {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.step p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    background: var(--primary-gradient);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    margin-bottom: 32px;
    opacity: 0.9;
}

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

/* Testimonials */
.testimonials {
    background: var(--surface);
}

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

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info strong {
    display: block;
    color: var(--textPrimary);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--background) 0%, var(--surface) 100%);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    color: var(--gray-600);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Page */
.about-content {
    padding: 60px 0;
}

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

.about-text h2 {
    margin-bottom: 24px;
}

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

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

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder svg {
    stroke: var(--gray-400);
}

/* About App Features Graphic */
.about-features-graphic {
    padding: 60px 0;
    background: var(--surfaceVariant);
}

.about-features-card {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 40px 24px;
    text-align: center;
}

.about-features-card h2 {
    margin-bottom: 12px;
}

.about-features-card p {
    margin-bottom: 24px;
    color: var(--textSecondary);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.about-features-image {
    width: 100%;
    max-width: 980px;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
    margin: 0 auto;
}

/* Mission & Vision */
.mission-vision {
    background: var(--gray-50);
}

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

.mv-card {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--divider);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.mv-icon svg {
    stroke: var(--white);
}

.mv-card h3 {
    margin-bottom: 16px;
}

.mv-card p {
    color: var(--gray-600);
}

/* Values */
.values {
    background: var(--surface);
}

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

.value-card {
    text-align: center;
    padding: 24px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--divider);
    box-shadow: var(--shadow);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.value-icon svg {
    stroke: var(--primary);
}

.value-card h4 {
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Team Section */
.team {
    background: var(--gray-50);
}

.team-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

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

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 32px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

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

.contact-icon svg {
    stroke: var(--white);
}

.contact-details h4 {
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--gray-600);
    margin: 0;
}

.contact-details a {
    color: var(--gray-600);
}

.contact-details a:hover {
    color: var(--primary);
}

.social-section h4 {
    margin-bottom: 16px;
}

.social-links-large {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gray-100);
    border-radius: var(--radius);
    color: var(--gray-700);
    font-weight: 500;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

.social-link:hover svg {
    fill: var(--white);
    stroke: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
    margin-bottom: 24px;
}

.contact-messages {
    margin-bottom: 16px;
}

.contact-message {
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.contact-message-success {
    background: var(--primarySurface);
    color: var(--primary);
    border: 1px solid rgba(26, 95, 42, 0.15);
}

.contact-message-error {
    background: rgba(229, 57, 53, 0.06);
    color: var(--error);
    border: 1px solid rgba(229, 57, 53, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--textHint);
}

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

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* FAQ Section */
.faq-section {
    background: var(--gray-50);
}

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

.faq-item {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--divider);
    box-shadow: var(--shadow);
}

.faq-item h4 {
    margin-bottom: 12px;
    color: var(--textPrimary);
}

.faq-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Download Page */
.download-hero {
    padding: 140px 0 80px;
    background: var(--primary-gradient);
    color: var(--white);
}

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

.download-content h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.download-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--surface);
    color: var(--textPrimary);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.store-button:hover {
    background: var(--surfaceVariant);
    color: var(--textPrimary);
    filter: brightness(1.03);
    transform: translateY(-2px);
}

.store-button:hover svg {
    color: var(--textPrimary);
}

.store-text {
    display: flex;
    flex-direction: column;
}

.store-text .small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.store-text .large {
    font-size: 1.1rem;
    font-weight: 600;
}

.qr-section {
    text-align: center;
}

.qr-code {
    display: inline-block;
}

.qr-placeholder {
    width: 140px;
    height: 140px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.qr-placeholder svg {
    stroke: var(--gray-400);
}

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

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

/* App Features */
.app-features {
    background: var(--surface);
}

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

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    stroke: var(--primary);
}

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

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* User Types */
.user-types {
    background: var(--gray-50);
}

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

.user-type-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--divider);
    box-shadow: var(--shadow);
}

.user-type-card.highlight {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.user-type-card.highlight h3 {
    color: var(--white);
}

.user-type-card h3 {
    margin-bottom: 20px;
}

.user-type-card ul {
    margin-bottom: 20px;
}

.user-type-card li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.user-type-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.user-type-card.highlight li::before {
    color: var(--white);
}

/* Download CTA */
.download-cta {
    background: var(--surface);
}

.cta-box {
    background: var(--surface);
    color: var(--textPrimary);
    padding: 60px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.cta-box h2 {
    color: var(--textPrimary);
    margin-bottom: 16px;
}

.cta-box p {
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-box .download-buttons {
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--surface);
    color: var(--textSecondary);
    padding: 60px 0 30px;
}

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

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    margin-top: 16px;
    color: var(--gray-400);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--surfaceVariant);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--textSecondary);
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--textPrimary);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
}

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

.footer-bottom {
    border-top: 1px solid var(--divider);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-legal a {
    color: var(--gray-400);
}

.footer-legal a:hover {
    color: var(--primary);
}

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

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

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

    .hero-image {
        order: -1;
    }

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

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

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

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

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

    .download-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-buttons {
        justify-content: center;
    }

    .download-image {
        order: -1;
    }

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

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

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

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

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        display: none;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

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

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

    .cta-buttons {
        flex-direction: column;
    }

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

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

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

    .user-types-grid {
        grid-template-columns: 1fr;
    }

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

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

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .phone-mockup.large {
        width: 260px;
        height: 520px;
    }

    .about-features-card {
        padding: 24px 16px;
    }

    .about-features-image {
        border-radius: var(--radius);
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .cta-box {
        padding: 40px 24px;
    }

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

    .store-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
