/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   CSS VARIABLES
   ======================================== */

:root {
    /* Colors */
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-dark: #0f172a;
    --text-gray: #475569;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    --border-color: #e2e8f0;

    /* Spacing */
    --section-padding: 6rem;
    --container-padding: 1.5rem;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;

    /* Z-index */
    --z-navbar: 1000;
    --z-mobile-menu: 999;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   CONTAINER
   ======================================== */

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

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    z-index: var(--z-navbar);
    padding: 1rem 0;
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.logo h1 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--text-dark);
}

.logo .llc {
    font-weight: 400;
    color: var(--text-light);
    margin-left: 0.25rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: calc(var(--z-navbar) + 1);
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger {
    position: relative;
    display: block;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Mobile Menu Active State */
.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    display: block;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--text-dark);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    background: var(--bg-white);
}

.hero-gradient {
    display: none;
}

.hero-content {
    padding: clamp(2rem, 8vw, 4rem) 0;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    margin-bottom: 3rem;
    color: var(--text-gray);
    font-weight: 400;
    padding: 0 0.5rem;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: clamp(1.5rem, 4vw, 2.5rem);
    row-gap: clamp(2rem, 5vw, 3rem);
    margin: 3rem 0;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.stat-label {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    color: var(--text-gray);
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--primary-color);
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    transition: all var(--transition-fast);
    margin-top: 2rem;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

/* ========================================
   SECTION STYLES
   ======================================== */

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-gray);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    padding: var(--section-padding) 0;
    background: var(--bg-gray);
}

.about-content {
    display: grid;
    gap: 4rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.large-text {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 500;
}

.about-text p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.8;
    color: var(--text-gray);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: 2rem;
}

.feature-card {
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
}

/* ========================================
   PLATFORMS SECTION
   ======================================== */

.platforms-section {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.platform-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.platform-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.platform-header {
    margin-bottom: 2.5rem;
}

.platform-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    background: var(--bg-gray);
    color: var(--text-gray);
}

.platform-name {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.platform-tagline {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-gray);
    font-weight: 400;
}

.platform-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.platform-description .lead {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.platform-description p {
    font-size: clamp(0.95rem, 1.8vw, 1rem);
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.platform-description h4 {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.features-list {
    list-style: none;
    margin: 1rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
    line-height: 1.6;
    color: var(--text-gray);
}

.features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-dark);
    font-weight: bold;
}

.features-list strong {
    color: var(--text-dark);
    font-weight: 600;
}

.platform-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.stat-card {
    background: var(--bg-gray);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.stat-card:hover {
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.stat-description {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}

.stat-detail {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.platform-cta {
    text-align: center;
    margin-top: 3rem;
}

.platform-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--primary-color);
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    transition: all var(--transition-fast);
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.platform-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.platform-button:active {
    transform: translateY(0);
}

/* ========================================
   IMPACT SECTION
   ======================================== */

.impact-section {
    padding: var(--section-padding) 0;
    background: var(--bg-gray);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 5rem;
}

.impact-card {
    text-align: center;
    padding: clamp(2rem, 4vw, 2.5rem);
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.impact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.impact-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.impact-label {
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.impact-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
}

/* ========================================
   TIMELINE
   ======================================== */

.timeline {
    max-width: 1100px;
    margin: 0 auto;
}

.timeline h3 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 600;
    margin-bottom: 4rem;
    color: var(--text-dark);
}

.timeline-content {
    position: relative;
    padding: 2rem 0;
}

/* Center vertical line */
.timeline-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom,
    var(--border-color) 0%,
    var(--primary-color) 30%,
    var(--primary-color) 70%,
    var(--border-color) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

/* Timeline cards */
.timeline-card {
    background: var(--bg-white);
    padding: 2rem 2.5rem;
    border-radius: 12px;
    border: 1px solid transparent;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all var(--transition-medium);
}

.timeline-card:hover,
.timeline-item:hover .timeline-card {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

/* Left items */
.timeline-left .timeline-card {
    margin-right: auto;
    width: calc(50% - 3rem);
    margin-left: 0;
}

/* Right items */
.timeline-right .timeline-card {
    margin-left: auto;
    width: calc(50% - 3rem);
    margin-right: 0;
}

/* Center dot on timeline - positioned first as reference point */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 2rem;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-color);
    z-index: 2;
    transition: all var(--transition-medium);
}

.timeline-item:hover::before {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 0 4px var(--primary-color);
}

/* Year labels positioned on opposite side of cards, perfectly centered with dot */
.timeline-year {
    position: absolute;
    top: 2rem;
    transform: translateY(-50%);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    z-index: 3;
    white-space: nowrap;
    line-height: 1.2;
}

.timeline-left .timeline-year {
    left: calc(50% + 2.5rem);
}

.timeline-right .timeline-year {
    right: calc(50% + 2.5rem);
}

.timeline-card h4 {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.timeline-card p {
    font-size: clamp(0.95rem, 1.5vw, 1rem);
    line-height: 1.7;
    color: var(--text-gray);
}

/* ========================================
   WHY SECTION
   ======================================== */

.why-section {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
}

.why-card {
    background: var(--bg-white);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.why-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--border-color);
    margin-bottom: 0.75rem;
}

.why-card h3 {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.why-card p {
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
    line-height: 1.6;
    color: var(--text-gray);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: var(--section-padding) 0;
    background: var(--bg-gray);
    text-align: center;
}

.contact-section .section-title {
    color: var(--text-dark);
}

.contact-text {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-gray);
}

.platforms-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--bg-white);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.platform-link:hover {
    border-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.platform-link:active {
    transform: translateY(0);
}

.link-icon {
    font-size: 1.25rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    opacity: 0.7;
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
}

/* ========================================
   LEGAL PAGES (Terms & Privacy)
   ======================================== */

.legal-hero {
    min-height: auto;
    padding-bottom: 0;
    background: var(--bg-white);
}

.legal-page {
    padding: var(--section-padding) 0;
    min-height: calc(100vh - 200px);
}

.legal-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.legal-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.legal-content ul {
    list-style: none;
    margin-bottom: 1rem;
    padding-left: 0;
}

.legal-content ul li {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
}

.legal-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large Tablet (1024px and below) */
@media (max-width: 1024px) {
    .about-features,
    .impact-grid,
    .platform-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Tablet (768px and below) */
@media (max-width: 768px) {
    :root {
        --section-padding: 3.5rem;
        --container-padding: 1.25rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 75vw);
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 2rem 2rem;
        gap: 0;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-medium);
        z-index: var(--z-mobile-menu);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a {
        padding: 1rem 0;
        font-size: 1.1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .hero {
        min-height: auto;
        padding-top: 80px;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        row-gap: 2.5rem;
        margin: 2rem 0;
    }

    .platform-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .impact-grid {
        margin-bottom: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Timeline mobile adjustments */
    .timeline {
        max-width: 600px;
    }

    .timeline-left .timeline-card,
    .timeline-right .timeline-card {
        width: calc(50% - 2.5rem);
    }

    .timeline-card {
        padding: 1.5rem 1.75rem;
    }

    .timeline-year {
        font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    }

    .timeline-left .timeline-year {
        left: calc(50% + 2rem);
    }

    .timeline-right .timeline-year {
        right: calc(50% + 2rem);
    }

    /* Improve touch targets */
    .feature-card,
    .why-card,
    .impact-card,
    .stat-card {
        min-height: 44px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    :root {
        --section-padding: 2.5rem;
        --container-padding: 1rem;
    }

    html {
        font-size: 15px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-content {
        padding: 1.5rem 0;
    }

    .hero-title {
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        margin-bottom: 2rem;
        padding: 0;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        row-gap: 2rem;
        margin: 1.5rem 0;
    }

    .cta-button,
    .platform-button,
    .platform-link {
        padding: 1rem 1.5rem;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .platform-card {
        padding: 1.25rem;
        margin-bottom: 2rem;
    }

    .platform-header {
        margin-bottom: 1.5rem;
    }

    .platform-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.875rem;
    }

    .platform-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .platforms-links {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .platform-link {
        width: 100%;
    }

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

    .feature-card {
        padding: 1.25rem;
    }

    .impact-grid {
        gap: 1.25rem;
        margin-bottom: 2rem;
    }

    .impact-card {
        padding: 1.5rem;
    }

    .why-grid {
        gap: 1.25rem;
    }

    .why-card {
        padding: 1.25rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Timeline mobile vertical layout */
    .timeline-content {
        padding: 1rem 0 1rem 2rem;
    }

    .timeline-content::before {
        left: 0;
        transform: none;
        width: 2px;
        background: linear-gradient(to bottom,
        var(--border-color) 0%,
        var(--primary-color) 20%,
        var(--primary-color) 80%,
        var(--border-color) 100%);
    }

    .timeline-item {
        margin-bottom: 2.5rem;
    }

    .timeline-item::before {
        left: 0;
        top: 1rem;
        transform: translate(-50%, -50%);
        width: 14px;
        height: 14px;
        border: 3px solid var(--bg-gray);
        box-shadow: 0 0 0 2px var(--primary-color);
    }

    .timeline-item:hover::before {
        transform: translate(-50%, -50%) scale(1.1);
    }

    .timeline-year {
        position: static;
        transform: none;
        display: block;
        margin-bottom: 0.75rem;
        margin-left: 1.5rem;
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .timeline-left .timeline-card,
    .timeline-right .timeline-card {
        width: 100%;
        margin-left: 1.5rem;
        margin-right: 0;
    }

    .timeline-card {
        padding: 1.25rem 1.5rem;
        margin-left: 0;
    }

    /* Better text readability on mobile */
    .section-subtitle {
        margin-bottom: 2.5rem;
    }

    .features-list li {
        padding: 0.375rem 0;
        padding-left: 1.5rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    :root {
        --section-padding: 2rem;
        --container-padding: 0.875rem;
    }

    html {
        font-size: 14px;
    }

    .navbar {
        padding: 0.625rem 0;
    }

    .logo h1 {
        font-size: 1.125rem;
    }

    .hero-stats-grid {
        gap: 1rem;
        row-gap: 1.75rem;
    }

    .platform-card {
        padding: 1rem;
    }

    .stat-card,
    .feature-card,
    .impact-card,
    .why-card {
        padding: 1rem;
    }

    .cta-button,
    .platform-button {
        padding: 0.875rem 1.25rem;
    }
}

/* Large Desktop (1440px and above) */
@media (min-width: 1440px) {
    .container {
        max-width: 1280px;
    }
}

/* Performance optimizations for all mobile devices */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices */
    .feature-card:hover,
    .platform-card:hover,
    .stat-card:hover,
    .impact-card:hover,
    .why-card:hover,
    .timeline-card:hover,
    .timeline-item:hover .timeline-card {
        transform: none;
        box-shadow: none;
        border-color: transparent;
    }

    .cta-button:hover,
    .platform-button:hover,
    .platform-link:hover {
        transform: none;
        box-shadow: none;
    }

    /* Use active states instead */
    .feature-card:active,
    .platform-card:active,
    .impact-card:active,
    .why-card:active,
    .timeline-card:active {
        transform: scale(0.98);
    }

    .nav-links a:hover {
        color: var(--text-gray);
    }

    .nav-links a:active {
        color: var(--text-dark);
    }
}
