/* ==============================================
   AIST LANDING — PREMIUM CSS
   ============================================== */

/* --- RESET & BASE --- */
:root {
    --bg: #F2F4F7;
    --bg-alt: #E8ECF1;
    --bg-dark: #0A1628;
    --bg-dark2: #111D30;
    --primary: #0D2E4A;
    --accent: #3B8DD4;
    --accent-glow: #3B8DD466;
    --green: #2DD4A0;
    --purple: #8B5CF6;
    --red: #EF4444;
    --text: #1A2735;
    --text-dim: #5A6B7D;
    --text-light: #F2F4F7;
    --text-dim-l: rgba(242, 244, 247, 0.6);
    --border: rgba(13, 46, 74, 0.08);
    --border-l: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.6);
    --glass-dark: rgba(10, 22, 40, 0.7);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
    --transition: .3s cubic-bezier(.4, 0, .2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    font-family: var(--font);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container.narrow {
    max-width: 900px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background: var(--bg-dark);
}

.section-alt {
    background: var(--bg-alt);
}

/* --- SECTION HEADERS --- */
.section-tag {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    padding: 6px 14px;
    background: rgba(59, 141, 212, 0.1);
    border: 1px solid rgba(59, 141, 212, 0.2);
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-tag.light {
    color: var(--accent);
    background: rgba(59, 141, 212, 0.15);
    border-color: rgba(59, 141, 212, 0.25);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title.light {
    color: #fff;
}

.section-sub {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

.section-sub.light {
    color: var(--text-dim-l);
}

/* ==========================================
   NAVBAR
   ========================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: var(--transition);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(242, 244, 247, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    display: grid;
    place-items: center;
}

.nav-logo strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: .5px;
    color: var(--primary);
    line-height: 1;
}

.nav-logo span {
    font-size: .65rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    transition: color var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 8px !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--accent) !important;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .95rem;
    padding: 14px 28px;
    border-radius: 10px;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-accent:hover {
    background: #2A7BC0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(59, 141, 212, 0.05);
}

.btn.full {
    width: 100%;
}

/* ==========================================
   HERO
   ========================================== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
    overflow: hidden;
    background: var(--bg);
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-left {
    flex: 1;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(59, 141, 212, 0.08);
    border: 1px solid rgba(59, 141, 212, 0.15);
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 28px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(1.4);
    }
}

/* Title */
.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 520px;
    margin-bottom: 32px;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 28px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    width: fit-content;
}

.stat-item strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.stat-item span {
    font-size: .78rem;
    color: var(--text-dim);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Hero Mockup */
.hero-mockup {
    width: 100%;
    max-width: 480px;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(10, 22, 40, 0.3);
    border: 1px solid var(--border-l);
    animation: mockup-float 6s ease-in-out infinite;
}

@keyframes mockup-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-dark2);
    border-bottom: 1px solid var(--border-l);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots i {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.mockup-dots i:nth-child(1) {
    background: #EF4444;
}

.mockup-dots i:nth-child(2) {
    background: #F59E0B;
}

.mockup-dots i:nth-child(3) {
    background: #22C55E;
}

.mockup-url {
    flex: 1;
    text-align: center;
    font-family: var(--mono);
    font-size: .7rem;
    color: rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 12px;
    border-radius: 4px;
}

.mockup-body {
    display: flex;
}

.mockup-sidebar {
    width: 48px;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border-right: 1px solid var(--border-l);
}

.sb-item {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.sb-item.active {
    background: var(--accent);
}

.mockup-content {
    flex: 1;
    padding: 16px;
}

.mc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.mc-card {
    padding: 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-l);
}

.mc-card.blue .mc-val {
    color: var(--accent);
}

.mc-card.green .mc-val {
    color: var(--green);
}

.mc-label {
    display: block;
    font-size: .65rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.mc-val {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--mono);
    margin-bottom: 8px;
}

.mc-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.mc-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--accent);
    transition: width 1.5s ease-out;
    width: 0;
}

.mc-card.green .mc-fill {
    background: var(--green);
}

.mc-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    padding: 8px 0;
}

.chart-bar {
    flex: 1;
    height: var(--h);
    background: linear-gradient(to top, var(--accent), rgba(59, 141, 212, 0.3));
    border-radius: 4px 4px 0 0;
    transition: height 1s ease-out;
    transform-origin: bottom;
    animation: bar-grow 1.2s ease-out forwards;
}

@keyframes bar-grow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

/* Scroll Hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(13, 46, 74, 0.2);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
    0% {
        opacity: 1;
        top: 6px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

/* ==========================================
   PAIN POINTS
   ========================================== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.pain-card {
    padding: 28px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
    cursor: default;
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.pain-icon {
    font-size: 1.6rem;
    margin-bottom: 14px;
}

.pain-card p {
    font-size: .95rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.pain-card strong {
    color: var(--text);
}

/* ==========================================
   PRODUCTS
   ========================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.product-card {
    position: relative;
    background: var(--bg-dark2);
    border: 1px solid var(--border-l);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    overflow: hidden;
    transition: all var(--transition);
    color: #fff;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    transition: opacity var(--transition);
}

.product-card:hover .product-glow {
    opacity: 0.7;
}

.glow-blue {
    background: var(--accent);
}

.glow-accent {
    background: var(--accent);
}

.glow-green {
    background: var(--green);
}

.glow-purple {
    background: var(--purple);
}

.product-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    position: absolute;
    top: 12px;
    right: 16px;
    line-height: 1;
}

.product-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.product-card>p {
    font-size: .88rem;
    color: var(--text-dim-l);
    line-height: 1.5;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 24px;
}

.product-features li {
    font-size: .82rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 0;
    border-bottom: 1px solid var(--border-l);
    position: relative;
    padding-left: 18px;
}

.product-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent);
}

/* Featured card */
.product-card.featured {
    border-color: var(--accent);
    background: linear-gradient(160deg, var(--bg-dark2), rgba(59, 141, 212, 0.1));
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 2;
}

/* ==========================================
   COMPARISON
   ========================================== */
.compare-table {
    display: flex;
    gap: 0;
    margin-top: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.compare-col {
    flex: 1;
    background: #fff;
}

.compare-col.right {
    background: var(--bg-dark);
    color: #fff;
}

.compare-header {
    padding: 20px 28px;
    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
}

.compare-header.bad {
    background: rgba(239, 68, 68, 0.08);
    color: var(--red);
}

.compare-header.good {
    background: rgba(59, 141, 212, 0.15);
    color: var(--accent);
}

.compare-item {
    padding: 14px 28px;
    font-size: .92rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.compare-col.right .compare-item {
    border-color: var(--border-l);
}

.x-icon {
    color: var(--red);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.check-icon {
    color: var(--green);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.compare-divider {
    width: 56px;
    background: var(--bg);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.compare-divider span {
    font-size: .8rem;
    font-weight: 900;
    color: var(--text-dim);
    background: var(--bg);
    padding: 10px 8px;
    border-radius: 50px;
    letter-spacing: 1px;
}

/* ==========================================
   PROCESS
   ========================================== */
.process-timeline {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    background: var(--bg-dark2);
    border: 1px solid var(--border-l);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.process-step:hover {
    border-color: var(--accent);
    transform: translateX(8px);
}

.step-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    font-family: var(--mono);
    line-height: 1;
    flex-shrink: 0;
    width: 64px;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.step-content p {
    font-size: .9rem;
    color: var(--text-dim-l);
    line-height: 1.5;
}

.process-connector {
    width: 2px;
    height: 24px;
    background: rgba(59, 141, 212, 0.2);
    margin-left: 62px;
}

/* ==========================================
   PRICING
   ========================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.pricing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow);
    transform: scale(1.04);
}

.pricing-card.popular:hover {
    transform: scale(1.04) translateY(-6px);
}

.popular-ribbon {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: 0 0 8px 8px;
}

.pricing-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 6px;
}

.pricing-price small {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-dim);
}

.pricing-desc {
    font-size: .85rem;
    color: var(--text-dim);
    margin-bottom: 24px;
}

.pricing-list {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.pricing-list li {
    font-size: .88rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    position: relative;
    padding-left: 22px;
}

.pricing-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* ==========================================
   FAQ
   ========================================== */
.faq-list {
    margin-top: 48px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
    background: #fff;
    transition: all var(--transition);
}

.faq-item.open {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(59, 141, 212, 0.1);
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: .95rem;
    font-weight: 700;
    color: var(--primary);
    background: none;
    border: none;
    text-align: left;
    transition: color var(--transition);
}

.faq-item.open .faq-q {
    color: var(--accent);
}

.faq-arrow {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-dim);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-arrow {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
    padding: 0 24px;
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-a p {
    font-size: .9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-left h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.contact-left p {
    color: var(--text-dim-l);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: .95rem;
}

.contact-info-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Form */
.contact-form {
    background: var(--bg-dark2);
    border: 1px solid var(--border-l);
    padding: 36px;
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-l);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font);
    font-size: .92rem;
    transition: border-color var(--transition);
    outline: none;
}

.form-group select {
    appearance: none;
}

.form-group select option {
    background: var(--bg-dark);
    color: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-note {
    text-align: center;
    font-size: .78rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 12px;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background: var(--bg-dark2);
    border-top: 1px solid var(--border-l);
    padding: 60px 24px 30px;
}

.footer-top {
    display: flex;
    gap: 60px;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-l);
}

.footer-brand {
    flex: 1;
}

.footer-brand strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: .5px;
}

.footer-brand span {
    font-size: .7rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.footer-brand p {
    margin-top: 12px;
    font-size: .85rem;
    color: var(--text-dim-l);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h5 {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: .88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    font-size: .78rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.anim-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fade-up .8s ease forwards;
}

.d1 {
    animation-delay: .15s;
}

.d2 {
    animation-delay: .3s;
}

.d3 {
    animation-delay: .45s;
}

.d4 {
    animation-delay: .6s;
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered */
.anim-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.anim-slide.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        margin: 0 auto;
    }

    .hero-right {
        width: 100%;
    }

    .hero-mockup {
        max-width: 100%;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        padding: 80px 32px 40px;
        gap: 20px;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
        transition: right var(--transition);
        z-index: 999;
    }

    .nav-menu.open {
        right: 0;
    }

    .burger {
        display: flex;
        z-index: 1001;
    }

    .burger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.open span:nth-child(2) {
        opacity: 0;
    }

    .burger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-6px);
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .compare-table {
        flex-direction: column;
    }

    .compare-divider {
        width: 100%;
        height: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .btn {
        padding: 12px 20px;
        font-size: .88rem;
    }
}

/* ==========================================
   LOGO IMAGES
   ========================================== */
.nav-logo-img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: contain;
}

.footer-logo-img {
    width: 140px;
    object-fit: contain;
    margin-bottom: 8px;
}

/* ==========================================
   CONTACT LINKS
   ========================================== */
.contact-info-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.contact-info-item a:hover {
    color: var(--accent);
}

/* ==========================================
   PRODUCT HOVER PREVIEWS
   ========================================== */
.product-hover-preview {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top, var(--bg-dark2) 85%, rgba(17, 29, 48, 0.95));
    padding: 20px;
    opacity: 0;
    transition: all .4s ease;
    pointer-events: none;
    z-index: 5;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card:hover .product-hover-preview {
    opacity: 1;
}

.preview-title {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 10px;
    text-align: center;
}

.preview-demo {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

/* ===== AR SCENE: HOLOGRAPHIC FACE + TYPING CONTACTS ===== */
.ar-demo {
    padding: 12px 8px;
}

.ar-scene {
    position: relative;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Holographic face */
.ar-hologram {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
}

.ar-holo-ring {
    position: absolute;
    border: 1px solid rgba(59, 141, 212, 0.2);
    border-radius: 50%;
    animation: holo-pulse 3s ease-in-out infinite;
}

.ar-holo-ring.ring1 {
    width: 90px;
    height: 90px;
}

.ar-holo-ring.ring2 {
    width: 110px;
    height: 110px;
    animation-delay: 0.5s;
    border-color: rgba(45, 212, 160, 0.12);
}

@keyframes holo-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.12);
        opacity: 0.15;
    }
}

.holo-face {
    width: 70px;
    height: 88px;
    filter: drop-shadow(0 0 12px rgba(59, 141, 212, 0.4)) drop-shadow(0 0 25px rgba(59, 141, 212, 0.15));
    animation: face-float 4s ease-in-out infinite;
}

.face-svg {
    width: 100%;
    height: 100%;
}

@keyframes face-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Particles */
.ar-holo-particles {
    position: absolute;
    inset: -15px;
}

.ar-holo-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 3s ease-in-out infinite;
}

.ar-holo-particles span:nth-child(1) {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.ar-holo-particles span:nth-child(2) {
    top: 25%;
    right: 8%;
    animation-delay: 0.6s;
}

.ar-holo-particles span:nth-child(3) {
    bottom: 25%;
    left: 8%;
    animation-delay: 1.2s;
}

.ar-holo-particles span:nth-child(4) {
    top: 5%;
    right: 25%;
    animation-delay: 1.8s;
    background: var(--green);
}

.ar-holo-particles span:nth-child(5) {
    bottom: 15%;
    right: 15%;
    animation-delay: 2.4s;
    background: var(--green);
}

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-8px) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-22px) scale(0.4);
    }
}

/* Typing contact card */
.ar-contact-card {
    width: 85%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(59, 141, 212, 0.15);
    border-radius: 6px;
    padding: 8px 10px;
}

.ar-typing-line {
    font-family: var(--mono);
    font-size: .55rem;
    color: rgba(59, 141, 212, 0.8);
    white-space: nowrap;
    overflow: hidden;
    border-right: 1px solid var(--accent);
    width: 0;
    animation: typing-in 2s steps(20) forwards, cursor-blink .6s step-end 4, erase-out 1.5s 6s steps(20) forwards;
}

.ar-typing-line.line1 {
    color: rgba(255, 255, 255, 0.8);
    font-size: .6rem;
    font-weight: 600;
    animation-delay: 0s, 0s, 8s;
}

.ar-typing-line.line2 {
    color: rgba(255, 255, 255, 0.4);
    animation-delay: 0.5s, 0.5s, 8.5s;
}

.ar-typing-line.line3 {
    color: rgba(45, 212, 160, 0.7);
    animation-delay: 1s, 1s, 9s;
}

.ar-typing-line.line4 {
    color: rgba(59, 141, 212, 0.7);
    animation-delay: 1.5s, 1.5s, 9.5s;
}

@keyframes typing-in {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
        border-right-color: transparent;
    }
}

@keyframes cursor-blink {
    50% {
        border-right-color: transparent;
    }
}

@keyframes erase-out {
    0% {
        width: 100%;
    }

    100% {
        width: 0;
        opacity: 0;
    }
}

/* ===== CALCULATOR ===== */
.calc-demo {
    padding: 0;
}

.calc-header-bar {
    padding: 8px 12px;
    font-size: .7rem;
    font-weight: 700;
    color: #fff;
    background: rgba(59, 141, 212, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.calc-label {
    font-size: .65rem;
    color: rgba(255, 255, 255, 0.45);
}

.calc-select {
    font-size: .65rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chevron {
    color: rgba(255, 255, 255, 0.3);
    margin-left: 4px;
}

.calc-slider {
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-track {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    position: relative;
}

.calc-fill-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 4px;
}

.calc-thumb {
    position: absolute;
    top: -3px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    transform: translateX(-50%);
}

.calc-num {
    font-size: .65rem;
    font-family: var(--mono);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.calc-stepper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.step-btn {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    font-size: .7rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.step-val {
    font-size: .7rem;
    font-family: var(--mono);
    color: #fff;
    font-weight: 700;
}

.calc-divider {
    height: 1px;
    background: rgba(59, 141, 212, 0.2);
}

.calc-result-box {
    padding: 8px 12px;
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    font-size: .6rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 2px 0;
}

.calc-result-total {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    font-weight: 800;
    color: #fff;
    padding-top: 6px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-total {
    color: var(--green);
    font-family: var(--mono);
}

/* ===== SITE BROWSER ===== */
.site-demo {
    padding: 0;
}

.site-browser {
    border-radius: 10px;
    overflow: hidden;
}

.sb-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sb-dots {
    display: flex;
    gap: 4px;
}

.sb-dots i {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.sb-dots i:nth-child(1) {
    background: #ef4444;
}

.sb-dots i:nth-child(2) {
    background: #f59e0b;
}

.sb-dots i:nth-child(3) {
    background: #22c55e;
}

.sb-url {
    flex: 1;
    text-align: center;
    font-family: var(--mono);
    font-size: .55rem;
    color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
}

.sb-page {
    padding: 6px;
}

.sb-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    margin-bottom: 5px;
}

.sb-logo-m {
    width: 16px;
    height: 16px;
    background: rgba(59, 141, 212, 0.3);
    border-radius: 4px;
}

.sb-nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.sb-nav-links span {
    width: 16px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.sb-cta-m {
    font-size: .45rem !important;
    font-weight: 700;
    color: #fff !important;
    background: var(--accent) !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    width: auto !important;
    height: auto !important;
}

.sb-hero-m {
    background: linear-gradient(135deg, rgba(59, 141, 212, 0.15), rgba(45, 212, 160, 0.08));
    border-radius: 6px;
    padding: 10px 8px;
    text-align: center;
    margin-bottom: 5px;
}

.sb-hero-text {
    font-size: .55rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.sb-hero-btn {
    font-size: .45rem;
    font-weight: 700;
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
}

.sb-cards {
    display: flex;
    gap: 4px;
    margin-bottom: 5px;
}

.sb-card-m {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 5px 3px;
    text-align: center;
}

.sb-card-icon {
    font-size: .7rem;
    margin-bottom: 2px;
}

.sb-card-t {
    font-size: .4rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.sb-stats-row {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    padding: 4px;
}

.sb-stat {
    flex: 1;
    text-align: center;
}

.sb-stat strong {
    display: block;
    font-size: .55rem;
    color: var(--accent);
}

.sb-stat span {
    font-size: .4rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== MVP TERMINAL ===== */
.mvp-demo {
    padding: 0;
}

.mvp-app {
    overflow: hidden;
    border-radius: 10px;
}

.mvp-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mvp-app-name {
    font-size: .6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
}

.mvp-status {
    font-size: .55rem;
    color: var(--green);
}

.mvp-terminal {
    font-family: var(--mono);
    font-size: .6rem;
    line-height: 1.7;
    padding: 8px 10px;
}

.term-line {
    color: rgba(255, 255, 255, 0.5);
    opacity: 0;
    animation: term-appear .4s ease forwards;
}

.term-dim {
    color: rgba(255, 255, 255, 0.2);
}

.term-green {
    color: var(--green);
}

.term-blue {
    color: var(--accent);
}

.term-yellow {
    color: #f59e0b;
}

.term-line.done {
    color: var(--green);
    font-weight: 700;
}

.product-card:hover .term-line:nth-child(1) {
    animation-delay: .1s;
}

.product-card:hover .term-line:nth-child(2) {
    animation-delay: .35s;
}

.product-card:hover .term-line:nth-child(3) {
    animation-delay: .6s;
}

.product-card:hover .term-line:nth-child(4) {
    animation-delay: .85s;
}

.product-card:hover .term-line:nth-child(5) {
    animation-delay: 1.1s;
}

.product-card:hover .term-line:nth-child(6) {
    animation-delay: 1.35s;
}

@keyframes term-appear {
    to {
        opacity: 1;
    }
}

.mvp-result-bar {
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    background: rgba(45, 212, 160, 0.08);
    border-top: 1px solid rgba(45, 212, 160, 0.15);
    font-size: .6rem;
    color: rgba(255, 255, 255, 0.6);
}

.mvp-time {
    font-family: var(--mono);
    color: var(--accent);
    font-weight: 600;
}

/* ===== WHATSAPP CHAT PREVIEW ===== */
.wa-demo {
    padding: 0;
}

.wa-chat {
    background: #0b141a;
    border-radius: 8px;
    overflow: hidden;
    font-size: .6rem;
}

.wa-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #1f2c34;
    color: #fff;
    font-weight: 600;
    font-size: .6rem;
}

.wa-avatar {
    font-size: .8rem;
}

.wa-online {
    margin-left: auto;
    color: var(--green);
    font-size: .5rem;
    font-weight: 400;
}

.wa-messages {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 180px;
    overflow: hidden;
}

.wa-msg {
    padding: 5px 8px;
    border-radius: 6px;
    max-width: 85%;
    line-height: 1.3;
    opacity: 0;
    animation: wa-fade-in 0.4s ease forwards;
}

.wa-msg.client {
    background: #005c4b;
    color: #e9edef;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.wa-msg.bot {
    background: #1f2c34;
    color: #e9edef;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.wa-msg:nth-child(1) {
    animation-delay: 0.3s;
}

.wa-msg:nth-child(2) {
    animation-delay: 0.8s;
}

.wa-msg:nth-child(3) {
    animation-delay: 1.2s;
}

.wa-msg:nth-child(4) {
    animation-delay: 1.6s;
}

.wa-msg:nth-child(5) {
    animation-delay: 2.2s;
}

.wa-msg:nth-child(6) {
    animation-delay: 2.8s;
}

@keyframes wa-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== GLOW GREEN (WhatsApp product card) ===== */
.glow-green {
    background: radial-gradient(circle at 30% 30%, rgba(37, 211, 102, 0.12), transparent 60%);
}

/* ===== STICKY WHATSAPP BOTTOM BAR (mobile only) ===== */
.wa-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(100%);
    animation: wa-bar-slide-up 0.5s ease 1.5s forwards;
}

@media (max-width: 768px) {
    .wa-sticky-bar {
        display: block;
    }
}

.wa-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 14px 24px;
    background: #25D366;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.wa-sticky-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.wa-sticky-btn:active {
    transform: scale(0.98);
}

.wa-sticky-btn svg {
    flex-shrink: 0;
}

@keyframes wa-bar-slide-up {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Add bottom padding to footer so sticky bar doesn't overlap on mobile */
@media (max-width: 768px) {
    footer {
        padding-bottom: 80px !important;
    }
}