/*
 * Pages.css
 * Page-specific styles for Home, About, Contact, and Waitlist pages
 */

/* ============================================
   HOME PAGE
   ============================================ */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10rem 2rem 8rem;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 50%, #f0f4ff 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(61, 190, 219, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ECG Heart Monitor Background */
.ecg-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.6;
    z-index: 0;
}

.ecg-wave {
    position: absolute;
    width: 200%;
    height: 100%;
    animation: ecgScroll 8s linear infinite;
}

.ecg-wave-2 {
    animation-delay: -4s;
}

.ecg-path {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: ecgPulse 2s ease-in-out infinite;
}

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

@keyframes ecgPulse {
    0%, 100% {
        stroke-dashoffset: 1200;
    }
    50% {
        stroke-dashoffset: 0;
    }
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    margin-bottom: 5rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(61, 190, 219, 0.1);
    color: var(--accent-teal-dark);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    animation: slideUp 0.8s ease;
    border: 1px solid rgba(61, 190, 219, 0.25);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: slideUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease 0.3s both;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-animated {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(61, 190, 219, 0.1);
    transition: all 0.3s ease;
}

.stat-animated:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(61, 190, 219, 0.15);
    border-color: var(--primary-blue);
}

.stat-value {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-value::after {
    content: '+';
    font-size: 0.7em;
    opacity: 0.7;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* How It Works Section */
.how-it-works-section {
    padding: 8rem 2rem;
    background: white;
    position: relative;
    overflow: hidden;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 5rem;
}

.how-it-works-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.how-it-works-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.workflow-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
}

.workflow-step {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(61, 190, 219, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.workflow-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(61, 190, 219, 0.15);
    border-color: var(--primary-blue);
}

.step-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    opacity: 0.3;
}

.step-visual {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), #5DD5F0);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(61, 190, 219, 0.2);
}

.step-icon {
    font-size: 2.5rem;
    filter: grayscale(100%) brightness(200%);
}

.workflow-step h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.workflow-step p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.workflow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: arrow-pulse 2s ease-in-out infinite;
}

@keyframes arrow-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(5px);
    }
}

.workflow-result {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(61, 190, 219, 0.05), rgba(93, 213, 240, 0.05));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(61, 190, 219, 0.1);
}

.result-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.result-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.result-icon {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.result-text {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.result-text strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Product Showcase */
.product-showcase {
    padding: 8rem 2rem;
    background: var(--bg-light);
}

.showcase-header {
    text-align: center;
    margin-bottom: 4rem;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.aerbyte-logo {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #5DD5F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.tagline {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.product-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.product-visual {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(40px);
    border: 1px solid rgba(61, 190, 219, 0.15);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    max-width: 850px;
    margin: 3rem auto;
    box-shadow: 0 30px 80px rgba(61, 190, 219, 0.12);
    position: relative;
    overflow: visible;
    animation: float 6s ease-in-out infinite;
}

.product-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(61, 190, 219, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

/* Pulse Ring Animation */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    opacity: 0;
    animation: pulse 3s ease-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

.dashboard-placeholder {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    grid-auto-rows: 180px;
    align-items: stretch;
}

.showcase-footer {
    text-align: center;
    margin-top: 4rem;
}

.waitlist-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-gray);
}

#waitlist-counter {
    font-weight: 600;
    color: var(--primary-blue);
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
}

/* Impact Section */
.impact-section {
    padding: 8rem 2rem;
    background: white;
    position: relative;
}

.impact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.impact-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-dark);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.impact-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(61, 190, 219, 0.1);
    transition: all 0.4s ease;
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(61, 190, 219, 0.1);
    border-color: var(--primary-blue);
}

.impact-visual {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.heartbeat-line {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.heartbeat-line svg {
    width: 100%;
    height: 100%;
}

.heartbeat-line path {
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        stroke-width: 3;
        opacity: 1;
    }
    50% {
        stroke-width: 5;
        opacity: 0.7;
    }
}

.shield-icon {
    font-size: 3.5rem;
    animation: shield-glow 3s ease-in-out infinite;
}

@keyframes shield-glow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(61, 190, 219, 0.3));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(61, 190, 219, 0.5));
        transform: scale(1.05);
    }
}

.pulse-dot {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    position: relative;
    animation: pulse-dot 2s ease-in-out infinite;
}

.pulse-dot::before,
.pulse-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: pulse-ring 2s ease-out infinite;
}

.pulse-dot::after {
    animation-delay: 1s;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.9);
        opacity: 0.8;
    }
}

@keyframes pulse-ring {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}

.impact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.impact-card p {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: var(--bg-light);
}

.about-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.about-hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Problem Section */
.problem-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
    text-align: center;
}

.problem-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.problem-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

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

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.problem-card p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.about-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-section p {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.mission-text,
.section-intro {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Product Section on About Page */
.product-section {
    background: var(--bg-light);
    padding: 6rem 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    justify-items: center;
}

.features-grid .feature-card:nth-child(4),
.features-grid .feature-card:nth-child(5) {
    grid-column: span 1;
}

.features-grid .feature-card:nth-child(4) {
    grid-column: 1 / 2;
    margin-left: auto;
    margin-right: 1rem;
}

.features-grid .feature-card:nth-child(5) {
    grid-column: 2 / 3;
    margin-left: 1rem;
    margin-right: auto;
}

/* Approach Section */
.approach-section {
    padding: 6rem 2rem;
    background: white;
    text-align: center;
}

.approach-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.approach-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(61, 190, 219, 0.1);
    transition: all 0.3s ease;
    text-align: left;
}

.approach-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(61, 190, 219, 0.1);
    transform: translateY(-2px);
}

.approach-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.approach-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.approach-card p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Status Section */
.status-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.status-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.status-text {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.status-cta {
    margin-top: 2rem;
}

/* Vision Section */
.vision-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.vision-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.vision-section p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.95;
    color: white;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-hero {
    padding: 8rem 2rem 2rem;
    text-align: center;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
}

.contact-form-container {
    max-width: 600px;
    margin: 4rem auto;
    padding: 0 2rem 6rem;
}

/* ============================================
   WAITLIST PAGE
   ============================================ */

.waitlist-hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 50%, #f0f4ff 100%);
}

.waitlist-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.waitlist-hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
}

.waitlist-hero .waitlist-note {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    margin-top: -1.5rem;
}

.waitlist-form-wrapper {
    width: 100%;
    max-width: 500px;
}

.waitlist-form {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ============================================
   RESPONSIVE - Pages
   ============================================ */

@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        padding: 6rem 1rem 4rem;
        min-height: 85vh;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 3.5vw, 1.15rem);
        margin-bottom: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
        margin-top: 3rem;
    }

    .stat-animated {
        padding: 1.5rem 1rem;
    }

    .stat-value {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* How It Works Section */
    .how-it-works-section {
        padding: 3rem 1rem;
    }

    .how-it-works-header {
        margin-bottom: 2.5rem;
    }

    .how-it-works-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1rem;
    }

    .how-it-works-subtitle {
        font-size: 1rem;
    }

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

    .workflow-step {
        padding: 2rem 1.5rem;
    }

    .workflow-arrow {
        display: none;
    }

    .step-visual {
        width: 60px;
        height: 60px;
    }

    .step-icon {
        font-size: 2rem;
    }

    .workflow-step h3 {
        font-size: 1.2rem;
    }

    .workflow-result {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.5rem 1rem;
    }

    .result-badge {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    .result-text {
        font-size: 0.85rem;
    }

    /* Product Showcase */
    .product-showcase {
        padding: 3rem 1rem;
    }

    .aerbyte-logo {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .tagline {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        margin-bottom: 1.5rem;
    }

    .product-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .product-visual {
        padding: 2rem 1rem;
        margin: 2rem auto;
    }

    .dashboard-placeholder {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .dashboard-card {
        height: 160px;
    }

    .card-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .card-title {
        font-size: 0.85rem;
    }

    .showcase-footer {
        margin-top: 2.5rem;
    }

    .waitlist-note {
        font-size: 0.85rem;
    }

    /* Impact Section */
    .impact-section {
        padding: 3rem 1rem;
    }

    .impact-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 2.5rem;
    }

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

    .impact-card {
        padding: 2rem 1.5rem;
    }

    .impact-visual {
        width: 60px;
        height: 60px;
    }

    .impact-card h3 {
        font-size: 1.25rem;
    }

    .impact-card p {
        font-size: 0.95rem;
    }

    /* About Page */
    .about-hero {
        padding: 5rem 1rem 2rem;
    }

    .about-hero h1 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .about-hero p {
        font-size: 1.05rem;
    }

    .about-section {
        padding: 3rem 1rem;
    }

    .about-section h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1rem;
    }

    .about-section p,
    .mission-text,
    .section-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Problem Section */
    .problem-section {
        padding: 3rem 1rem;
    }

    .problem-section h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 2.5rem;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .problem-card {
        padding: 2rem 1.5rem;
    }

    .problem-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .problem-card h3 {
        font-size: 1.15rem;
    }

    .problem-card p {
        font-size: 0.95rem;
    }

    /* Product Section */
    .product-section {
        padding: 3rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 2.5rem;
    }

    .features-grid .feature-card:nth-child(4),
    .features-grid .feature-card:nth-child(5) {
        grid-column: auto;
        margin-left: 0;
        margin-right: 0;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    /* Approach Section */
    .approach-section {
        padding: 3rem 1rem;
    }

    .approach-section h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 2.5rem;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .approach-card {
        padding: 2rem 1.5rem;
    }

    .approach-number {
        font-size: 2rem;
    }

    .approach-card h3 {
        font-size: 1.15rem;
    }

    .approach-card p {
        font-size: 0.95rem;
    }

    /* Status Section */
    .status-section {
        padding: 3rem 1rem;
    }

    .status-section h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1rem;
    }

    .status-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Vision Section */
    .vision-section {
        padding: 3rem 1rem;
    }

    .vision-section h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1rem;
    }

    .vision-section p {
        font-size: 1.05rem;
    }

    /* Contact Page */
    .contact-hero {
        padding: 5rem 1rem 2rem;
    }

    .contact-hero h1 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 0.75rem;
    }

    .contact-hero p {
        font-size: 1.05rem;
    }

    .contact-form-container {
        padding: 0 1rem 3rem;
        margin: 2.5rem auto;
    }

    /* Waitlist Page */
    .waitlist-hero {
        padding: 5rem 1rem 3rem;
        min-height: auto;
    }

    .waitlist-hero h1 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 0.75rem;
    }

    .waitlist-hero p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .waitlist-form-wrapper {
        max-width: 100%;
    }

    .waitlist-form {
        padding: 2rem 1.25rem;
    }
}

/* Tablet Optimization (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        padding: 8rem 2rem 6rem;
        min-height: 95vh;
    }

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

    .workflow-grid {
        gap: 1.5rem;
    }

    .impact-grid,
    .problem-grid,
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

/* Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
    /* Hero */
    .hero {
        padding: 5.5rem 0.75rem 3rem;
        min-height: 80vh;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.875rem;
        margin-bottom: 1.75rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 9vw, 2rem);
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.05rem);
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 0.875rem;
        padding: 0 0.75rem;
        margin-top: 2.5rem;
    }

    .stat-animated {
        padding: 1.25rem 0.875rem;
    }

    .stat-value {
        font-size: clamp(1.75rem, 9vw, 2.25rem);
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-cta {
        gap: 0.625rem;
        padding: 0 0.75rem;
    }

    .hero-cta .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }

    /* Sections */
    .how-it-works-section,
    .product-showcase,
    .impact-section,
    .about-section,
    .problem-section,
    .approach-section,
    .status-section,
    .product-section,
    .vision-section {
        padding: 2.5rem 0.75rem;
    }

    .how-it-works-title,
    .impact-title,
    .about-section h2,
    .problem-section h2,
    .approach-section h2,
    .status-section h2,
    .vision-section h2 {
        font-size: clamp(1.35rem, 7vw, 1.75rem);
        margin-bottom: 0.875rem;
    }

    .how-it-works-subtitle,
    .product-description,
    .about-section p,
    .mission-text,
    .section-intro,
    .status-text {
        font-size: 0.95rem;
    }

    /* Workflow */
    .workflow-grid {
        gap: 1.25rem;
    }

    .workflow-step {
        padding: 1.75rem 1.25rem;
    }

    .step-visual {
        width: 55px;
        height: 55px;
        margin-bottom: 1rem;
    }

    .step-icon {
        font-size: 1.75rem;
    }

    .workflow-step h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .workflow-step p {
        font-size: 0.9rem;
    }

    .workflow-result {
        padding: 1.25rem 0.875rem;
        gap: 0.625rem;
    }

    .result-badge {
        padding: 0.625rem 0.875rem;
    }

    .result-icon {
        font-size: 1.1rem;
    }

    .result-text {
        font-size: 0.8rem;
    }

    /* Product Showcase */
    .aerbyte-logo {
        font-size: clamp(1.75rem, 11vw, 2.5rem);
        margin-bottom: 0.75rem;
    }

    .tagline {
        font-size: clamp(1.15rem, 6vw, 1.5rem);
        margin-bottom: 1.25rem;
    }

    .product-visual {
        padding: 1.75rem 0.875rem;
        margin: 1.75rem auto;
    }

    .dashboard-placeholder {
        gap: 0.625rem;
    }

    .dashboard-card {
        height: 140px;
    }

    .showcase-footer {
        margin-top: 2rem;
    }

    /* Cards & Grids */
    .impact-grid,
    .problem-grid,
    .approach-grid,
    .features-grid {
        gap: 1.25rem;
    }

    .impact-card,
    .problem-card,
    .approach-card,
    .feature-card {
        padding: 1.75rem 1.25rem;
    }

    .impact-visual,
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .impact-card h3,
    .problem-card h3,
    .approach-card h3,
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.625rem;
    }

    .impact-card p,
    .problem-card p,
    .approach-card p,
    .feature-card p {
        font-size: 0.9rem;
    }

    /* Hero Sections */
    .about-hero,
    .contact-hero,
    .waitlist-hero {
        padding: 4.5rem 0.75rem 1.75rem;
    }

    .about-hero h1,
    .contact-hero h1,
    .waitlist-hero h1 {
        font-size: clamp(1.5rem, 8vw, 2.25rem);
        margin-bottom: 0.625rem;
    }

    .about-hero p,
    .contact-hero p,
    .waitlist-hero p {
        font-size: 1rem;
    }

    /* Forms */
    .contact-form-container {
        padding: 0 0.75rem 2.5rem;
        margin: 2rem auto;
    }

    .waitlist-form {
        padding: 1.75rem 1rem;
    }

    /* Simplify animations on small devices for performance */
    .ecg-background {
        opacity: 0.4;
    }

    .pulse-ring {
        display: none; /* Hide decorative animations on small screens */
    }

    .product-visual::before {
        display: none; /* Hide rotating gradient on small screens */
    }
}

/* Landscape orientation optimization for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 4rem 1rem 2rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-animated {
        padding: 1rem 0.75rem;
    }

    .waitlist-hero {
        min-height: auto;
        padding: 4rem 1rem 2rem;
    }
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */

.page {
    position: relative;
}
