/* Base Reset & Variables */
:root {
    --bg-color: #080a10;
    /* Very dark blue/black for that Stripe/Linear feel */
    --text-color: #e0e0e0;
    --text-muted: #8a8f98;
    --primary-color: #1256f5;
    /* Brand blue */
    --primary-hover: #3D73F7;
    --primary-dark: #0D42C2;
    /* Darker blue for gradients */
    --secondary-bg: #12141c;
    --border-color: #272a36;
    --accent-glow: rgba(18, 86, 245, 0.4);
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    --spacing-container: 1200px;
    --radius-card: 12px;
    --radius-btn: 6px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Icons */
.icon-red {
    color: #ff5c5c;
}

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(18, 86, 245, 0.1);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(18, 86, 245, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(8, 10, 16, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(18, 86, 245, 0.15);
    border: 1px solid rgba(18, 86, 245, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #5C8EF8;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    max-width: 900px;
    margin: 0 auto 24px;
    background: linear-gradient(to right, #ffffff, #b0b0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

/* Hero Visual */
.hero-visual {
    margin-top: 50px;
    perspective: 1000px;
}

.hero-image-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Subtle border ring */
    overflow: hidden;
    /* Clip image to radius */
    transform: rotateX(2deg);
    /* Very subtle tilt */
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-image-container:hover {
    transform: rotateX(0deg) scale(1.01);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    /* Blend slightly with the dark background if needed, but the photo is already styled */
}

/* Floating Overlay Card */
.hero-overlay-card {
    position: absolute;
    bottom: 30px;
    right: -20px;
    /* Floating slightly off-center for depth */
    background: rgba(18, 20, 28, 0.85);
    /* Dark clean bg */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: floatCard 4s ease-in-out infinite;
    z-index: 10;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.card-icon {
    width: 36px;
    height: 36px;
    background: rgba(18, 86, 245, 0.2);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 20px;
    height: 20px;
}

.card-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.card-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

/* Grid Systems */
.grid {
    display: grid;
    gap: 24px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Cards */
.card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--radius-card);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(18, 86, 245, 0.3);
}

.problem-card h3 {
    font-size: 1.25rem;
    margin: 16px 0 8px;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--text-muted);
}

/* How It Works - Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 24px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.step-connector {
    flex: 0.5;
    height: 1px;
    background: var(--border-color);
    margin-top: 40px;
    /* Align roughly with content top */
    display: none;
    /* Hidden on mobile, shown on desk if needed */
}

/* Audience List */
.audience-card h3 {
    margin-bottom: 24px;
    font-size: 1.4rem;
}

.audience-card ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.audience-card.good li i {
    color: #5bc27d;
}

.audience-card.bad li i {
    color: #ff5c5c;
}

/* Social Proof */
.proof-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.proof-text {
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.logos-grayscale {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    color: #4a4f5a;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Waitlist */
.waitlist-section {
    background: radial-gradient(circle at center, #1a1d2d 0%, var(--bg-color) 100%);
}

.waitlist-container {
    max-width: 600px;
}

.waitlist-content {
    background: #151720;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.waitlist-content h2 {
    margin-bottom: 12px;
}

.waitlist-content p {
    margin-bottom: 32px;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 16px;
}

input,
select {
    width: 100%;
    padding: 12px 16px;
    background: #080a10;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-btn);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.2s;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
}

input.error {
    border-color: #ff5c5c;
}

input.success {
    border-color: #5bc27d;
}

.form-error {
    color: #ff5c5c;
    font-size: 0.85rem;
    margin-top: 4px;
    display: none;
}

.form-error.show {
    display: block;
}

/* reCAPTCHA Styling */
.g-recaptcha {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 600px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center center;
    }
}


/* Loading Spinner */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Waitlist Counter */
.waitlist-counter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    padding: 32px 48px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    max-width: 500px;
    margin: 0 auto;
}

.counter-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(18, 86, 245, 0.2), rgba(13, 66, 194, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.counter-icon svg {
    width: 32px;
    height: 32px;
}

.counter-content {
    text-align: left;
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(to right, #ffffff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    z-index: 10000;
    background: #151720;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(91, 194, 125, 0.2), rgba(91, 194, 125, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #5bc27d;
    animation: scaleIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.modal-icon svg {
    width: 48px;
    height: 48px;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.modal-description {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.modal-share {
    margin-bottom: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.share-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}

.share-btn:hover {
    background: rgba(18, 86, 245, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.share-btn svg {
    width: 20px;
    height: 20px;
}


/* Founder Note */
.founder-note {
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 12px;
}

.founder-sign {
    margin-top: 16px;
    font-weight: 600;
    color: #fff;
    font-style: normal;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {

    /* Layout */
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    /* Typography */
    .hero-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    /* Spacing */
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 120px 0 60px;
    }

    /* Navbar fixed for mobile */
    .navbar {
        padding: 12px 0;
    }

    .navbar .container {
        padding: 0 16px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .logo {
        font-size: 1.25rem;
        z-index: 101;
        margin-top: 4px;
        /* User requested top margin */
        margin-left: 4px;
        /* User requested left margin */
    }

    .navbar .btn-sm {
        padding: 6px 10px;
        font-size: 0.75rem;
        width: auto;
        max-width: none;
        margin-bottom: 0;
        margin-right: 5px;
        /* User requested right margin */
    }

    /* Prevent horizontal scroll from glow */
    body {
        overflow-x: hidden;
    }

    .hero-glow {
        display: none;
        /* Hide glow on mobile to prevent overflow/distraction */
    }

    /* Elements */
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-image-container {
        width: 100%;
        height: auto;
        margin-top: 24px;
        transform: none !important;
        /* Disable 3D tilt on mobile */
    }

    .hero-overlay-card {
        width: 90%;
        right: 50%;
        transform: translateX(50%);
        bottom: 16px;
        padding: 10px 14px;
        animation: none;
        /* Disable float to save battery/performance */
    }

    @keyframes floatCard {

        /* Reset for mobile if needed, though animation: none handles it */
        0%,
        100% {
            transform: translateX(50%);
        }
    }

    .steps-container {
        flex-direction: column;
        gap: 40px;
    }

    .step-connector {
        display: none;
    }

    .step {
        width: 100%;
        margin-bottom: 0;
    }

    .btn {
        width: 100%;
    }

    .waitlist-content {
        padding: 24px;
    }
}