:root {
    --bg-color: #050505;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --accent-1: #6366F1;
    /* Indigo */
    --accent-2: #3B82F6;
    /* Electric Blue */
    --accent-3: #A855F7;
    /* Purple */
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Background Effects */
.blob-bg {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(5, 5, 5, 0) 70%);
    filter: blur(80px);
    z-index: -2;
    animation: float 20s ease-in-out infinite alternate;
}

.blob-2 {
    top: 40%;
    left: 40%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(5, 5, 5, 0) 70%);
    animation-delay: -10s;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5%, 5%) scale(1.1);
    }
}

/* Navigation */
nav {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    /* Matches SVG corner radius visually */
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    display: block;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    max-width: 800px;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-chips {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-chip {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 100px;
    color: #C084FC;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.hero-chip.target-audience {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #38bdf8;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.hero-title span.text-blue {
    background: linear-gradient(135deg, #38bdf8, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Urgency Banner */
.urgency-banner {
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(10px);
    animation: pulseBorder 2.5s infinite alternate;
}

@keyframes pulseBorder {
    0% {
        border-color: rgba(168, 85, 247, 0.15);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(168, 85, 247, 0);
    }

    100% {
        border-color: rgba(168, 85, 247, 0.5);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(168, 85, 247, 0.2);
    }
}

.urgency-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.urgency-highlight {
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ff4b2b, #ff416c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.urgency-action {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Form */
.signup-form {
    width: 100%;
    max-width: 500px;
}

.input-group {
    display: flex;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: drawFocus 2.5s infinite alternate;
}

@keyframes drawFocus {
    0% {
        border-color: var(--glass-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(168, 85, 247, 0);
    }

    100% {
        border-color: rgba(168, 85, 247, 0.5);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.4);
    }
}

.input-group:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 10px 30px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
    animation: none;
}

input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    font-size: 1.05rem;
    outline: none;
    width: 100%;
}

input[type="email"]::placeholder {
    color: #52525B;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 100px;
    padding: 0 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.95rem;
    height: 1.2rem;
    color: #A1A1AA;
    transition: opacity 0.3s;
}

.form-message.success {
    color: #10B981;
}

.form-message.error {
    color: #EF4444;
}

/* Spinner */
.spinner {
    animation: rotate 2s linear infinite;
    z-index: 2;
    width: 20px;
    height: 20px;
}

.spinner .path {
    stroke: currentColor;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

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

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Demo Section */
.demo-section {
    width: 100%;
    max-width: 900px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.mockup-container {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
}

.mac-window-controls {
    display: flex;
    gap: 8px;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
}

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

.dot.close {
    background: #FF5F56;
}

.dot.minimize {
    background: #FFBD2E;
}

.dot.maximize {
    background: #27C93F;
}

.mockup-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 15, 0.6);
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mockup-content:hover {
    background: rgba(10, 10, 15, 0.4);
}

.mockup-content:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
}

.play-button {
    width: 72px;
    height: 72px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(99, 102, 241, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.mockup-content p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Footer */
.main-footer {
    padding: 4rem 5% 2rem;
    width: 100%;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    border: none;
    margin-bottom: 2.5rem;
    opacity: 0.6;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-icons {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin-bottom: 0.5rem;
}

.icon-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.icon-item a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(99, 102, 241, 0.3);
}

.icon-item svg {
    width: 20px;
    height: 20px;
}

.footer-attribution {
    font-size: 1rem;
    color: var(--text-secondary);
}

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

.copyright {
    font-size: 0.85rem;
    color: #52525B;
}

@media (max-width: 768px) {
    .main-footer {
        padding: 3rem 5% 2rem;
    }

    .footer-divider {
        margin-bottom: 2rem;
    }

    .footer-icons {
        gap: 1rem;
    }

    .icon-item a {
        width: 42px;
        height: 42px;
    }
}

/* How it works & Features Grid & FAQ */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.how-it-works,
.features-grid,
.faq-section {
    width: 100%;
    margin-bottom: 4rem;
}

.steps-container,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
}

.step-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(0, 212, 255, 0.15);
    margin-bottom: 0.5rem;
    font-family: monospace;
}

.step-card h3,
.feature-item h3,
.faq-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-card p,
.feature-item p,
.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.4);
}

.faq-section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item h3 {
    color: #00d4ff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-item.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active .modal-backdrop {
    opacity: 1;
}

.modal-container {
    width: 100%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1001;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-container {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-modal {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.policy-content {
    line-height: 1.7;
    color: var(--text-secondary);
}

.policy-content h3 {
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.policy-content h4 {
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary);
}

.policy-content p {
    margin-bottom: 1rem;
}

.policy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.policy-content strong {
    color: var(--text-primary);
}

.last-updated {
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.policy-content a {
    color: var(--accent-2);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.policy-content a:hover {
    border-color: var(--accent-2);
}

/* Custom Scrollbar for Modal Body */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .modal-container {
        max-height: 90vh;
    }

    .modal-header {
        padding: 1rem 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
        border-radius: 16px;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        gap: 0.75rem;
        animation: none;
        /* Disable on mobile div */
    }

    .input-group:focus-within {
        box-shadow: none;
        background: transparent;
        border-color: transparent;
    }

    input[type="email"] {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--glass-border);
        border-radius: 16px;
        text-align: center;
        padding: 1.25rem 1rem;
        font-size: 1rem;
        animation: drawFocusMobile 2.5s infinite alternate;
    }

    @keyframes drawFocusMobile {
        0% {
            border-color: var(--glass-border);
            box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
        }

        100% {
            border-color: rgba(99, 102, 241, 0.4);
            box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
        }
    }

    input[type="email"]:focus {
        animation: none;
        border-color: rgba(99, 102, 241, 0.5);
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    }

    .btn-primary {
        padding: 1.25rem 1rem;
        justify-content: center;
        width: 100%;
        border-radius: 16px;
        font-size: 1.05rem;
    }

    .mockup-container {
        aspect-ratio: 4/3;
        border-radius: 16px;
    }

    .hero {
        margin-bottom: 3rem;
        padding: 0 0.5rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
}