/* --- RESTORATION: HYPER-GLASS 2.0 (COMING SOON EDITION) --- */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* --- THEME: NEBULA GLASS --- */
    --bg-page: #020204;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-header: rgba(2, 2, 4, 0.8);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(74, 222, 128, 0.5);

    /* --- ACCENTS (NEON) --- */
    --primary: #4ade80;
    /* Neon Green */
    --primary-glow: rgba(74, 222, 128, 0.5);
    --secondary: #a855f7;
    /* Neon Purple */
    --accent: #22d3ee;
    /* Neon Cyan */

    /* --- TEXT --- */
    --text-main: #ffffff;
    --text-muted: #94a3b8;

    /* --- METRICS --- */
    --container-max: 1280px;
    --radius-card: 24px;
    --radius-btn: 12px;

    /* --- FONTS --- */
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- RESET & BASIC --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-page);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(74, 222, 128, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.08) 0%, transparent 25%);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.h1-hero {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    margin-bottom: 24px;
    background: linear-gradient(to bottom right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
}

.text-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- NAVIGATION (GLASS) --- */
.navbar {
    position: sticky;
    top: 20px;
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    height: 70px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    width: 100%;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-actions {
    display: flex;
    gap: 16px;
}

/* --- BUTTONS (NEON) --- */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(74, 222, 128, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* --- SECTIONS --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-py {
    padding-top: 120px;
    padding-bottom: 120px;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* --- CONFLICT CARDS --- */
.card-old {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    opacity: 0.7;
    transition: 0.3s;
}

.card-old:hover {
    opacity: 1;
    background: rgba(239, 68, 68, 0.05);
    border-color: #ef4444;
}

.card-new {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(74, 222, 128, 0.1);
}

.card-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(74, 222, 128, 0.1), transparent);
    transform: translateY(-100%);
    animation: scanline 3s infinite linear;
    pointer-events: none;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* --- CARDS (HYPER GLASS) --- */
.card-saas {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-card);
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card-saas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.card-saas:hover::before {
    transform: translateX(100%);
}

.card-saas:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 50px -10px rgba(74, 222, 128, 0.15);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(74, 222, 128, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

/* --- LOGO ANIMATION --- */
@keyframes pulse-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.5));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 25px rgba(74, 222, 128, 0.8));
        transform: scale(1.05);
    }
}

.logo-animate {
    animation: pulse-glow 3s infinite ease-in-out;
}

/* --- FOOTER --- */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    text-align: center;
    color: var(--text-muted);
}

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

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

/* --- HYPER MARKETING ANIMATIONS --- */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 20px rgba(74, 222, 128, 0.8);
    }
}

@keyframes cursor-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.blink-cursor {
    animation: cursor-blink 1s step-end infinite;
}

@keyframes glimmer {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* --- ADVANCED MOTION --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.float-slow {
    animation: float 6s ease-in-out infinite;
}

.float-medium {
    animation: float 4s ease-in-out infinite;
}

/* --- MOBILE RESPONSIVENESS (ULTRA) --- */
@media (max-width: 768px) {

    /* --- TYPOGRAPHY SCALING --- */
    .h1-hero {
        font-size: 2.5rem !important;
        /* Was 3rem */
        margin-bottom: 24px !important;
    }

    h2 {
        font-size: 1.8rem !important;
        /* Was 2.2rem */
        line-height: 1.2 !important;
        margin-bottom: 24px !important;
    }

    /* Manifesto Quote */
    h2[style*="font-size: 4rem"] {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 40px !important;
    }

    .text-lead {
        font-size: 1rem !important;
        padding: 0 16px;
        margin-bottom: 40px !important;
    }

    /* --- TERMINAL COMPACTING --- */
    .card-saas[style*="font-family: 'Fira Code'"] {
        font-size: 0.75rem !important;
        /* Smaller code font */
    }

    .card-saas[style*="font-family: 'Fira Code'"]>div {
        padding: 16px !important;
        /* Reduce padding inside terminal */
    }

    /* --- SECTION SPACING --- */
    .section-py {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .section-py[style*="padding-top: 180px"] {
        padding-top: 100px !important;
        padding-bottom: 40px !important;
    }

    .container {
        padding: 0 16px;
        /* Tighter container */
    }

    /* --- GRID & LAYOUT --- */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        /* Even tighter gap */
    }

    /* --- NAVBAR (MOBILE MENU) --- */
    .navbar {
        width: 100%;
        top: 0;
        border-radius: 0;
        background: rgba(2, 2, 4, 0.95);
        padding: 16px 0;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        /* Height of navbar */
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        background: #020204;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        gap: 40px;
        font-size: 1.5rem;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-actions {
        display: none;
        /* Hide desktop actions in menu for now, or move them inside */
    }

    /* --- FOOTER RESPONSIVENESS --- */
    .site-footer {
        padding: 40px 0 24px !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px 16px !important;
        /* Row gap 32, Col gap 16 */
        text-align: left;
        /* Reset to left align for grid */
    }

    .footer-brand {
        grid-column: 1 / -1;
        /* Span full width */
        text-align: center;
        margin-bottom: 16px;
    }

    .footer-col {
        /* Default behavior will put them in grid cells */
    }

    .footer-col h4 {
        margin-bottom: 12px !important;
        font-size: 1rem !important;
    }

    .footer-col ul {
        align-items: flex-start;
        /* Left align items */
        display: flex;
        flex-direction: column;
    }

    /* --- CARDS RESPONSIVENESS --- */
    .card-saas,
    .card-old,
    .card-new {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* --- LAUNCH BADGE SECTION FIX --- */
    div[style*="display: flex; justify-content: space-between; align-items: center;"] {
        flex-direction: column;
        gap: 20px;
    }

    div[style*="width: 45%"] {
        width: 100% !important;
        text-align: center !important;
    }

    /* --- HAMBURGER BUTTON --- */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-toggle span {
        width: 100%;
        height: 3px;
        background: #fff;
        border-radius: 3px;
        transition: 0.3s;
    }

    /* Hamburger Animation */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -8px);
    }

    .no-scroll {
        overflow: hidden;
    }

    /* --- GRID & LAYOUT --- */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        /* Compact gap */
    }

    /* --- ROADMAP / TIMELINE FIXES --- */
    /* Hide the vertical line */
    div[style*="width: 2px"] {
        display: none !important;
    }

    /* Stack the timeline items */
    div[style*="display: flex; justify-content: space-between; align-items: center;"] {
        flex-direction: column;
        gap: 16px !important;
        text-align: center;
        margin-bottom: 40px !important;
    }

    /* Reset widths for timeline sides */
    div[style*="width: 45%"] {
        width: 100% !important;
        text-align: center !important;
    }

    /* Center the dot */
    div[style*="width: 20px"],
    div[style*="width: 30px"] {
        margin: 0 auto 10px;
    }

    /* --- HERO ADJUSTMENTS --- */
    .section-py[style*="padding-top: 180px"] {
        padding-top: 100px !important;
        padding-bottom: 40px !important;
    }

    /* --- TRUST LOGOS --- */
    div[style*="gap: 60px"] {
        gap: 30px !important;
    }

    div[style*="gap: 60px"] h3 {
        font-size: 0.9rem !important;
    }

    /* --- GLOBAL IMAGE SAFETY --- */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Hide decorative background elements that might overflow */
    .section-py>div[style*="position: absolute"] {
        width: 100% !important;
        height: 100% !important;
        display: none;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px !important;
    }
}

.float-fast {
    animation: float 3s ease-in-out infinite;
}

.text-shimmer {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: rgba(255, 255, 255, 0.2);
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.hover-glow {
    transition: all 0.5s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px var(--primary-glow);
    transform: scale(1.02);
    border-color: var(--primary);
}