:root {
    --bg-color: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-red: #ff4757;
    --accent-green: #2ed573;
    --accent-blue: #3742fa;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

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

/* Hero Section */
.hero {
    padding: 6rem 1rem 2rem 1rem;
    /* Reduced bottom padding */
    position: relative;
}

.hero-title {
    font-family: var(--font-heading), 'Arial Black', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    min-height: 6rem;
    /* Reduced slightly, removing flex to fix text flow */
}

.highlight-text {
    color: var(--accent-red);
    font-weight: 800;
    display: inline-block;
    transition: opacity 0.5s ease-in-out;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 71, 87, 0.4);
    letter-spacing: 1px;
}

.highlight-text.fade-out {
    opacity: 0;
}

/* Form */
.waitlist-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

input[type="email"] {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid var(--text-secondary);
    background: transparent;
    color: var(--text-primary);
    width: 300px;
    outline: none;
    transition: border-color 0.3s;
}

input[type="email"]:focus {
    border-color: var(--accent-green);
}

button {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    background: var(--accent-red);
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

.hidden {
    display: none;
}

#form-message {
    font-size: 1.1rem;
    color: var(--accent-green);
    margin-top: 1rem;
}

/* Mock Section */
.mock-section {
    padding: 4rem 1rem;
}

.mock-section h2 {
    font-family: var(--font-heading), 'Arial Black', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

.zoom-mock-container {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.zoom-window {
    width: 100%;
    max-width: 800px;
    background: #000;
    border-radius: 12px;
    border: 1px solid #333;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: rotateX(5deg);
    transition: transform 0.5s;
}

.zoom-window:hover {
    transform: rotateX(0deg);
}

.zoom-header {
    background: #222;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.meeting-title {
    color: #999;
    font-size: 0.9rem;
    margin-left: 1rem;
    flex-grow: 1;
}

.live-badge {
    background: red;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.zoom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 4px;
    padding: 4px;
    background: #111;
}

.participant {
    background: #333;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.participant img {
    width: 60%;
    height: auto;
    opacity: 0.8;
}

.name {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: white;
}

/* Overlay Style */
.cost-overlay {
    position: absolute;
    top: 60px;
    right: 20px;
    background: rgba(255, 71, 87, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    text-align: right;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.overlay-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    opacity: 0.9;
}

.overlay-cost {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin: 0.5rem 0;
}

.overlay-sub {
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.8;
}

.zoom-controls {
    background: #1a1a1a;
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    border-top: 1px solid #333;
}

.control-btn {
    width: 40px;
    height: 40px;
    background: #444;
    border-radius: 50%;
}

.control-btn.leave {
    width: auto;
    padding: 0 1.5rem;
    border-radius: 20px;
    background: #cc0000;
    color: white;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 0.9rem;
}

footer {
    padding: 4rem 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        min-height: 9rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .cost-overlay {
        padding: 1rem;
        top: auto;
        bottom: 80px;
        right: 10px;
        left: 10px;
        text-align: center;
    }
}