:root {
    /* Theme Colors from App Config */
    --primary: #6366f1;
    --primary-dim: rgba(99, 102, 241, 0.1);
    --primary-glow: rgba(99, 102, 241, 0.4);

    --bg-dark: #020617;
    --bg-darker: #000000;
    --surface-dark: #0f172a;
    --border-dark: #1e293b;
    --text-main: #ffffff;
    --text-muted: #94a3b8;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Spline Sans', sans-serif;

    --glass: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

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

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

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

.gradient-heading {
    background: linear-gradient(135deg, #fff, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background Effects */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(rgba(30, 41, 59, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 41, 59, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.bg-glow-top {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15), transparent 70%);
    z-index: -1;
    filter: blur(80px);
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--primary-dim);
}

.btn-primary:hover {
    background-color: #3bf585;
    /* Slightly lighter/brighter */
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-ghost {
    color: var(--text-muted);
}

.btn-ghost:hover {
    color: var(--text-main);
}

.btn-outline {
    border: 1px solid var(--border-dark);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Header / Nav */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(2, 6, 23, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    color: var(--primary);
}

.nav-links a {
    margin: 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-align: center;
}

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

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

/* Dashboard Mockup */
.hero-dashboard {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 2000px;
}

.dashboard-content {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 1rem;
    box-shadow:
        0 20px 50px -10px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: rotateX(15deg) scale(0.9);
    transition: transform 0.8s ease;
    height: 500px;
    display: flex;
    overflow: hidden;
}

.hero-dashboard:hover .dashboard-content {
    transform: rotateX(5deg) scale(0.95);
}

.dash-sidebar {
    width: 60px;
    border-right: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
    gap: 0.5rem;
}

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

.dash-dot.red {
    background: #ef4444;
}

.dash-dot.yellow {
    background: #f59e0b;
}

.dash-dot.green {
    background: #6366f1;
}

.dash-main {
    flex: 1;
    padding: 2rem;
    background: var(--bg-darker);
}

.dash-header {
    height: 40px;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-dark);
}

.dash-bar {
    height: 10px;
    background: var(--surface-dark);
    border-radius: 4px;
    width: 100%;
}

.dash-bar.short {
    width: 30%;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dash-card {
    background: var(--surface-dark);
    border-radius: 8px;
    padding: 1.5rem;
    min-height: 120px;
    border: 1px solid var(--border-dark);
}

.dash-card.wide {
    grid-column: span 2;
    display: flex;
    align-items: center;
}

.dash-card.accent-border {
    border-color: var(--primary-dim);
    background: rgba(99, 102, 241, 0.02);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon.accent {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.card-line {
    height: 8px;
    background: #1e293b;
    margin-bottom: 0.5rem;
    border-radius: 2px;
}

.card-line.half {
    width: 60%;
}

/* Stats Bar */
.stats-bar {
    padding: 2rem 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    background: var(--bg-darker);
    text-align: center;
}

.stats-bar p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.2rem;
}

.logos span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.logos span:hover {
    color: var(--text-main);
}


/* Screenshots Section */
.screenshots-section {
    padding: 2rem 0 6rem;
    overflow: hidden;
}

.screenshots-scroll-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 1rem;
    padding-bottom: 3rem;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.screenshots-scroll-container::-webkit-scrollbar {
    display: none;
}

.screenshot-card {
    flex: 0 0 auto;
    width: 280px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-10px);
}

.screen-frame {
    width: 100%;
    aspect-ratio: 9/19.5;
    background: var(--bg-dark);
    border-radius: 24px;
    border: 4px solid #2a2a2a;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.screen-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features */
.features-section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 1.5rem;
}

.bento-card {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bento-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.icon-box {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.card-tasks.large {
    grid-column: span 2;
    background: linear-gradient(145deg, var(--surface-dark), #0f172a);
}

.bento-card.span-2 {
    grid-column: span 2;
}

.card-multi {
    background: linear-gradient(145deg, #020617, #0b1221);
    border-color: rgba(99, 102, 241, 0.2);
}

.card-vc {
    background: linear-gradient(145deg, #1c150b, #2d1b0a);
    border-color: rgba(249, 115, 22, 0.2);
}

.card-vc:hover {
    border-color: #f97316;
    box-shadow: 0 10px 40px -10px rgba(249, 115, 22, 0.2);
}

.card-vc .special-icon {
    color: #f97316;
    background: rgba(249, 115, 22, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}


.split-layout {
    display: flex;
    gap: 2rem;
    align-items: center;
    height: 100%;
}

.text-side {
    flex: 1;
}

.visual-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-list {
    margin-top: 1.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

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

/* Task UI Art */
.task-ui-item {
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    padding: 0.8rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.t-check {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-dark);
    border-radius: 4px;
}

.t-lines {
    flex: 1;
}

.t-line {
    height: 6px;
    background: var(--border-dark);
    border-radius: 2px;
    margin-bottom: 4px;
}

.t-line.w-50 {
    width: 50%;
}

.t-tag {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: #2a2a2a;
}

.high-priority .t-tag {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

.normal .t-tag {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

/* AI Section */
.ai-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
    border-top: 1px solid var(--border-dark);
}

.ai-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.ai-content {
    flex: 1;
}

.ai-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-row {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-item h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.f-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.chat-ui-mockup {
    width: 100%;
    max-width: 400px;
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message.ai {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border-bottom-left-radius: 0;
}

.chat-message.user {
    background: var(--primary);
    color: var(--bg-dark);
    align-self: flex-end;
    border-bottom-right-radius: 0;
    font-weight: 500;
}

.typing-indicator span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    margin: 0 2px;
    animation: bounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Footer */
.main-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-dark);
    margin-top: 4rem;
    background: var(--bg-darker);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.brand-col h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.brand-col p {
    color: var(--text-muted);
    max-width: 250px;
}

.links-col h5 {
    color: var(--text-main);
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.links-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.links-col a:hover {
    color: var(--primary);
}

.newsletter-col form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-col input {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.5rem 1rem;
    color: white;
    border-radius: 6px;
    outline: none;
    width: 100%;
}

.newsletter-col input:focus {
    border-color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.socials {
    display: flex;
    gap: 1.5rem;
    font-size: 1.2rem;
}

.socials a:hover {
    color: var(--primary);
}

/* Animation Utils */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

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

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

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

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

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

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

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .card-tasks.large {
        grid-column: span 1;
    }

    .split-layout {
        flex-direction: column;
    }

    .ai-wrapper {
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Roadmap Section Fixes */
.future-roadmap {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
    border-top: 1px solid var(--border-dark);
}

.future-roadmap h2 {
    margin-bottom: 4rem;
    font-size: 2.5rem;
}

.timeline-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.t-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.t-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.t-title {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.t-item.active .t-title {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-color: var(--primary-dim);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.t-line {
    flex: 1;
    height: 2px;
    background: var(--border-dark);
    margin-top: 1.5rem;
    /* align with tile roughly */
}

.t-line.dashed {
    background: none;
    border-top: 2px dashed var(--border-dark);
}

@media (max-width: 768px) {
    .timeline-simple {
        flex-direction: column;
        gap: 2rem;
    }

    .t-line {
        width: 2px;
        height: 30px;
        margin: 0;
        flex: none;
    }

    .t-line.dashed {
        border-top: none;
        border-left: 2px dashed var(--border-dark);
    }
}

/* Download App Section */
.download-section {
    padding: 8rem 0;
    position: relative;
    /* Optional: Slight tint if desired, otherwise transparent/dark */
    background: transparent;
}

.download-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.download-content h2 {
    font-size: 3.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-main);
    line-height: 1.1;
}

.download-content p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

.store-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: black;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #333;
    min-width: 180px;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--text-muted);
}

.store-btn i {
    font-size: 2rem;
}

.store-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-btn .btn-text span {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.store-btn .btn-text strong {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Web App Button Variant */
.store-btn.web-app {
    background: var(--surface-dark);
    border: 1px solid var(--primary-dim);
}

.store-btn.web-app i {
    color: var(--primary);
}

.store-btn.web-app:hover {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-dim);
}

@media (max-width: 768px) {
    .download-content h2 {
        font-size: 2rem;
    }

    .store-buttons {
        flex-direction: column;
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-dark);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.mobile-links a {
    font-size: 1.1rem;
    padding: 0.5rem;
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-dark);
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

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

/* Workflow Section */
.workflow-section {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(to top, var(--bg-dark), var(--bg-darker));
}

.workflow-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.step-card {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 2rem;
    width: 300px;
    /* Fixed width for better alignment */
    position: relative;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-dim);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    line-height: 1;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    min-height: 80px;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--border-dark);
    margin-top: 3rem;
    /* Align mostly with top */
}

/* Mini Visuals inside steps */
.mini-visual {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mv-box {
    font-size: 0.7rem;
    padding: 4px 8px;
    border: 1px dashed var(--text-muted);
    border-radius: 4px;
    color: var(--text-muted);
}

.mv-box.active {
    border-style: solid;
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-dim);
}

.tech-stack-row {
    font-size: 1.5rem;
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
}

.mv-progress-bar {
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.mv-progress-bar .fill {
    width: 70%;
    height: 100%;
    background: var(--primary);
}

.mv-label {
    font-size: 0.75rem;
    color: var(--text-main);
    display: block;
    text-align: center;
    width: 100%;
}

@media (max-width: 900px) {
    .workflow-steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .step-card {
        width: 100%;
        max-width: 400px;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
}

/* Hero Phones Mockup */
.hero-phones {
    position: relative;
    max-width: 600px;
    /* Reduced width compared to dashboard */
    height: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone-frame {
    position: absolute;
    background: #000;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 4px solid #333;
    overflow: hidden;
}

.phone-frame.center {
    width: 240px;
    height: 480px;
    z-index: 10;
    transform: translateY(0);
    border-color: #222;
}

.phone-frame.side {
    width: 200px;
    height: 400px;
    z-index: 5;
    opacity: 0.8;
    background: #111;
}

.phone-frame.left {
    transform: translateX(-160px) translateY(20px) rotateY(15deg) scale(0.9);
}

.phone-frame.right {
    transform: translateX(160px) translateY(20px) rotateY(-15deg) scale(0.9);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--surface-dark);
    padding: 1rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 20px;
    background: #000;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 20;
}

/* App UI Art */
.app-header {
    height: 40px;
    border-bottom: 1px solid var(--border-dark);
    margin-bottom: 1rem;
}

.app-header.small {
    height: 30px;
}

.app-hero {
    height: 100px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1), transparent);
    border-radius: 12px;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.ah-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

.ah-line {
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.app-grid-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 1rem 0;
}

.ag-icon {
    height: 60px;
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.ag-icon:nth-child(2) {
    color: var(--primary);
    border-color: var(--primary-dim);
}

.app-card-lg {
    flex: 1;
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 10px;
}

.ac-title {
    height: 10px;
    width: 40%;
    background: var(--border-dark);
    margin-bottom: 10px;
    border-radius: 2px;
}

.ac-content {
    height: 4px;
    width: 80%;
    background: #222;
    border-radius: 2px;
    box-shadow: 0 8px 0 #222, 0 16px 0 #222;
}

.app-nav {
    height: 40px;
    border-top: 1px solid var(--border-dark);
    margin-top: auto;
}

/* Side Phone UI */
.t-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t-item-sm {
    height: 40px;
    background: var(--bg-dark);
    border-radius: 8px;
    border: 1px solid var(--border-dark);
}

.chat-flow {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 2rem;
}

.cf-bubble {
    width: 80%;
    height: 30px;
    background: var(--bg-dark);
    border-radius: 8px;
    border-bottom-left-radius: 0;
}

.cf-bubble.mine {
    align-self: flex-end;
    background: var(--primary-dim);
    border-radius: 8px;
    border-bottom-right-radius: 0;
}

/* Hero Split Layout */
.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text-side {
    flex: 1;
    max-width: 600px;
}

.hero-visual-side {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    /* Ensure no unwanted scaling */
    min-width: 400px;
}

/* Adjustments for Side-by-Side */
.hero-text-side .hero-title,
.hero-text-side .hero-subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.hero-text-side .hero-cta {
    justify-content: flex-start;
}

/* Update phone size for split view - make slightly smaller to fit side-by-side */
.hero-phones {
    height: 600px;
    /* Allow height for tilt */
    width: 500px;
    /* Constrain width */
    margin: 0;
    transform: scale(0.9);
    /* Slight scale down */
}

@media (max-width: 1100px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
        gap: 5rem;
    }

    .hero-text-side {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-visual-side {
        width: 100%;
        min-width: 0;
    }

    /* Force re-center on mobile stack */
    .hero-text-side .hero-title,
    .hero-text-side .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text-side .hero-cta {
        justify-content: center;
    }
}

/* AI Emphasis Styles */
.ai-section {
    position: relative;
    overflow: hidden;
}

.ai-bg-glow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.ai-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-item .f-icon {
    min-width: 48px;
    /* Prevent shrink */
}

/* Brain Pulse Animation */
.brain-pulse-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pulse-ring {
    position: absolute;
    border: 1px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    z-index: 0;
    animation: pulseExpand 4s infinite linear;
}

.pulse-ring.ring-1 {
    width: 300px;
    height: 300px;
    animation-delay: 0s;
}

.pulse-ring.ring-2 {
    width: 300px;
    height: 300px;
    animation-delay: 2s;
}

@keyframes pulseExpand {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
        border-width: 2px;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
        border-width: 0px;
    }
}

/* Chat Header Updates */
.chat-ui-mockup {
    position: relative;
    z-index: 2;
    background: rgba(15, 23, 42, 0.95);
    /* More opaque */
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.bot-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-info {
    display: flex;
    flex-direction: column;
}

.bot-info .name {
    font-weight: 700;
    font-size: 0.9rem;
}

.bot-info .status {
    font-size: 0.75rem;
    color: var(--primary);
}

@media (max-width: 768px) {
    .ai-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .ai-bg-glow {
        width: 100%;
        top: 0;
        left: 0;
    }
}

/* Wordmark Branding */
.brand {
    font-size: 1.8rem;
    letter-spacing: -1px;
    gap: 0;
}

.bot-avatar {
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: -1px;
}

/* Pricing Styles */
.pricing-section {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
    border-top: 1px solid var(--border-dark);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.pricing-card.featured {
    background: linear-gradient(145deg, #020617, #1e1b4b);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.1);
}

.pricing-card.featured:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px -10px rgba(19, 236, 106, 0.2);
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 1rem 0;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.pricing-features {
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #d1d5db;
    font-size: 0.95rem;
}

.pricing-features i {
    color: var(--primary);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border-dark);
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.founder-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(19, 236, 106, 0.05);
    color: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(19, 236, 106, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 1rem;
}

.founder-badge i {
    font-size: 1.2rem;
}

.founder-badge:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.3);
    border-color: var(--primary);
}

/* Canvas Promo Section */
.canvas-promo-section {
    padding: 120px 0;
    position: relative;
    background: radial-gradient(circle at 0% 50%, rgba(99, 102, 241, 0.08), transparent 50%);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    overflow: hidden;
}

.canvas-wrapper {
    display: flex;
    gap: 6rem;
    align-items: center;
}

.canvas-text-side {
    flex: 1;
}

.canvas-visual-side {
    flex: 1.2;
}

.canvas-text-side .pill-badge {
    margin-bottom: 2rem;
}

.canvas-title {
    font-size: 3.5rem;
    line-height: 1.25;
    letter-spacing: -2px;
    margin-top: 1.5rem;
    margin-bottom: 2rem !important;
}

.canvas-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 550px;
    line-height: 1.8;
    margin-bottom: 3.5rem !important;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cf-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cf-item:hover {
    border-color: var(--primary);
    background: rgba(19, 236, 106, 0.03);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(19, 236, 106, 0.1);
}

.cf-item i {
    font-size: 1.8rem;
    display: block;
}

.cf-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.cf-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.screenshot-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7);
}

.landscape-shot {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.12), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .canvas-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .canvas-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .canvas-title {
        font-size: 2.8rem;
    }
}

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