:root {
    /* Light Theme (Rainy Forest) */
    --color-bg: #f2f7f4;
    --color-surface: rgba(255, 255, 255, 0.7);
    --color-surface-solid: #ffffff;
    --color-surface-alt: #e6efe9;
    --color-text: #172b21;
    --color-text-muted: #4a6657;
    --color-primary: #2c8c99;
    /* Water blue / Teal logo color */
    --color-primary-hover: #206771;
    --color-accent: #2c8c99;
    --color-border: rgba(44, 140, 153, 0.15);
    --color-glow: rgba(44, 140, 153, 0.2);

    --shadow-sm: 0 4px 12px rgba(44, 140, 153, 0.08);
    --shadow-md: 0 8px 24px rgba(44, 140, 153, 0.12);
    --shadow-lg: 0 16px 40px rgba(44, 140, 153, 0.18);

    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 20px;
    --container-padding: 2rem;

    /* Background dynamic overlay for hero-bg visibility + readability */
    --bg-overlay: linear-gradient(rgba(242, 247, 244, 0.72), rgba(242, 247, 244, 0.72));
}

[data-theme="dark"] {
    /* Dark Theme (Rainy Forest Night) */
    --color-bg: #0b1410;
    --color-surface: rgba(18, 33, 26, 0.7);
    --color-surface-solid: #12211a;
    --color-surface-alt: #1a2e24;
    --color-text: #e2ede7;
    --color-text-muted: #9ab3a6;
    --color-primary: #4ebfcf;
    /* Bright water blue / Teal logo color */
    --color-primary-hover: #3aa5b5;
    --color-accent: #4ebfcf;
    --color-border: rgba(78, 191, 207, 0.15);
    --color-glow: rgba(78, 191, 207, 0.3);

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.8);

    /* Background dynamic overlay for hero-bg visibility + readability */
    --bg-overlay: linear-gradient(rgba(11, 20, 16, 0.85), rgba(11, 20, 16, 0.85));
}

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

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.6s ease, color 0.6s ease;
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%232c8c99'><path d='M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z'/></svg>") 12 0, auto;
}

/* Premium Cross-Fading Background Slideshow */
.bg-slideshow {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--color-bg);
}

.bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    filter: blur(2px);
    transform: scale(1.05);
    /* Base scale to prevent blur bleeding */
    transition: opacity 1.5s ease-in-out, transform 7.5s ease-out;
    /* Transition both properties smoothly */
}

.bg-slide.active {
    opacity: 1;
    transform: scale(1.15);
    /* Slow Ken Burns zoom transition */
}

a,
button,
.interactive-element {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%234ebfcf'><path d='M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z'/></svg>") 12 0, pointer;
}

/* Background Atmosphere effects */
.background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

.ambient-fog {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(44, 140, 153, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
    animation: fog-drift 25s infinite alternate ease-in-out;
}

[data-theme="dark"] .ambient-fog {
    background: radial-gradient(circle at 70% 30%, rgba(78, 191, 207, 0.04) 0%, transparent 60%);
}

@keyframes fog-drift {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.15) translate(-4%, 4%);
    }
}

/* Main Container Layout */
.app-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.app-header {
    padding: 1.5rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
    margin-left: 0rem;
}

.logo-image:hover {
    transform: scale(1.05);
}

[data-theme="dark"] .logo-image {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) brightness(1.1);
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--color-text) 30%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Sound Controller and Theme switches */
.audio-widget {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 50px;
    height: 42px;
}

.audio-widget:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.audio-toggle-btn {
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.audio-toggle-btn:hover {
    transform: scale(1.15);
}

.waveform-indicator {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
    width: 20px;
}

.waveform-bar {
    width: 3px;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 3px;
    animation: pulse-wave 1.2s infinite ease-in-out alternate;
    transform-origin: bottom;
    animation-play-state: paused;
}

.waveform-indicator.playing .waveform-bar {
    animation-play-state: running;
}

.waveform-bar:nth-child(2) {
    animation-delay: 0.2s;
}

.waveform-bar:nth-child(3) {
    animation-delay: 0.4s;
}

.waveform-bar:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes pulse-wave {
    0% {
        transform: scaleY(0.2);
    }

    100% {
        transform: scaleY(1);
    }
}

.theme-switch-wrapper {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    padding: 0.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    height: 42px;
}

.theme-toggle-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle-btn.active {
    background-color: var(--color-surface-solid);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

/* Dashboard Splitted Layout */
.dashboard-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem var(--container-padding);
    align-items: center;
    position: relative;
}

/* Left Countdown Panel */
.countdown-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    animation: fade-in-up 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.launch-pill-container {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.launch-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.15rem;
    background-color: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.25rem;
}

.mock-test-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.15rem;
    background-color: rgba(255, 165, 0, 0.08);
    border: 1px solid rgba(255, 165, 0, 0.25);
    color: #ffa502;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mock-test-btn:hover {
    background-color: rgba(255, 165, 0, 0.18);
    border-color: rgba(255, 165, 0, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(255, 165, 0, 0.25);
}

.mock-test-btn.simulating {
    background-color: rgba(78, 191, 207, 0.08);
    border-color: rgba(78, 191, 207, 0.35);
    color: var(--color-primary);
    animation: simulated-pulse 2s infinite ease-in-out;
}

@keyframes simulated-pulse {
    0% {
        opacity: 0.9;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 0.9;
    }
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2ec4b6;
    animation: status-pulse 1.6s infinite;
}

@keyframes status-pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(46, 196, 182, 0.6);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(46, 196, 182, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(46, 196, 182, 0);
    }
}

.headline-title {
    font-size: 3.25rem;
    font-weight: 850;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -1.5px;
    color: var(--color-text);
}

/* Hidden on desktop, shown on mobile to control headline line breaks */
.mobile-br {
    display: none;
}

.headline-title span {
    background: linear-gradient(135deg, var(--color-primary) 30%, #ffa502 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.headline-title span.blue-highlight {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
    text-shadow: none;
}

.headline-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
    max-width: 550px;
    line-height: 1.65;
}

/* Digital Clock Grid styling */
.digital-clock-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    width: 100%;
    max-width: 520px;
    margin-bottom: 1.75rem;
}

.time-slot {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 1.25rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    perspective: 400px;
    /* Enable 3D depth for child card flip */
}

.time-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #ffa502);
    opacity: 0;
    transition: var(--transition);
}

.time-slot:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.time-slot:hover::before {
    opacity: 1;
}

.digit {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
    display: inline-block;
    backface-visibility: hidden;
    transform-origin: center;
}

/* 3D Digit Flip Keyframe Animation */
@keyframes flip-digit {
    0% {
        transform: rotateX(0deg);
        opacity: 1;
    }

    45% {
        transform: rotateX(-90deg);
        opacity: 0.35;
    }

    55% {
        transform: rotateX(90deg);
        opacity: 0.35;
    }

    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

.digit.flip-anim {
    animation: flip-digit 0.4s ease-in-out;
}

.label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.4rem;
}

/* Form Signup Styling */
.signup-box {
    width: 100%;
    max-width: 480px;
    position: relative;
}

.signup-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.signup-title i {
    color: var(--color-primary);
}

.signup-form {
    display: flex;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 0.35rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.signup-form:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-glow);
}

.signup-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.5rem 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--color-text);
    width: 100%;
}

.signup-input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.65;
}

.signup-btn {
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: var(--transition);
}

.signup-btn:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.02);
}

[data-theme="dark"] .signup-btn {
    color: #0b1410;
}

.signup-message {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    opacity: 0;
    transform: translateY(3px);
    transition: var(--transition);
}

.signup-message.visible {
    opacity: 1;
    transform: translateY(0);
}

.signup-message.success {
    color: #2ec4b6;
}

.signup-message.error {
    color: #ff3838;
}

/* Right Section - Expect List */
.expect-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fade-in-up 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.15s forwards;
}

.expect-eyebrow {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.expect-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.8rem;
    letter-spacing: -0.8px;
    color: var(--color-text);
}

.expect-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

/* Expect Cards */
.expect-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.expect-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 75%, var(--color-glow) 100%);
    opacity: 0;
    transition: var(--transition);
}

.expect-card:hover {
    transform: translateX(8px) scale(1.01);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

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

.expect-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-surface-alt);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.expect-card:hover .expect-icon-box {
    background: var(--color-primary);
    color: white;
    transform: rotate(6deg) scale(1.08);
}

[data-theme="dark"] .expect-card:hover .expect-icon-box {
    color: #0b1410;
}

.expect-info {
    flex: 1;
}

.expect-card-title {
    font-size: 1.15rem;
    font-weight: 750;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.expect-card-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Footer Section */
.app-footer {
    padding: 1.5rem var(--container-padding);
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.825rem;
    color: var(--color-text-muted);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
    flex: 1;
    justify-content: flex-start;
}

.footer-credits {
    flex: 1;
    text-align: center;
}

.footer-credits a {
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--color-primary);
    transition: var(--transition);
}

.footer-credits a:hover {
    color: var(--color-text);
    border-bottom-style: solid;
}

.footer-copyright {
    flex: 1;
    text-align: right;
}

@media (min-width: 768px) {
    .footer-socials {
        padding-left: 1.5rem;
        border-left: 1px solid var(--color-border);
    }

    .footer-copyright {
        padding-right: 1.5rem;
        border-right: 1px solid var(--color-border);
    }
}

.social-link {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    transition: var(--transition);
}

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

/* Keyframe Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toast Notification styling */
.toast-msg {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-surface-solid);
    color: var(--color-text);
    border: 1px solid var(--color-primary);
    border-left: 5px solid var(--color-primary);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 999;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.toast-msg.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-msg i {
    color: var(--color-primary);
    font-size: 1.25rem;
}

/* Ambient Audio Overlay visual overlay */
.ambient-overlay-glow {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 100;
}

/* Responsive CSS breakpoints */
@media (max-width: 1024px) {
    .dashboard-grid {
        gap: 2.5rem;
        padding: 2rem var(--container-padding);
    }

    .headline-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 860px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding-top: 1.5rem;
    }

    .countdown-section {
        align-items: center;
        text-align: center;
    }

    .launch-pill {
        margin-bottom: 0.75rem;
    }

    .headline-title {
        margin-bottom: 0.75rem;
    }

    .headline-desc {
        margin-bottom: 1.25rem;
        margin-left: auto;
        margin-right: auto;
    }

    .digital-clock-grid {
        margin-bottom: 1.25rem;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .signup-box {
        margin-left: auto;
        margin-right: auto;
    }

    .expect-section {
        align-items: center;
    }

    .expect-title {
        text-align: center;
    }

    .expect-cards-grid {
        width: 100%;
        max-width: 580px;
    }

    .app-footer {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
        gap: 1.25rem;
    }

    .footer-socials,
    .footer-credits,
    .footer-copyright {
        flex: none;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    html {
        font-size: 15px;
    }

    .app-header {
        padding: 1rem 1rem;
    }

    .logo-image {
        margin-left: 0.75rem;
    }

    .dashboard-grid {
        padding: 1.5rem 1.5rem 3rem 1.5rem;
    }

    /* Extra breathing room between each hero widget on mobile */
    .launch-pill {
        margin-bottom: 1.5rem;
    }

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

    .mobile-br {
        display: block;
    }

    .headline-desc {
        margin-bottom: 2rem;
    }

    .digital-clock-grid {
        gap: 0.6rem;
        margin-bottom: 2rem;
    }

    .launch-cta-container {
        margin-top: 0.5rem;
    }

    .time-slot {
        padding: 1rem 0.25rem;
        border-radius: 12px;
    }

    .digit {
        font-size: 2.2rem;
    }

    .label {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .signup-form {
        flex-direction: column;
        border-radius: var(--border-radius);
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .signup-input {
        padding: 0.6rem 0.75rem;
        text-align: center;
    }

    .signup-btn {
        width: 100%;
        padding: 0.85rem;
    }

    .app-footer {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
        gap: 1.25rem;
    }

    .footer-socials,
    .footer-credits,
    .footer-copyright {
        flex: none;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .headline-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 400px) {
    .headline-title {
        font-size: 1.95rem;
        letter-spacing: -1px;
    }
}

/* Progress Bar styling */
.progress-container {
    width: 100%;
    max-width: 520px;
    margin-top: 2rem;
    align-self: stretch;
    animation: fade-in-up 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s forwards;
}

.progress-bar-track {
    width: 100%;
    height: 12px;
    background-color: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary), #ffa502);
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px var(--color-glow);
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shimmer-bar 2.5s infinite linear;
}

@keyframes shimmer-bar {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-bar-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.progress-lbl-status {
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.progress-lbl-status i {
    color: var(--color-primary);
}

.progress-lbl-percent {
    color: var(--color-primary);
}

@media (max-width: 860px) {
    .progress-container {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Launch Now CTA Button styling */
.launch-cta-container {
    width: 100%;
    max-width: 520px;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-self: stretch;
    animation: fade-in-up 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s forwards;
}

.launch-cta-btn {
    width: 100%;
    padding: 1.1rem 2rem;
    background: var(--color-surface-solid);
    color: var(--color-text-muted) !important;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    outline: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
    pointer-events: none;
    transition: var(--transition);
}

/* Conic gradient circulating border */
.launch-cta-btn.disabled::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(var(--color-primary),
            #ffa502,
            #ff4757,
            var(--color-primary));
    animation: rotate-border 4s linear infinite;
    z-index: -2;
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Inner overlay card */
.launch-cta-btn.disabled::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--color-surface-solid);
    border-radius: 47px;
    z-index: -1;
    transition: var(--transition);
}

/* Loading Dots */
.dot-loading {
    display: inline-flex;
    margin-left: 2px;
}

.dot-loading span {
    animation: loading-dots 1.4s infinite;
    opacity: 0;
}

.dot-loading span:nth-child(1) {
    animation-delay: 0s;
}

.dot-loading span:nth-child(2) {
    animation-delay: 0.25s;
}

.dot-loading span:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes loading-dots {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Enabled Active State */
.launch-cta-btn:not(.disabled) {
    background: linear-gradient(90deg, var(--color-primary), #ffa502) !important;
    color: white !important;
    pointer-events: auto !important;
    box-shadow: 0 4px 20px rgba(44, 140, 153, 0.35) !important;
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%234ebfcf'><path d='M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z'/></svg>") 12 0, pointer !important;
    animation: cta-wave-pulse 2s infinite ease-in-out;
}

[data-theme="dark"] .launch-cta-btn:not(.disabled) {
    color: #0b1410 !important;
    box-shadow: 0 4px 20px rgba(78, 191, 207, 0.35) !important;
}

.launch-cta-btn:not(.disabled):hover {
    transform: translateY(-4px) scale(1.01) !important;
    box-shadow: 0 8px 30px rgba(44, 140, 153, 0.5) !important;
}

[data-theme="dark"] .launch-cta-btn:not(.disabled):hover {
    box-shadow: 0 8px 30px rgba(78, 191, 207, 0.5) !important;
}

.launch-cta-btn:not(.disabled)::before {
    display: none !important;
}

.launch-cta-btn:not(.disabled)::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    border: 2px solid var(--color-primary);
    animation: cta-ripple-expand 2s infinite ease-out;
    opacity: 0;
    z-index: -1;
    display: block !important;
}

@keyframes cta-wave-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(78, 191, 207, 0.5), 0 4px 20px rgba(44, 140, 153, 0.35);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(78, 191, 207, 0), 0 4px 25px rgba(44, 140, 153, 0.45);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(78, 191, 207, 0), 0 4px 20px rgba(44, 140, 153, 0.35);
    }
}

@keyframes cta-ripple-expand {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.12, 1.35);
        opacity: 0;
    }
}

.launch-cta-btn .btn-icon {
    font-size: 1.05rem;
    transition: transform 0.3s ease;
}

.launch-cta-btn .btn-icon.hidden {
    display: none !important;
}

.launch-cta-btn:not(.disabled) .btn-icon {
    display: inline-block !important;
}

.launch-cta-btn:not(.disabled):hover .btn-icon {
    transform: translateX(5px);
}

@media (max-width: 860px) {
    .launch-cta-container {
        margin-left: auto;
        margin-right: auto;
    }
}