:root {
    --bg: #050505;
    --panel: rgba(255, 255, 255, 0.06);
    --panel2: rgba(255, 255, 255, 0.10);
    --stroke: rgba(255, 255, 255, 0.12);
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.72);
    --muted2: rgba(255, 255, 255, 0.55);
    --brandA: #00C6FF;
    --brandB: #0072FF;
    --brandC: #c467ff;
    --ok: #34d399;
    --warn: #fbbf24;
    --success: #57a778;
    /* Verified Brand Green */
    --shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
    --r: 22px;
    --max: 1160px;
    --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    --head: "Outfit", var(--font);

    /* Legacy mapping for compatibility */
    --primary: var(--brandB);
    --accent: var(--brandA);
    --glass-bg: var(--panel);
    --glass-border: var(--stroke);
    --text-light: var(--text);
    --bg-dark: var(--bg);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    /* Solid fallback */
    overflow-x: hidden;
}

/* Premium Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #050505;
    overflow: hidden;
}

.animated-bg::before,
.animated-bg::after {
    content: '';
    position: absolute;
    width: 80vw;
    height: 80vw;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: bgDrift 20s infinite alternate ease-in-out;
}

.animated-bg::before {
    background: radial-gradient(circle, var(--brandA), transparent 70%);
    top: -20%;
    left: -20%;
}

.animated-bg::after {
    background: radial-gradient(circle, var(--brandC), transparent 70%);
    bottom: -20%;
    right: -20%;
    animation-delay: -10s;
    animation-duration: 25s;
}

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

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

/* Background Glow Effect - REMOVED (Replaced by Body Radial) */

.container {
    width: min(92vw, var(--max));
    margin: 0 auto;
}

/* Typography & Buttons */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.1;
    font-family: var(--head);
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brandA), var(--brandB), var(--brandC));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 80px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
    user-select: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
}

.btn-primary {
    border-color: rgba(0, 198, 255, 0.35);
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.26), rgba(0, 114, 255, 0.26));
    box-shadow: none;
}

.btn-primary:hover {
    border-color: rgba(0, 198, 255, 0.55);
    transform: translateY(-1px);
    box-shadow: none;
    /* Reference doesn't use heavy shadow on hover */
}

.btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--muted);
}

.btn-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
}

/* Header */
.glass-header {
    position: sticky;
    /* Updated from fixed for reference behavior */
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(5, 5, 5, 0.68);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text .highlight {
    color: var(--primary);
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a:not(.btn) {
    color: var(--text-muted);
}

nav a:not(.btn):hover {
    color: white;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Glass Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
}

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

/* .section-header h2 removed */

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

.calculator-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

.input-group {
    margin-bottom: 32px;
}

.input-group label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 500;
}

.input-group label span {
    color: var(--accent);
    font-weight: 700;
}

input[type=range] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    appearance: none;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px var(--primary);
    transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.calc-result {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

.revenue-display {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin: 16px 0;
    text-shadow: 0 0 30px rgba(100, 50, 255, 0.4);
}

.revenue-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Features */
.features-section {
    padding: 80px 0;
}

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

.feature-card {
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
}

.row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.col-text,
.col-visual {
    flex: 1;
}

.check-list {
    list-style: none;
    margin: 32px 0;
}

.check-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.check-list i {
    color: var(--accent);
}

.pricing-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 24px;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
}

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

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-muted);
}

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

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

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

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

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* How It Works (Timeline) */
.how-it-works-section {
    padding: 80px 0;
    position: relative;
}

.timeline {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    z-index: 0;
}

.timeline-step {
    flex: 1;
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 auto 30px;
    box-shadow: 0 0 20px rgba(100, 50, 255, 0.3);
}

.step-content {
    min-height: 200px;
}

.step-content h3 {
    margin-bottom: 12px;
    color: white;
}

/* Use Cases */
.use-cases-section {
    padding: 80px 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Force 1 row */
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

.use-case-card {
    text-align: center;
    padding: 30px;
    transition: 0.3s;
}

.use-case-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.uc-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.use-case-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    padding: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    border-radius: 15px;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-muted);

}

/* CTA Section */
.cta-section {
    padding: 80px 0 0;
}

.cta-box {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, rgba(100, 50, 255, 0.1), rgba(200, 50, 200, 0.1));
}

/* .cta-box h2 removed */

.mt-4 {
    margin-top: 1.5rem;
}

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

/* Responsive Updates */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .calculator-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .row {
        flex-direction: column;
    }

    .header-content nav {
        display: none;
    }

    .timeline {
        flex-direction: column;
    }

    .timeline::before {
        display: none;
    }

    .timeline-step {
        margin-bottom: 40px;
    }
}

/* New Image Visuals */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

/* 1GLOBAL Partnership */
.partnership-section {
    padding: 60px 0;
}

.partner-content {
    text-align: center;
}

/* .partner-content h2 removed */

.partner-content .highlight {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary);
}

.partner-features {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.partner-features li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

.partner-features i {
    color: var(--accent);
}

/* How It Works Update */
.hiw-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: center;
}

.phone-mockup {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(100, 50, 255, 0.4));
}

/* Use Cases Update */
.use-cases-container {
    display: block;
}

.use-cases-image {
    position: relative;
    padding: 10px;
    overflow: hidden;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    opacity: 0.7;
}

.overlay-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Responsive Grid Updates */
@media (max-width: 900px) {

    .hero-grid,
    .hiw-content {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
        margin-bottom: 40px;
    }

    .use-cases-container {
        grid-template-columns: 1fr;
    }

    .use-cases-image {
        display: none;
    }
}

.revenue-display {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--success);
    margin: 20px 0;
    text-shadow: 0 0 30px rgba(87, 167, 120, 0.3);
}

/* Reference Utils */
.glass-panel,
.card {
    border-radius: var(--r);
    background: rgba(255, 255, 255, 0.05);
    /* Reference transparency */
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: none;
    /* Reference relies on pure background alpha */
}

.pill {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 198, 255, .12);
    border: 1px solid rgba(0, 198, 255, .25);
    color: rgba(255, 255, 255, .9);
    font-weight: 600;
    font-size: 12px;
}

.dot {
    width: 18px;
    height: 18px;
    border-radius: 7px;
    background: rgba(0, 198, 255, .14);
    border: 1px solid rgba(0, 198, 255, .28);
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.dot.ok {
    background: rgba(52, 211, 153, .14);
    border-color: rgba(52, 211, 153, .28);
}


/* Animation Utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    /* Start hidden */
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* 3D Perspective for Hero Image */
.hero3d-container {
    perspective: 1000px;
    display: flex;
    justify-content: center;
}

.hero3d-image {
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.1s ease-out;
    box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 15px !important;
}


/* Timeline Upgrade */
.timeline-container {
    padding-left: 20px;
}

.timeline-line {
    position: absolute;
    left: 49px;
    top: 20px;
    bottom: 50px;
    width: 2px;
    background: linear-gradient(to bottom, var(--brandA), var(--brandB));
    z-index: 0;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--brandA);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brandA);
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.3);
}

.timeline-content {
    flex-grow: 1;
}

/* Nav Active State (Example) */
nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .timeline-line {
        left: 29px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .timeline-item {
        gap: 20px;
    }
}

/* Pricing Table Update */
.pricing-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    margin-top: 40px;
}

.pricing-table {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    min-width: 800px;
    /* Ensure scroll on mobile */
    background: rgba(255, 255, 255, 0.02);
}

.p-row {
    display: contents;
}

.p-cell {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    color: var(--muted);
}

.p-cell:first-child {
    justify-content: flex-start;
    text-align: left;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.02);
    padding-left: 30px;
}

.p-cell:last-child {
    border-right: none;
}

/* Headers */
.p-header {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.p-head-label {
    background: transparent;
    color: var(--muted);
    font-size: 0.9rem;
    border-bottom: none;
    align-items: flex-end;
    padding-bottom: 10px;
}

.p-head-starter {
    background: rgba(52, 211, 153, 0.15);
    color: #4ade80;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.p-head-ent {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.p-sub {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 6px;
}