/* ================================
   CSS Variables & Base Styles
================================ */
:root {
    /* Brand Colors - Orange Theme */
    --primary: #FF6B35;
    --primary-light: #FF8F6B;
    --primary-dark: #E85A2A;
    --primary-gradient: linear-gradient(135deg, #FF6B35 0%, #FF8F6B 50%, #FFB088 100%);
    
    /* Neutral Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f0f2f5;
    
    /* Gradient Backgrounds */
    --hero-gradient: linear-gradient(180deg, #FFF5F0 0%, #FFE8DC 50%, #FFFFFF 100%);
    --card-gradient: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 143, 107, 0.02) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 60px rgba(255, 107, 53, 0.3);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

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

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

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

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform var(--transition-spring);
}

.logo-img-sm {
    width: 32px;
    height: 32px;
}

.logo-icon svg {
    transition: transform var(--transition-spring);
}

.nav-logo:hover .logo-icon svg,
.nav-logo:hover .logo-img {
    transform: scale(1.05) rotate(-2deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
}

.dropdown-arrow {
    transition: transform var(--transition-base);
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-base);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    transition: var(--transition-base);
}

.dropdown-item:hover {
    background: var(--bg-secondary);
}

.dropdown-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

.dropdown-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* Nav CTA */
.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--primary);
    border-radius: 10px;
    transition: var(--transition-base);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
}

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

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 143, 107, 0.25) 0%, transparent 70%);
    bottom: 20%;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 176, 136, 0.2) 0%, transparent 70%);
    top: 40%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 16px;
    background: white;
    border-radius: 100px;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out;
}

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

.badge-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

/* Hero Title */
.hero-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

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

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-subtitle .highlight {
    font-weight: 700;
    color: var(--text-primary);
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .desktop-only {
        display: inline;
    }
}

/* Hero CTA */
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    transition: var(--transition-base);
}

.btn-primary {
    color: white;
    background: var(--primary);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.cta-subtext {
    font-size: 14px;
    color: var(--text-muted);
}

/* Hero Mockup - 3D Phone */
.hero-mockup {
    position: relative;
    margin-top: 20px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.phone-3d-container {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

#phone-canvas {
    width: 100%;
    height: 100%;
    background: transparent;
}

.phone-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--bg-tertiary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Legacy phone image styles (fallback) */
.phone-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

.hero-mockup:hover .phone-image {
    transform: translateY(-8px) scale(1.02);
}

.mockup-glow {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   Features Selection Section
================================ */
.features-select {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

.features-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.feature-pill:hover {
    background: white;
    border-color: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-pill.active {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.pill-icon {
    font-size: 18px;
}

/* Feature Showcase */
.feature-showcase {
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 48px;
    overflow: hidden;
}

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

.showcase-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.showcase-text p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.showcase-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.showcase-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-primary);
}

.showcase-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6L5 9L10 3' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    background: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.visual-icon {
    font-size: 64px;
    opacity: 0.2;
}

.visual-animation {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 24px;
}

.floating-post {
    width: 80%;
    height: 40px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 8px;
    opacity: 0.8;
    animation: floatPost 3s ease-in-out infinite;
}

.floating-post.delay-1 {
    animation-delay: -1s;
    opacity: 0.6;
}

.floating-post.delay-2 {
    animation-delay: -2s;
    opacity: 0.4;
}

@keyframes floatPost {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

/* ================================
   Stats Section
================================ */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

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

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

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    display: inline;
    letter-spacing: -0.03em;
}

.stat-suffix {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    color: var(--text-secondary);
}

/* ================================
   How It Works Section
================================ */
.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

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

.step-card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 16px auto 24px;
    background: var(--bg-secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* ================================
   Safety Section
================================ */
.safety-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

.safety-badge {
    display: inline-flex;
    padding: 8px 16px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.safety-text h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.safety-text > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

.safety-feature {
    display: flex;
    gap: 16px;
}

.safety-feature .feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.safety-feature .feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.safety-feature .feature-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Safety Visual */
.safety-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-graphic {
    position: relative;
    width: 280px;
    height: 280px;
}

.shield-outer {
    position: absolute;
    inset: 0;
    border: 3px solid var(--bg-tertiary);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.shield-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

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

.shield-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: particle 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 10%;
    left: 50%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 50%;
    right: 10%;
    animation-delay: -0.75s;
}

.particle:nth-child(3) {
    bottom: 10%;
    left: 50%;
    animation-delay: -1.5s;
}

.particle:nth-child(4) {
    top: 50%;
    left: 10%;
    animation-delay: -2.25s;
}

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

/* ================================
   Testimonials Section
================================ */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.testimonials-slider {
    margin-top: 48px;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex-shrink: 0;
    width: 360px;
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

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

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.author-school {
    font-size: 13px;
    color: var(--text-muted);
}

/* ================================
   Download Section
================================ */
.download-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.download-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.download-content h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.download-content > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--text-primary);
    color: white;
    border-radius: 12px;
    transition: var(--transition-base);
}

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

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-small {
    font-size: 11px;
    opacity: 0.8;
}

.btn-large {
    font-size: 18px;
    font-weight: 600;
}

.download-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.qr-code {
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow-md);
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-text {
    font-size: 14px;
    color: var(--text-muted);
}

.download-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bg-gradient {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
}

/* ================================
   Footer
================================ */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 80px 0 40px;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-brand > p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-base);
}

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

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

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

.footer-column a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
}

.footer-column a:hover {
    color: white;
}

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

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ================================
   Mobile Menu
================================ */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    padding: 16px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: 12px;
    transition: var(--transition-base);
}

.mobile-nav-link:hover {
    background: var(--bg-secondary);
}

.mobile-cta {
    margin-top: 16px;
    padding: 16px;
    background: var(--primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 12px;
}

/* ================================
   Responsive Styles
================================ */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .safety-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .safety-visual {
        order: -1;
    }
    
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .showcase-visual {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }
    
    .hero-mockup {
        margin-top: 20px;
    }
    
    .phone-3d-container {
        height: 380px;
    }
    
    .phone-image {
        max-width: 380px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-suffix {
        font-size: 24px;
    }
    
    .safety-features {
        grid-template-columns: 1fr;
    }
    
    .feature-showcase {
        padding: 32px 24px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        flex-direction: column;
        gap: 4px;
        padding: 10px 16px;
    }
    
    .features-grid {
        gap: 8px;
    }
    
    .feature-pill {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .stats-grid {
        gap: 16px;
    }
    
    .stat-item {
        padding: 16px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Animation Classes (AOS-like)
================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-up"].aos-animate,
[data-aos="fade-right"].aos-animate,
[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* Hover States Enhancement */
@media (hover: hover) {
    .nav-link:hover,
    .dropdown-item:hover,
    .feature-pill:hover,
    .step-card:hover,
    .social-link:hover,
    .download-btn:hover {
        cursor: pointer;
    }
}
/* ================================
   Professional Phone Mockups
   ================================ */

.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    margin: 0 auto;
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 45px;
    padding: 12px;
    box-shadow: 
        0 0 0 12px #2a2a2a,
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 6px rgba(255, 255, 255, 0.1);
    position: relative;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 36px;
    overflow: hidden;
    padding: 50px 16px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-post {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 14px;
    animation: slideUp 0.6s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mockup-post:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.post-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    flex-shrink: 0;
}

.post-user {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.post-username {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

.post-time {
    font-size: 11px;
    color: #999;
}

.post-content {
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 10px;
}

.post-image-placeholder {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin-bottom: 10px;
}

.post-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    transition: all 0.2s ease;
}

.action-btn.active {
    color: #FF6B35;
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

.action-btn span {
    font-weight: 600;
}

@media (max-width: 768px) {
    .phone-mockup {
        width: 240px;
        height: 500px;
    }
    
    .phone-frame {
        padding: 10px;
    }
    
    .phone-screen {
        padding: 40px 12px 16px 12px;
    }
    
    .mockup-post {
        padding: 12px;
    }
}

/* ================================
   Poll Mockup Styles
   ================================ */

.mockup-poll {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 14px;
    animation: slideUp 0.6s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

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

.poll-question {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.poll-option {
    position: relative;
    padding: 10px 12px;
    background: #fff;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.poll-option.active {
    border-color: #FF6B35;
}

.option-text {
    font-size: 13px;
    color: #333;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.option-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-radius: 8px;
    width: var(--percent, 0%);
    transition: width 0.6s ease;
}

.option-percent {
    font-size: 12px;
    font-weight: 600;
    color: #FF6B35;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.poll-footer {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #999;
}

/* ================================
   DM Mockup Styles
   ================================ */

.dm-screen {
    background: #f0f0f0;
    padding: 12px;
}

.dm-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.dm-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.dm-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.dm-message {
    max-width: 75%;
    animation: slideUp 0.4s ease-out;
}

.dm-message.received {
    align-self: flex-start;
}

.dm-message.sent {
    align-self: flex-end;
}

.dm-message.received p {
    background: #fff;
    color: #1a1a1a;
}

.dm-message.sent p {
    background: #FF6B35;
    color: #fff;
}

.dm-message p {
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 16px;
    margin-bottom: 4px;
    line-height: 1.4;
}

.dm-time {
    font-size: 10px;
    color: #999;
    padding: 0 4px;
}

.dm-message.sent .dm-time {
    text-align: right;
    display: block;
}

.dm-typing {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border-radius: 12px;
    width: fit-content;
}

.typing-indicator {
    display: flex;
    gap: 4px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #999;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-6px);
    }
}

/* ================================
   Anonymous Post Styles
   ================================ */

.anon-post {
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
}

.anon-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.anon-badge {
    margin-left: auto;
    font-size: 16px;
}

/* ================================
   Rate My Professor Styles
   ================================ */

.teacher-card {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    animation: slideUp 0.6s ease-out;
}

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

.teacher-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.teacher-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.teacher-info p {
    font-size: 12px;
    color: #666;
}

.teacher-rating {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
}

.rating-item {
    flex: 1;
    text-align: center;
}

.rating-label {
    font-size: 11px;
    color: #999;
    display: block;
    margin-bottom: 4px;
}

.rating-value {
    font-size: 24px;
    font-weight: 700;
    color: #FF6B35;
}

.rating-value span {
    font-size: 14px;
    color: #999;
}

.rating-stars {
    font-size: 16px;
}

.teacher-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 10px;
    background: #fff;
    border-radius: 20px;
    font-size: 11px;
    color: #666;
    border: 1px solid #e0e0e0;
}

.teacher-review {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    animation: slideUp 0.6s ease-out 0.2s;
    animation-fill-mode: both;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-stars {
    font-size: 13px;
}

.review-time {
    font-size: 10px;
    color: #999;
}

.review-text {
    font-size: 12px;
    line-height: 1.5;
    color: #333;
}

/* ================================
   Notification Styles
   ================================ */

.notif-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 8px;
    animation: slideUp 0.4s ease-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.notif-item:nth-child(2) {
    animation-delay: 0.1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.notif-item:nth-child(3) {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.notif-item:nth-child(4) {
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-content {
    flex: 1;
}

.notif-content p {
    font-size: 12px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 2px;
}

.notif-content strong {
    font-weight: 600;
    color: #1a1a1a;
}

.notif-time {
    font-size: 10px;
    color: #999;
}

.notif-item.trending .notif-icon {
    font-size: 20px;
}