:root {
    --bg-dark: #000000;
    --text-main: #ffffff;
    --text-muted: #666666;
    --signal-green: #00ff41;
    --signal-dim: rgba(0, 255, 65, 0.2);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Space Grotesk', monospace;
}

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

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

/* Grid Background */
.signal-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

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

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: 1px solid var(--text-main);
    background: transparent;
    color: var(--text-main);
}

.cta-button.small {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
}

.cta-button.primary {
    background: var(--text-main);
    color: var(--bg-dark);
}

.cta-button.primary:hover {
    background: var(--signal-green);
    border-color: var(--signal-green);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--signal-dim);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.status-indicator {
    font-size: 0.8rem;
    color: var(--signal-green);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blink {
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-title {
    font-size: 6rem;
    line-height: 0.9;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Hero Visual (Call Card) */
.hero-visual {
    position: relative;
    width: 400px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-card {
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    height: 550px;
    position: relative;
    overflow: hidden;
}

.call-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--signal-green), transparent);
    opacity: 0.5;
}

.call-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.signal-bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 20px;
    margin-bottom: 0.5rem;
}

.bar {
    width: 4px;
    background: var(--text-muted);
    border-radius: 2px;
}

.bar:nth-child(1) {
    height: 6px;
    background: var(--signal-green);
}

.bar:nth-child(2) {
    height: 10px;
    background: var(--signal-green);
}

.bar:nth-child(3) {
    height: 14px;
    background: var(--signal-green);
}

.bar:nth-child(4) {
    height: 18px;
    background: var(--signal-green);
}

.caller-id {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px var(--signal-dim);
}

.call-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.secure-icon {
    font-size: 0.8rem;
}

.call-time {
    color: var(--signal-green);
    font-family: monospace;
    background: rgba(0, 255, 65, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.waveform-container {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 120px;
}

.waveform-bar {
    width: 6px;
    background: var(--signal-green);
    border-radius: 3px;
    animation: smooth-wave 1s ease-in-out infinite alternate;
    height: 30px;
    opacity: 0.6;
    box-shadow: 0 0 10px var(--signal-dim);
}

.waveform-bar:nth-child(odd) {
    background: var(--signal-green);
    opacity: 0.6;
    box-shadow: 0 0 10px var(--signal-dim);
}

/* Staggered delays for wave effect */
.waveform-bar:nth-child(1) {
    animation-delay: 0.0s;
}

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

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

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

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

.waveform-bar:nth-child(6) {
    animation-delay: 0.5s;
}

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

.waveform-bar:nth-child(8) {
    animation-delay: 0.7s;
}

.waveform-bar:nth-child(9) {
    animation-delay: 0.8s;
}

.waveform-bar:nth-child(10) {
    animation-delay: 0.9s;
}

.waveform-bar:nth-child(11) {
    animation-delay: 1.0s;
}

.waveform-bar:nth-child(12) {
    animation-delay: 1.1s;
}

.waveform-bar:nth-child(13) {
    animation-delay: 1.2s;
}

.waveform-bar:nth-child(14) {
    animation-delay: 1.3s;
}

.waveform-bar:nth-child(15) {
    animation-delay: 1.4s;
}

@keyframes smooth-wave {
    0% {
        height: 20px;
        opacity: 0.4;
    }

    100% {
        height: 80px;
        opacity: 1;
    }
}

.call-actions {
    display: flex;
    gap: 2.5rem;
    width: 100%;
    justify-content: center;
}

.action-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.action-btn.end-call {
    background: #ff3b30;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.3);
}

.action-btn.end-call:hover {
    background: #ff453a;
    transform: scale(1.1);
}

/* Manifesto Section */
.manifesto-section {
    padding: 8rem 10%;
    background: #050505;
}

.manifesto-text p {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-muted);
    transition: color 0.5s;
}

.manifesto-text p:hover {
    color: var(--text-main);
}

.highlight {
    color: var(--signal-green);
}

/* Features Section */
.features-section {
    padding: 8rem 10%;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    max-width: 500px;
}

.feature-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Feature Visuals */
.feature-visual {
    width: 400px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.signal-circle {
    width: 150px;
    height: 150px;
    border: 2px solid var(--signal-green);
    border-radius: 50%;
    box-shadow: 0 0 50px var(--signal-dim);
    position: relative;
}

.signal-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--signal-green);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

.notification-card {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.notification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--signal-green);
}

.notif-header {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: space-between;
}

.notif-body {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
}

.data-core {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-inner {
    width: 60px;
    height: 60px;
    background: var(--signal-green);
    border-radius: 12px;
    box-shadow: 0 0 40px var(--signal-green);
    animation: pulse-core 3s infinite ease-in-out;
}

.core-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    animation: rotate-ring 10s linear infinite;
}

.core-ring::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--text-main);
    border-radius: 50%;
    box-shadow: 0 0 10px white;
}

@keyframes pulse-core {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

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

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

/* CTA Section */
.cta-section {
    padding: 8rem 10%;
    text-align: center;
}

.cta-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.cta-wrapper h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-wrapper p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.signup-form {
    display: flex;
    gap: 1rem;
}

.signup-form input {
    flex-grow: 1;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
    font-family: var(--font-main);
}

.signup-form input:focus {
    outline: none;
    border-color: var(--signal-green);
}

/* Footer */
footer {
    padding: 4rem 10%;
    border-top: 1px solid var(--glass-border);
}

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

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Audio Demo Section */
.audio-demo-section {
    padding: 6rem 10%;
    background: #080808;
    border-bottom: 1px solid var(--glass-border);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.section-header p {
    color: var(--text-muted);
}

.audio-player-ui {
    background: #111;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.audio-player-ui::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--signal-green), transparent);
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--signal-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--signal-dim);
}

.track-info {
    flex-grow: 1;
}

.track-title {
    display: block;
    font-family: monospace;
    color: var(--signal-green);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--signal-green);
    transition: width 0.1s linear;
}

.transcript-preview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 300px;
    font-size: 0.8rem;
}

.chat-bubble {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: opacity 0.5s;
}

.chat-bubble.hidden {
    opacity: 0;
}

.chat-bubble.user {
    align-self: flex-end;
    border-right: 2px solid var(--signal-green);
}

.chat-bubble.agent {
    align-self: flex-start;
    color: var(--text-muted);
}

/* Rolodex Section */
.rolodex-section {
    padding: 6rem 10%;
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.agent-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s;
    cursor: pointer;
}

.agent-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--signal-green);
    transform: translateY(-5px);
}

.agent-avatar {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: black;
    flex-shrink: 0;
}

.agent-logo {
    width: 28px;
    height: 28px;
    filter: brightness(0);
}

.agent-avatar.claude {
    background: #D97757;
}

.agent-avatar.gpt {
    background: #10A37F;
}

.agent-avatar.gemini {
    background: #4285F4;
}

.agent-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.agent-role {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.agent-status {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.agent-status.online {
    color: var(--signal-green);
}

.agent-status.online::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--signal-green);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--signal-green);
}

.agent-status.idle {
    color: var(--text-muted);
}

.agent-status.idle::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        padding-top: 8rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-visual {
        margin-top: 4rem;
        width: 100%;
        height: auto;
    }

    .call-card {
        height: 400px;
    }

    .feature-row {
        flex-direction: column;
        margin-bottom: 4rem;
        gap: 2rem;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    .feature-visual {
        width: 100%;
    }

    .nav-links {
        display: none;
    }

    .signup-form {
        flex-direction: column;
    }

    .audio-player-ui {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .transcript-preview {
        width: 100%;
    }

    .play-button {
        align-self: center;
    }
}