/* Seeker Landing Page Styles */

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

body {
    /*    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;*/
    /*  Don't set body font here. Set it in the main.css  */
    line-height: 1.6;
    color: #374151;
    background-color: #F8FAFF;
}

body.marketing-page {
    background: #0a0f24;
}

.marketing-page .hero-section {
    min-height: calc(100vh - 72px);
    padding: 48px 0;
}

.marketing-page .hero-content {
    gap: 16px;
    margin-top: 0;
}

.marketing-page .hero-subtitle {
    font-size: 16px;
    line-height: 1.3;
}

.marketing-page .hero-title {
    font-size: 42px;
    line-height: 1.08;
}

.marketing-page .hero-description {
    font-size: 16px;
    margin-top: 12px;
}

/* Navigation Bar Styles */
.landing-navbar {
    /* background: linear-gradient(135deg, #0a0f24 100%, #101a3d 100%); */
    background: linear-gradient(135deg, #0a0f24 100%, #101a3d 100%);
    border-bottom: 1px solid #071742;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.navbar-container {
    /*    max-width: 1200px;*/
    width: 90%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 48px;
}

.navbar-logo .logo-img {
    height: 32px;
    width: auto;
    display: flex;
    align-items: center;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #95eafd;
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.nav-dropdown-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-icon,
.nav-dropdown:focus-within .nav-dropdown-icon,
.nav-dropdown.open .nav-dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 160px;
    background: #0a0f24;
    border: 1px solid rgba(213, 226, 249, 0.18);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
    padding: 8px;
    z-index: 1001;
}

/* Invisible bridge over the gap between the toggle and the menu so
   hover doesn't drop out while the pointer crosses the empty space. */
.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
}

.nav-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #95eafd;
}

.navbar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
}

.mobile-menu-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(160deg, #0a0f24 0%, #101a3d 100%);
    min-height: calc(100vh - 72px);
    display: flex;
    padding: 2vh 0 0 0;
    align-items: center;
    /* padding: 96px 0 40px 0;
    align-items: flex-start; */
}

.hero-container {
    /*    max-width: 1200px;*/
    width: 90%;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    height: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: -40px;
}

.hero-content > .tag {
    align-self: flex-start;
}

.hero-subtitle {
    font-size: 1.3em;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 0.2;
}

.tag.highlight.dark {
    background-image:
        linear-gradient(#0a0f24, #0a0f24), linear-gradient(-90deg, #6366f1, #4338ca);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.tag.highlight.dark::after {
    background: none;
    -webkit-text-fill-color: #fff;
    background-clip: unset;
    color: #fff;
}

.hero-title {
    font-family: 'Titillium Web', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 0;
}

.hero-description {
    font-size: 16px;
    color: #d4d4d4;
    line-height: 1.6;
    max-width: 460px;
}

.hero-cta {
    display: flex;
    gap: 24px;
    align-items: center;
}

.hero-cta .btn,
.hero-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-cta-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-cta-link:hover {
    text-decoration: underline;
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic img {
    max-height: 54vh;
}

.node-graph {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Company Cards Section */
.company-cards-section {
    grid-column: 1 / -1;
    margin-top: 40px;
    text-align: center;
    width: 100%;
}

.company-cards-subheadline {
    font-size: 1em;
    font-weight: 300;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.company-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.company-card {
    background: white;
    padding: 20px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 120px;
    justify-content: center;
}

.company-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.15);
}

.company-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.company-link {
    color: #1740cf;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.company-link:hover {
    color: #0d2a9c;
    text-decoration: underline;
}

/* Section Styles */
.landing-section {
    padding: 80px 0;
}

.marketing-page .landing-section {
    background: linear-gradient(180deg, #0a0f24 0%, #101a3d 100%);
}

.marketing-page .section-container {
    position: relative;
}

.marketing-page .section-header {
    margin-bottom: 56px;
}

.marketing-page .section-title,
.marketing-page .section-three-content h2 {
    font-size: 36px;
    line-height: 1.16;
}

.marketing-page .section-title,
.marketing-page .section-three-content h2 {
    color: #FFFFFF;
}

.marketing-page .section-subtitle,
.marketing-page .section-three-content p {
    font-size: 17px;
    color: #D7DEEC;
}

.marketing-page .feature-card,
.marketing-page .process-card,
.marketing-page .waitlist-panel,
.marketing-page .cta-card {
    border: 1px solid rgba(213, 226, 249, 0.16);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Section One - What is a Node */
.section-one {
    background: white;
}

.marketing-page .section-one {
    background: linear-gradient(180deg, #0a0f24 0%, #101a3d 100%);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: left; /* Do we want this to be `center` instead? */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: none;
    border-radius: none; /* 16px; */
    display: flex;
    color: #1740cf;
    /* Removing the centering, but do we prefer center?  */
    /*    margin: 0 auto 24px;*/
    align-items: left; /* center; */
    justify-content: left; /* center; */
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.feature-card p {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.6;
}

/* Section Two - Process Cards */
.section-two {
    background: #F8FAFF;
}

.marketing-page .section-two {
    background: linear-gradient(180deg, #101a3d 0%, #0a0f24 100%);
}

.process-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.process-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.process-icon {
    width: 120px;
    height: 120px;
    /*  Margin = (0.5 * height) + process-card top padding  */
    margin: -88px auto 24px;
    background: none;
    /*    border-radius: 20px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 1;
}

.process-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.process-card p {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.6;
}

/* Section Three - Final CTA */
.section-three {
    background: white;
}

.marketing-page .section-three {
    background: linear-gradient(180deg, #0a0f24 0%, #101a3d 100%);
}

.section-three-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
}

.section-three-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-three-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-three-content p {
    font-size: 20px;
    color: #6B7280;
    line-height: 1.6;
}

/* Light variant: used to opt a section out of the dark marketing-page theme */
.marketing-page .light-section {
    background: #F8FAFF;
}

.marketing-page .light-section .section-title {
    color: #111827;
}

.marketing-page .light-section .section-subtitle {
    color: #6B7280;
}

.marketing-page .light-section .section-three-content h2 {
    color: #111827;
}

.marketing-page .light-section .section-three-content p {
    color: #6B7280;
}

/* Waitlist Section */
.waitlist-section {
    background: #F8FAFF;
}

.waitlist-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 48px;
    align-items: center;
    border: 1px solid #DDE7F7;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 44px;
}

.waitlist-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.waitlist-copy h2 {
    color: #111827;
    font-size: 38px;
    line-height: 1.15;
    margin: 0;
}

.waitlist-copy p {
    color: #4B5563;
    font-size: 18px;
    line-height: 1.6;
    max-width: 420px;
}

.waitlist-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.waitlist-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.waitlist-field:nth-child(3),
.waitlist-status,
.waitlist-submit {
    grid-column: 1 / -1;
}

.waitlist-field label {
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.waitlist-field input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #C9D3E2;
    border-radius: 8px;
    background: #FFFFFF;
    color: #111827;
    font-size: 16px;
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-field input:focus {
    outline: none;
    border-color: #1740cf;
    box-shadow: 0 0 0 3px rgba(23, 64, 207, 0.12);
}

.waitlist-field input.is-invalid {
    border-color: #B91C1C;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

.waitlist-field-error {
    min-height: 18px;
    color: #B91C1C;
    font-size: 13px;
    line-height: 1.35;
}

.waitlist-status {
    border: 1px solid #FCA5A5;
    border-radius: 8px;
    background: #FEF2F2;
    color: #991B1B;
    font-size: 14px;
    line-height: 1.4;
    padding: 10px 12px;
}

.waitlist-status.is-success {
    border-color: #93C5FD;
    background: #EFF6FF;
    color: #1E40AF;
}

.waitlist-submit {
    justify-self: start;
    min-width: 180px;
}

/* Footer Styles */
.landing-footer {
/*    background: #111827;*/
    background: linear-gradient(135deg, #0a0f24 100%, #101a3d 100%);
    color: white;
    padding: 64px 0 32px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 16px;
    color: #9CA3AF;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-link {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
}

.footer-copyright {
    color: #9CA3AF;
    font-size: 14px;
}

.footer-social-icon {
    height: 1.2em;
    margin: 15px 15px 0 0;
}

.footer-cta-section {
    border-bottom: 1px solid #374151;
    padding: 0 0 3% 0;
    margin: 0 0 3% 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .company-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 600px;
    }

    .section-three-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .waitlist-panel {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-right {
        display: none;
    }
    .navbar-links {
        display: none;
    }

    .mobile-menu-toggle {
        color: rgba(255, 255, 255, 0.85);
        display: block;
    }

    .hero-section {
        min-height: calc(100vh - 72px);
        padding: 8vh 0 0 0; /*  60px 0 40px 0;  */
        align-items: flex-start;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 16px;
    }

    .hero-content {
        order: 1;
        max-width: 100%;
        width: 100%;
    }

    .hero-subtitle {
        font-size: 1.1em;
        line-height: 1.2;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.1;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-description {
        font-size: 16px;
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-graphic {
        order: 2;
        width: 100%;
        max-width: 100%;
    }

    .hero-graphic img {
        max-width: 420px;
        width: 85%;
        height: auto;
        object-fit: contain;
    }

    .company-cards-section {
        order: 3;
        margin-top: 40px;
        width: 100%;
        padding: 0 10px;
    }

    .company-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
        width: 100%;
    }

    .company-cards-subheadline {
        font-size: 18px;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .company-card {
        padding: 12px 8px;
        min-height: 90px;
    }

    .company-logo {
        height: 30px;
        max-width: 100px;
    }

    .company-link {
        font-size: 12px;
        text-align: center;
    }

    .section-title {
        font-size: 36px;
    }

    .section-three-content h2 {
        font-size: 36px;
    }

    .waitlist-panel {
        padding: 32px 24px;
    }

    .waitlist-copy {
        align-items: center;
        text-align: center;
    }

    .waitlist-copy h2 {
        font-size: 32px;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .btn-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-row .btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        width: 96%;
    }

    .hero-section {
        min-height: calc(100vh - 72px);
        padding: 4vh 0 0 0; /*  48px 0;  */
        align-items: flex-start;
    }

    .landing-section {
        padding: 48px 0;
    }

    .hero-container {
        padding: 0 12px;
        padding-top: 5%;
        padding-bottom: 5%;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 14px;
        padding: 0 5px;
    }

    .hero-graphic img {
        /* max-width: 250px; */
        width: 100%;
    }

    .company-cards {
        grid-template-columns: 1fr;
        gap: 8px;
        max-width: 280px;
        margin: 0 auto;
    }

    .company-cards-subheadline {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .company-card {
        padding: 10px 6px;
        min-height: 80px;
    }

    .company-logo {
        height: 25px;
        max-width: 80px;
    }

    .company-link {
        font-size: 11px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-three-content h2 {
        font-size: 28px;
    }

    .waitlist-copy h2 {
        font-size: 28px;
    }

    .waitlist-copy p {
        font-size: 16px;
    }

    .waitlist-submit {
        width: 100%;
    }

    .feature-cards,
    .process-cards {
        grid-template-columns: 1fr;
    }
}
