/* ================================================
   STUDENT NETWORK - PREMIUM PROMO WEBSITE STYLES
   Modern, Animated, Beautifully Designed
   ================================================ */

/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --primary: #14b8a6;
    --primary-dark: #0d9488;
    --primary-light: #5eead4;
    --secondary: #8b5cf6;
    --accent: #f59e0b;
    --success: #10b981;
    --error: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-orange: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-pink: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    --gradient-teal: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    
    /* Neutrals */
    --white: #ffffff;
    --black: #000000;
    --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;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

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

/* ===== NAVIGATION ===== */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.nav-bar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .nav-container {
        padding: var(--space-md) var(--space-lg);
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    min-width: 0;
}

.brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    flex-shrink: 0;
}

.brand-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    gap: var(--space-md);
}

.nav-btn {
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-fast);
    border: none;
    font-size: 14px;
}

.nav-btn.secondary {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.nav-btn.secondary:hover {
    background: var(--gray-50);
}

.nav-btn.primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.nav-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-btn.primary {
    text-decoration: none;
    display: inline-block;
}

.mobile-nav-btn.primary {
    text-decoration: none;
    display: block;
    text-align: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gray-700);
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    transition: color var(--transition-fast);
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

.mobile-menu-btn .material-icons {
    display: block;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right var(--transition-base);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: calc(80px + var(--space-xl)) var(--space-xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    min-height: 100%;
    box-sizing: border-box;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-nav-link {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-100);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--primary);
    padding-left: var(--space-md);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: auto;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-200);
}

.mobile-nav-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 16px;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
}

.mobile-nav-btn.secondary {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.mobile-nav-btn.secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.mobile-nav-btn.primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.mobile-nav-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 50%, #f5f3ff 100%);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #14b8a6 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    top: 50%;
    right: -100px;
    animation-delay: 5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

@media (max-width: 768px) {
    .hero-container {
        padding: var(--space-2xl) var(--space-lg);
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-visual {
        display: flex;
        justify-content: center;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(20, 184, 166, 0.2);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.hero-badge .material-icons {
    color: var(--accent);
    font-size: 20px;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fade-in-up 0.8s ease-out;
}

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

.hero-description {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-description {
        font-size: 16px;
        text-align: center;
    }
    
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

/* ===== DOWNLOAD BADGES (Housr Style) ===== */
.download-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-fast);
    min-width: 180px;
    height: 60px;
    box-sizing: border-box;
}

.download-badge.app-store {
    background: #000000;
    color: #ffffff;
}

.download-badge.google-play {
    background: #ffffff;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.download-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.download-badge.app-store:hover {
    background: #1a1a1a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.download-badge.google-play:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.2);
}

.badge-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    fill: currentColor;
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.2;
}

.badge-label {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.9;
    text-transform: none;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.badge-name {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.download-badge.app-store .badge-label {
    opacity: 0.85;
}

.download-badge.google-play .badge-label {
    color: #5f6368;
    opacity: 1;
}

.download-badge.google-play .badge-name {
    color: #000000;
}

/* Legacy support for old class names */
.download-btn {
    display: inline-block;
    text-decoration: none;
    transition: all var(--transition-fast);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.download-btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-fast);
    min-width: 180px;
}

.download-btn:hover .download-btn-content {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.download-btn.apple .download-btn-content {
    background: var(--black);
    color: var(--white);
}

.download-btn.google .download-btn-content {
    background: var(--white);
    color: var(--gray-900);
}

.download-btn-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-btn-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.download-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.download-btn-label {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.download-btn-name {
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: -0.5px;
}

.download-btn.apple .download-btn-label {
    opacity: 0.8;
}

.download-btn.google .download-btn-label {
    color: var(--gray-600);
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.stat-icon {
    font-size: 40px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--gray-700);
    font-weight: 600;
}

/* ===== PHONE MOCKUP ===== */
.hero-visual {
    position: relative;
    height: 700px;
}

.phone-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-frame {
    position: relative;
    width: 320px;
    height: 650px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 45px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                0 0 60px rgba(20, 184, 166, 0.2);
    animation: phone-glow 3s ease-in-out infinite;
}

@keyframes phone-glow {
    0%, 100% { 
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 
                    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                    0 0 60px rgba(20, 184, 166, 0.2);
    }
    50% { 
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 
                    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                    0 0 80px rgba(20, 184, 166, 0.4);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 35px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    background: transparent;
}

.status-icons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.signal, .wifi, .battery {
    width: 18px;
    height: 10px;
    background: var(--gray-900);
    border-radius: 2px;
    position: relative;
}

.wifi::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border: 2px solid var(--gray-900);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 6px;
    background: var(--gray-900);
    border-radius: 0 1px 1px 0;
}

.phone-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    border-radius: 16px;
    color: white;
}

.app-header-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-header-text {
    flex: 1;
}

.app-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.app-subtitle {
    font-size: 12px;
    opacity: 0.9;
}

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

.app-feature-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.app-feature-item:hover {
    transform: translateY(-2px);
}

.housing-feature {
    border-top: 3px solid #14b8a6;
}

.ride-feature {
    border-top: 3px solid #3b82f6;
}

.connect-feature {
    border-top: 3px solid #8b5cf6;
}

.events-feature {
    border-top: 3px solid #f59e0b;
}

.feature-icon-small {
    font-size: 32px;
}

.feature-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
}

.app-content-preview {
    flex: 1;
}

.preview-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.preview-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 50%;
}

.preview-info {
    flex: 1;
}

.preview-name {
    width: 80px;
    height: 12px;
    background: var(--gray-300);
    border-radius: 6px;
    margin-bottom: 6px;
}

.preview-time {
    width: 60px;
    height: 10px;
    background: var(--gray-200);
    border-radius: 5px;
}

.preview-content {
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, var(--gray-200) 0%, var(--gray-100) 50%, var(--gray-200) 100%);
    border-radius: 8px;
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: var(--gray-900);
    border-radius: var(--radius-full);
    z-index: 2;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-2xl);
    display: flex;
    gap: var(--space-md);
    align-items: center;
    animation: float-card 3s ease-in-out infinite;
}

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

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

.card-3 {
    bottom: 100px;
    left: -120px;
    animation-delay: 2s;
}

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

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

.card-icon.housing {
    background: var(--gradient-primary);
}

.card-icon.ride {
    background: var(--gradient-blue);
}

.card-icon.chat {
    background: var(--gradient-purple);
}

.card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 600;
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gray-400);
    border-radius: var(--radius-full);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
}

.scroll-icon .material-icons {
    font-size: 20px;
    animation: scroll-bounce 2s infinite;
}

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

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: var(--space-2xl) var(--space-xl);
    background: var(--white);
}

@media (max-width: 768px) {
    .features-section {
        padding: var(--space-lg) var(--space-lg);
    }
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 var(--space-lg);
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.features-section .section-header {
    margin-bottom: var(--space-xl);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.section-title {
    font-size: 56px;
    margin-bottom: var(--space-sm);
}

.section-description {
    font-size: 20px;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(20, 184, 166, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    margin-bottom: var(--space-md);
}

.housing-gradient {
    background: var(--gradient-primary);
}

.ride-gradient {
    background: var(--gradient-blue);
}

.social-gradient {
    background: var(--gradient-purple);
}

.feature-title {
    font-size: 24px;
    margin-bottom: var(--space-sm);
}

.feature-description {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: var(--space-md);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    color: var(--gray-700);
}

.feature-list .material-icons {
    color: var(--primary);
    font-size: 20px;
}

.feature-image {
    margin-top: var(--space-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: var(--space-md);
    padding: var(--space-2xl);
    text-align: center;
}

.image-placeholder .material-icons {
    font-size: 64px;
    opacity: 0.8;
}

.image-placeholder p {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}

.gradient-purple .material-icons,
.gradient-blue .material-icons,
.gradient-green .material-icons,
.gradient-pink .material-icons,
.gradient-orange .material-icons,
.gradient-teal .material-icons {
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced animations */
@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Smooth transitions for interactive elements */
.feature-card,
.testimonial-card,
.download-badge {
    transition: all var(--transition-base);
}

.feature-card:hover,
.testimonial-card:hover {
    transform: translateY(-8px);
}

.download-badge:hover {
    transform: translateY(-3px);
}

/* ===== HOW IT WORKS ===== */
.how-it-works-section {
    padding: var(--space-2xl) var(--space-xl);
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

@media (max-width: 768px) {
    .how-it-works-section {
        padding: var(--space-xl) var(--space-lg);
    }
}

.steps-container {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    position: relative;
}

.step-item {
    flex: 1;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    font-family: var(--font-display);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-lg);
}

.step-title {
    font-size: 24px;
    margin-bottom: var(--space-sm);
}

.step-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.step-visual {
    margin-top: var(--space-lg);
}

.step-connector {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    top: 35px;
}

/* ===== APP SHOWCASE ===== */
.app-showcase-section {
    padding: var(--space-2xl) var(--space-xl);
}

@media (max-width: 768px) {
    .app-showcase-section {
        padding: var(--space-xl) var(--space-lg);
    }
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.showcase-title {
    font-size: 48px;
    margin-bottom: var(--space-md);
}

.showcase-description {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.showcase-feature {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.showcase-icon {
    font-size: 32px;
}

.showcase-text h4 {
    font-size: 18px;
    margin-bottom: var(--space-xs);
}

.showcase-text p {
    color: var(--gray-600);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: var(--space-2xl) var(--space-xl);
    background: var(--gray-50);
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: var(--space-xl) var(--space-lg);
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    border: 1px solid var(--gray-100);
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-2xl);
    padding: 2px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(139, 92, 246, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.testimonial-card:hover::after {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.testimonial-author {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.author-name {
    font-weight: 700;
    color: var(--gray-900);
}

.author-school {
    font-size: 14px;
    color: var(--gray-600);
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: var(--space-2xl) var(--space-xl);
    overflow: hidden;
}

@media (max-width: 768px) {
    .cta-section {
        padding: var(--space-xl) var(--space-lg);
    }
    
    .cta-content {
        padding: var(--space-xl) var(--space-lg);
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-description {
        font-size: 16px;
    }
}

.cta-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
}

.cta-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content > * {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 48px;
    margin-bottom: var(--space-sm);
}

.cta-description {
    font-size: 20px;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.cta-note {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 14px;
    opacity: 0.8;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-2xl) var(--space-xl) var(--space-xl);
}

@media (max-width: 768px) {
    .footer {
        padding: var(--space-xl) var(--space-lg) var(--space-lg);
    }
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.footer-tagline {
    color: var(--gray-400);
    margin: var(--space-md) 0;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.footer-link {
    display: block;
    color: var(--gray-400);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--gray-400);
    font-size: 14px;
}

.footer-note {
    margin-top: var(--space-sm);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-visual {
        height: 600px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        text-align: left;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-content {
        text-align: center;
    }
    
    .showcase-visual {
        display: flex;
        justify-content: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        text-align: left;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .download-badge {
        min-width: 160px;
    }
    
    .download-btn-content {
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-container {
        padding: var(--space-md) var(--space-lg);
        justify-content: space-between;
    }
    
    .nav-brand {
        font-size: 16px;
        gap: var(--space-xs);
        max-width: calc(100% - 60px);
    }
    
    .brand-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }
    
    .brand-name {
        font-size: 14px;
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        order: 3;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .mobile-menu {
        display: block;
    }
    
    /* General Mobile Formatting */
    body {
        font-size: 15px;
        line-height: 1.6;
        word-break: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    
    /* Container improvements */
    .section-container,
    .hero-container,
    .page-hero-container {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }
    
    /* Text alignment and breaking */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        line-height: 1.3;
    }
    
    h1 {
        font-size: 32px !important;
    }
    
    h2 {
        font-size: 28px !important;
    }
    
    h3 {
        font-size: 24px !important;
    }
    
    h4 {
        font-size: 20px !important;
    }
    
    /* Paragraph and text elements */
    p, span, div, li, td, th {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }
    
    /* Better spacing */
    section {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }
    
    /* Form elements */
    input, textarea, select, button {
        font-size: 16px; /* Prevents zoom on iOS */
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Grid improvements */
    .features-grid,
    .testimonials-grid,
    .showcase-grid {
        gap: var(--space-lg);
    }
    
    /* Card improvements */
    .feature-card,
    .testimonial-card {
        padding: var(--space-lg);
    }
    
    /* Reduce text sizes for mobile */
    .hero-description,
    .section-description,
    .feature-description,
    .testimonial-text,
    .step-description,
    .showcase-description,
    .cta-description {
        font-size: 14px !important;
        line-height: 1.6;
    }
    
    /* Button and link text */
    .nav-link,
    .mobile-nav-link,
    .footer-link {
        font-size: 14px;
    }
    
    /* Badge and label text */
    .badge-label,
    .badge-name,
    .download-btn-label,
    .download-btn-name {
        font-size: 13px !important;
    }
    
    .badge-name {
        font-size: 15px !important;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-header {
        text-align: center;
    }
    
    .section-description {
        text-align: center;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-connector {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        height: 500px;
    }
    
    .phone-frame {
        width: 280px;
        height: 560px;
    }
    
    .floating-card {
        display: none;
    }
    
    .app-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .app-feature-item {
        padding: 12px;
    }
    
    .feature-icon-small {
        font-size: 24px;
    }
    
    .feature-text {
        font-size: 11px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .download-badge {
        width: 100%;
        max-width: 220px;
        justify-content: center;
        min-width: auto;
        height: 56px;
        padding: 8px 14px;
    }
    
    .badge-icon {
        width: 24px;
        height: 24px;
    }
    
    .badge-name {
        font-size: 16px;
    }
    
    .badge-label {
        font-size: 9px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .cta-actions .download-badge {
        width: 100%;
        max-width: 220px;
    }
    
    .download-btn {
        width: 100%;
    }
    
    .download-btn-content {
        width: 100%;
        justify-content: center;
        min-width: auto;
        padding: 14px 20px;
    }
    
    .download-btn-name {
        font-size: 16px;
    }
}

