/* ==========================================
   StudentConnect Website Styles
   Nord Theme
   ========================================== */

/* CSS Variables - Nord Color Palette */
:root {
    /* Nord Polar Night (Dark) */
    --nord0: #2E3440;
    --nord1: #3B4252;
    --nord2: #434C5E;
    --nord3: #4C566A;
    
    /* Nord Snow Storm (Light) */
    --nord4: #D8DEE9;
    --nord5: #E5E9F0;
    --nord6: #ECEFF4;
    
    /* Nord Frost (Blues/Cyans) */
    --nord7: #8FBCBB;
    --nord8: #88C0D0;
    --nord9: #81A1C1;
    --nord10: #5E81AC;
    
    /* Nord Aurora (Accent Colors) */
    --nord11: #BF616A; /* Red */
    --nord12: #D08770; /* Orange */
    --nord13: #EBCB8B; /* Yellow */
    --nord14: #A3BE8C; /* Green */
    --nord15: #B48EAD; /* Purple */
    
    /* Semantic Colors */
    --primary: #5E81AC;
    --primary-dark: #4C6B8A;
    --primary-light: #81A1C1;
    --secondary: #88C0D0;
    --success: #A3BE8C;
    --warning: #EBCB8B;
    --error: #BF616A;
    --info: #81A1C1;
    
    /* Text Colors - High Contrast */
    --text-primary: #2E3440;
    --text-secondary: #4C566A;
    --text-muted: #5E6978;
    --text-light: #6D7A8A;
    --text-on-dark: #ECEFF4;
    --text-on-primary: #FFFFFF;
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #ECEFF4;
    --bg-tertiary: #E5E9F0;
    --bg-dark: #2E3440;
    --bg-card: #FFFFFF;
    
    /* Border Colors */
    --border-light: #D8DEE9;
    --border-medium: #C9D1DC;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #5E81AC 0%, #88C0D0 100%);
    --gradient-secondary: linear-gradient(135deg, #A3BE8C 0%, #8FBCBB 100%);
    --gradient-hero: linear-gradient(135deg, #ECEFF4 0%, #E5E9F0 50%, #D8DEE9 100%);
    --gradient-dark: linear-gradient(135deg, #2E3440 0%, #3B4252 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(46, 52, 64, 0.05);
    --shadow: 0 1px 3px 0 rgba(46, 52, 64, 0.1), 0 1px 2px 0 rgba(46, 52, 64, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(46, 52, 64, 0.1), 0 2px 4px -1px rgba(46, 52, 64, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(46, 52, 64, 0.1), 0 4px 6px -2px rgba(46, 52, 64, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(46, 52, 64, 0.1), 0 10px 10px -5px rgba(46, 52, 64, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(46, 52, 64, 0.25);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-blue { color: var(--primary); }
.text-green { color: var(--success); }
.text-purple { color: var(--nord15); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-on-primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-light);
}

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--border-medium);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* Section Styles */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(94, 129, 172, 0.1);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 16px;
}

/* ==========================================
   Navigation - Fixed Alignment
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    border-bottom-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(94, 129, 172, 0.08);
}

.nav-links a.active {
    color: var(--primary);
    background: rgba(94, 129, 172, 0.1);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-buttons .btn {
    padding: 10px 20px;
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(94, 129, 172, 0.15);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--text-primary);
}

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

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

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    background: var(--nord0);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-2xl);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: var(--nord1);
    border-radius: 12px;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-card .card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 18px;
}

.floating-card .card-icon.green { background: rgba(163, 190, 140, 0.2); }
.floating-card .card-icon.blue { background: rgba(94, 129, 172, 0.15); }
.floating-card .card-icon.orange { background: rgba(235, 203, 139, 0.2); }

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

.card-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.card-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
}

.card-1 {
    top: 60px;
    left: -60px;
    animation-delay: 0s;
}

.card-2 {
    top: 200px;
    right: -80px;
    animation-delay: 2s;
}


.card-3 {
    bottom: 100px;
    left: -40px;
    animation-delay: 4s;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
}

/* ==========================================
   Logos Section
   ========================================== */
.logos-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.logos-title {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.logo-item {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ==========================================
   Features Section
   ========================================== */
.features {
    background: var(--bg-primary);
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

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

.feature-icon.blue { background: rgba(94, 129, 172, 0.15); color: var(--primary); }
.feature-icon.green { background: rgba(163, 190, 140, 0.2); color: var(--success); }
.feature-icon.purple { background: rgba(180, 142, 173, 0.2); color: var(--nord15); }
.feature-icon.orange { background: rgba(208, 135, 112, 0.2); color: var(--nord12); }
.feature-icon.red { background: rgba(191, 97, 106, 0.15); color: var(--error); }
.feature-icon.teal { background: rgba(136, 192, 208, 0.2); color: var(--secondary); }

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* ==========================================
   Apps Section
   ========================================== */
.apps {
    background: var(--bg-secondary);
}

.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.app-showcase:last-child {
    margin-bottom: 0;
}

.app-showcase.reverse {
    direction: rtl;
}

.app-showcase.reverse > * {
    direction: ltr;
}

.app-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.app-badge.parent {
    background: rgba(94, 129, 172, 0.15);
    color: var(--primary);
}

.app-badge.teacher {
    background: rgba(163, 190, 140, 0.2);
    color: #6B8E4E; /* Darker green for contrast */
}

.app-badge.admin {
    background: rgba(136, 192, 208, 0.2);
    color: #4A8A9E; /* Darker teal for contrast */
}

.app-content h3 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.app-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.app-features {
    margin-bottom: 32px;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-primary);
}

.app-download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--nord0);
    color: var(--text-on-dark);
    border-radius: var(--radius);
    transition: var(--transition);
}

.store-btn:hover {
    background: var(--nord1);
    transform: translateY(-2px);
}

.store-btn img {
    height: 28px;
    width: auto;
}

.store-btn div {
    display: flex;
    flex-direction: column;
}

.store-btn span {
    font-size: 11px;
    opacity: 0.9;
}

.store-btn strong {
    font-size: 16px;
}

.store-btn.small {
    padding: 10px 16px;
}

.store-btn.small img {
    height: 24px;
}

/* App Screens */
.app-screens {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-frame {
    position: relative;
    width: 260px;
    height: 540px;
    background: var(--nord0);
    border-radius: 36px;
    padding: 10px;
    box-shadow: var(--shadow-2xl);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 20px;
    background: var(--nord1);
    border-radius: 10px;
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 26px;
}

.phone-back {
    position: absolute;
    right: 0;
    top: 40px;
    transform: rotate(8deg);
    z-index: -1;
    opacity: 0.8;
}

/* Browser Frame */
.app-screens.browser {
    justify-content: flex-end;
}

.browser-frame {
    width: 100%;
    max-width: 600px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: var(--nord11); }
.browser-dots span:nth-child(2) { background: var(--nord13); }
.browser-dots span:nth-child(3) { background: var(--nord14); }

.browser-address {
    flex: 1;
    padding: 8px 16px;
    background: var(--bg-primary);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-secondary);
}

.browser-content {
    width: 100%;
}

/* ==========================================
   How It Works
   ========================================== */
.how-it-works {
    background: var(--bg-primary);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 30px;
}

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

.step-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
}

.step-connector {
    width: 100px;
    height: 2px;
    background: var(--border-light);
    margin-top: 30px;
    flex-shrink: 0;
}

/* ==========================================
   Testimonials
   ========================================== */
.testimonials {
    background: #ECEFF4;
}

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

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

.testimonial-rating {
    color: #EBCB8B;
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    color: #4C566A;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5E81AC 0%, #81A1C1 100%);
    color: var(--white);
    font-weight: 600;
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 15px;
    color: #2E3440;
}

.author-info span {
    font-size: 13px;
    color: #4C566A;
}

/* ==========================================
   Pricing
   ========================================== */
.pricing {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-grid.single {
    grid-template-columns: 1fr;
    max-width: 450px;
}

.pricing-card {
    position: relative;
    padding: 40px 32px;
    background: var(--white);
    border: 2px solid #E5E9F0;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: #D8DEE9;
    box-shadow: var(--shadow-lg);
}

.pricing-grid.single .pricing-card.popular {
    transform: none;
}

.pricing-card.popular {
    border-color: #5E81AC;
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: #5E81AC;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 4px;
    color: #2E3440;
}

.pricing-header p {
    color: #4C566A;
    font-size: 14px;
}

.pricing-price {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-price .currency {
    font-size: 24px;
    font-weight: 600;
    color: #3B4252;
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 48px;
    font-weight: 800;
    color: #2E3440;
}

.pricing-price .period {
    font-size: 16px;
    color: #4C566A;
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 15px;
    color: #4C566A;
    border-bottom: 1px solid #ECEFF4;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ==========================================
   Download Section
   ========================================== */
.download {
    background: linear-gradient(135deg, #5E81AC 0%, #81A1C1 100%);
    color: var(--white);
    text-align: center;
}

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

.download p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 48px;
}

.download-apps {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 48px;
}

.download-app {
    text-align: center;
}

.download-app img {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: var(--radius-lg);
}

.download-app h4 {
    color: var(--white);
    margin-bottom: 16px;
}

.store-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.qr-code img {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 8px;
    margin-bottom: 12px;
}

.qr-code span {
    font-size: 14px;
    opacity: 0.9;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    background: #ECEFF4;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 16px;
    color: #2E3440;
}

.contact-info > p {
    font-size: 18px;
    color: #4C566A;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(94, 129, 172, 0.15);
    color: #5E81AC;
    border-radius: var(--radius);
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    font-size: 14px;
    color: #4C566A;
    margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
    font-size: 16px;
    color: #3B4252;
}

.contact-item a:hover {
    color: #5E81AC;
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid #E5E9F0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #3B4252;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 2px solid #E5E9F0;
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
    color: #2E3440;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5E81AC;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #4C566A;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: #2E3440;
    color: #D8DEE9;
    padding: 80px 0 40px;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .logo img {
    filter: brightness(10);
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: #D8DEE9;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(236, 239, 244, 0.1);
    border-radius: var(--radius);
    color: #D8DEE9;
    transition: var(--transition);
}

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

.footer-links h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: #D8DEE9;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(236, 239, 244, 0.15);
}

.footer-bottom p {
    font-size: 14px;
    color: #D8DEE9;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 40px;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .app-showcase.reverse {
        direction: ltr;
    }
    
    .app-screens {
        order: -1;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links,
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .phone-mockup {
        width: 240px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        gap: 32px;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0 auto;
    }
    
    .download-apps {
        flex-direction: column;
        gap: 32px;
    }
    
    .qr-codes {
        flex-direction: column;
        gap: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .stat {
        flex: 1 1 40%;
    }
    
    .app-download-buttons {
        flex-direction: column;
    }
    
    .store-btn {
        justify-content: center;
    }
}
