/* ===================================
   Mani Me Website - Modern Tech Styles
   =================================== */

:root {
    /* Brand Colors */
    --primary: #0B1A33;
    --primary-light: #152847;
    --primary-dark: #060d1a;
    --secondary: #83C5FA;
    --secondary-light: #a8d7fc;
    --secondary-dark: #5eb3f8;
    --accent: #FFFFFF;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #83C5FA 0%, #5eb3f8 50%, #3da1f5 100%);
    --gradient-dark: linear-gradient(135deg, #0B1A33 0%, #152847 50%, #1e3a5f 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Neutral Colors */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 96px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(131, 197, 250, 0.3);
    --shadow-glow-strong: 0 0 80px rgba(131, 197, 250, 0.4);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--accent);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.section-tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(131, 197, 250, 0.15);
    color: var(--secondary-dark);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.5px;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--secondary);
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-title.light {
    color: var(--accent);
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle.light {
    color: var(--gray-300);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(131, 197, 250, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(131, 197, 250, 0.5);
    color: var(--primary);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--primary);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--accent);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: 1.0625rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--spacing-2xl);
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-600);
    padding: var(--spacing-sm) 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: var(--spacing-md);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 var(--spacing-4xl);
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--accent) 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(131, 197, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(131, 197, 250, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--accent);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: var(--spacing-xs);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Phone Mockup */
.hero-phone {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(131, 197, 250, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.phone-frame {
    position: relative;
    width: 280px;
    background: var(--primary);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    z-index: 1;
}

.phone-frame.small {
    width: 260px;
}

.phone-notch {
    width: 100px;
    height: 28px;
    background: var(--primary-dark);
    border-radius: 0 0 20px 20px;
    margin: 0 auto 10px;
}

.phone-screen {
    background: var(--primary-light);
    border-radius: 28px;
    padding: var(--spacing-lg);
    min-height: 480px;
}

.phone-frame.small .phone-screen {
    min-height: 400px;
}

/* App UI Inside Phone */
.app-header {
    margin-bottom: var(--spacing-xl);
}

.app-greeting {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: var(--spacing-xs);
}

.app-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--accent);
}

.app-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    transition: background 0.3s ease;
}

.app-card:hover {
    background: rgba(255, 255, 255, 0.12);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(131, 197, 250, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2px;
}

.card-desc {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

/* Trusted Section */
.trusted-section {
    padding: var(--spacing-2xl) 0;
    background: var(--accent);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.trusted-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.trusted-text {
    color: var(--gray-500);
    font-size: 0.9375rem;
    text-align: center;
}

.trusted-badges {
    display: flex;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
    justify-content: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9375rem;
}

.trust-badge svg {
    color: var(--secondary);
}

/* Features Section */
.features {
    padding: var(--spacing-4xl) 0;
    background: var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.feature-card {
    position: relative;
    padding: var(--spacing-xl);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(131, 197, 250, 0.2);
}

.feature-card.featured {
    background: var(--primary);
}

.feature-card.featured h3,
.feature-card.featured p {
    color: var(--accent);
}

.feature-card.featured .feature-icon-wrapper {
    background: rgba(131, 197, 250, 0.2);
}

.feature-card.featured .feature-icon-wrapper svg {
    stroke: var(--secondary);
}

.feature-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--secondary);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(131, 197, 250, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.feature-icon-wrapper svg {
    stroke: var(--primary);
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: var(--spacing-4xl) 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(131, 197, 250, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    position: relative;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    max-width: 280px;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: var(--spacing-md);
    opacity: 0.8;
}

.step-content h3 {
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.step-content p {
    color: var(--gray-400);
    font-size: 0.9375rem;
}

.step-icon {
    margin-top: var(--spacing-lg);
    opacity: 0.5;
}

.step-icon svg {
    stroke: var(--secondary);
}

.step-connector {
    opacity: 0.5;
}

/* Download Section */
.download {
    padding: var(--spacing-4xl) 0;
    background: var(--gray-50);
}

.download-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.download-content h2 {
    margin-bottom: var(--spacing-md);
    font-size: 2.5rem;
}

.download-content > p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.app-features {
    margin-bottom: var(--spacing-xl);
}

.app-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    color: var(--gray-700);
    font-weight: 500;
}

.app-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--primary);
    color: var(--accent);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.store-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--accent);
}

.store-btn svg {
    width: 28px;
    height: 28px;
}

.store-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 0.6875rem;
    opacity: 0.8;
}

.store-name {
    font-size: 1.125rem;
    font-weight: 700;
}

/* Download Visual */
.download-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.download-phone {
    position: relative;
    z-index: 1;
}

/* Tracking Demo in Phone */
.tracking-demo {
    padding: var(--spacing-md);
}

.tracking-header {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
}

.tracking-id {
    font-size: 0.8125rem;
    color: var(--secondary);
    font-family: monospace;
    margin-bottom: var(--spacing-xl);
}

.tracking-progress {
    position: relative;
}

.progress-line {
    position: absolute;
    left: 7px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.progress-fill {
    width: 100%;
    height: 60%;
    background: var(--secondary);
    border-radius: 2px;
}

.progress-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.progress-step {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.step-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.progress-step.done .step-dot {
    background: var(--success);
    border-color: var(--success);
}

.progress-step.active .step-dot {
    background: var(--secondary);
    border-color: var(--secondary);
    animation: pulseStep 1.5s infinite;
}

@keyframes pulseStep {
    0%, 100% { box-shadow: 0 0 0 0 rgba(131, 197, 250, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(131, 197, 250, 0); }
}

.progress-step span {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.progress-step.done span,
.progress-step.active span {
    color: var(--accent);
    font-weight: 500;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    z-index: 2;
}

.floating-card.card-1 {
    top: 20%;
    left: -30px;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-2 {
    bottom: 25%;
    right: -30px;
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Contact Section */
.contact-preview {
    padding: var(--spacing-4xl) 0;
    background: var(--accent);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-xl);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(131, 197, 250, 0.3);
}

.contact-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.contact-icon-wrapper svg {
    color: var(--primary);
}

.contact-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.contact-card p {
    color: var(--gray-600);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--gray-300);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: var(--accent);
    margin-bottom: var(--spacing-md);
}

.footer-brand .logo-text {
    background: none;
    -webkit-text-fill-color: var(--accent);
}

.footer-brand > p {
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.social-links a svg {
    fill: var(--accent);
    transition: fill 0.3s ease;
}

.social-links a:hover svg {
    fill: var(--primary);
}

.footer-links h4 {
    color: var(--accent);
    margin-bottom: var(--spacing-lg);
    font-size: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: var(--spacing-sm);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Legal Pages Styles */
.legal-page {
    padding: 140px 0 var(--spacing-3xl);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: var(--spacing-md);
}

.last-updated {
    color: var(--gray-500);
    margin-bottom: var(--spacing-2xl);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.legal-content p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-600);
}

.legal-content ul, .legal-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-xl);
}

.legal-content li {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-600);
}

.legal-content ul li {
    list-style-type: disc;
}

.legal-content ol li {
    list-style-type: decimal;
}

.contact-box {
    background-color: var(--gray-50);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-2xl);
}

.contact-box h3 {
    margin-bottom: var(--spacing-md);
}

.contact-box p {
    margin-bottom: var(--spacing-sm);
}

/* Page Header Styles (About, Services, Contact) */
.page-hero {
    padding: 160px 0 var(--spacing-3xl);
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--accent) 100%);
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(131, 197, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
}

.page-hero h1 {
    margin-bottom: var(--spacing-md);
}

.page-hero p {
    color: var(--gray-600);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    padding: var(--spacing-3xl) 0;
}

.content-section.alt {
    background: var(--gray-50);
}

.content-section.dark {
    background: var(--gradient-dark);
}

.content-section.dark h2,
.content-section.dark h3 {
    color: var(--accent);
}

.content-section.dark p {
    color: var(--gray-300);
}

/* Value Cards */
.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: var(--accent);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.value-card .icon {
    width: 64px;
    height: 64px;
    background: rgba(131, 197, 250, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: 2rem;
}

.value-card h3 {
    margin-bottom: var(--spacing-sm);
}

.value-card p {
    color: var(--gray-500);
}

/* Stat Cards for About page */
.stats-row {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
    flex-wrap: wrap;
    padding: var(--spacing-2xl) 0;
}

.stat-block {
    text-align: center;
}

.stat-block .number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-block .label {
    color: var(--gray-500);
    font-size: 1rem;
    margin-top: var(--spacing-sm);
}

/* Service Cards */
.service-card {
    background: var(--accent);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-card-header {
    padding: var(--spacing-xl);
    text-align: center;
}

.service-card-header.green { background: var(--success); }
.service-card-header.blue { background: var(--secondary); }
.service-card-header.purple { background: #8B5CF6; }

.service-card-header .icon {
    font-size: 3rem;
}

.service-card-body {
    padding: var(--spacing-xl);
}

.service-card h3 {
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.service-card ul {
    margin-bottom: var(--spacing-lg);
}

.service-card li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    color: var(--gray-600);
}

.service-card li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

/* Contact Form */
.contact-form {
    background: var(--accent);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(131, 197, 250, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* FAQ Section */
.faq-section {
    background: var(--gray-50);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
}

.faq-item {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

.faq-item p {
    color: var(--gray-600);
    margin: 0;
}

/* Department Contacts */
.dept-contacts {
    background: var(--primary);
    color: var(--accent);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
}

.dept-contacts h2 {
    color: var(--accent);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.dept-item h4 {
    color: var(--secondary);
    margin-bottom: var(--spacing-sm);
}

.dept-item a {
    color: var(--accent);
}

.dept-item a:hover {
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container,
    .download-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-phone {
        margin-top: var(--spacing-2xl);
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .features-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-connector {
        transform: rotate(90deg);
    }
    
    .download-visual {
        margin-top: var(--spacing-2xl);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-2xl);
    }
}

@media (max-width: 768px) {
    .navbar .container {
        height: 70px;
    }
    
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 var(--spacing-3xl);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-lg);
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .features-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        max-width: 100%;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .store-btn {
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand > p {
        max-width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .phone-frame {
        width: 240px;
    }
    
    .phone-frame.small {
        width: 220px;
    }
    
    .phone-screen {
        padding: var(--spacing-md);
        min-height: 400px;
    }
    
    .trusted-badges {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}
