/* IntelliGeo Landing - Dark Tech Theme */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 255, 136, 0.25);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --text-muted: rgba(255, 255, 255, 0.5);

    --accent-green: #00ff88;
    --accent-blue: #00aaff;

    --radius: 12px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background: 
        radial-gradient(1200px 600px at 20% 0%, rgba(0, 255, 136, 0.08) 0%, rgba(10, 10, 10, 0) 55%),
        radial-gradient(900px 500px at 80% 20%, rgba(0, 170, 255, 0.08) 0%, rgba(10, 10, 10, 0) 60%),
        linear-gradient(180deg, 
            rgba(10, 10, 10, 0.94) 0%,
            rgba(10, 10, 10, 0.985) 18%,
            rgba(10, 10, 10, 1) 48%,
            rgba(10, 10, 10, 0.985) 82%,
            rgba(10, 10, 10, 0.94) 100%),
        var(--bg-primary);
    background-attachment: fixed, fixed, fixed, fixed;
    background-repeat: no-repeat;
    background-size: auto, auto, auto, auto;
    background-position: 0 0, 0 0, 0 0, 0 0;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(0, 255, 136, 0.03) 0%,
            rgba(0, 255, 136, 0.015) 18%,
            rgba(0, 0, 0, 0) 48%,
            rgba(0, 170, 255, 0.012) 78%,
            rgba(0, 170, 255, 0.025) 100%),
        radial-gradient(1400px 900px at 50% 35%, rgba(255, 255, 255, 0.018) 0%, rgba(0, 0, 0, 0) 62%);
    opacity: 0.35;
}

a {
    color: inherit;
}

/* Background layers */
#particleCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

.electric-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(70% 60% at 50% 10%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0) 80%);
    opacity: 0.35;
}

.cursor-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.12) 0%, rgba(0, 170, 255, 0.08) 35%, rgba(0, 0, 0, 0) 70%);
    filter: blur(2px);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
}

/* Layout */
.container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-green);
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--text-primary);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.btn-primary {
    background: rgba(0, 255, 136, 0.12);
    color: var(--accent-green);
    border-color: rgba(0, 255, 136, 0.28);
}

.btn-primary:hover {
    background: rgba(0, 255, 136, 0.18);
    border-color: rgba(0, 255, 136, 0.40);
}

.btn-large {
    padding: 12px 18px;
    border-radius: 14px;
}

/* Hero */
.hero {
    position: relative;
    z-index: 2;
    padding: 72px 0 48px;
}

.hero-content {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 18px;
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.55);
    animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.hero-title {
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.highlight {
    background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 820px;
    margin: 0 auto 26px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions svg {
    color: currentColor;
}

.demo-container {
    margin-top: 44px;
    display: flex;
    justify-content: center;
}

.demo-window {
    width: min(860px, 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(17, 17, 17, 0.75);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.demo-header {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.demo-title {
    margin-left: 6px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}

.demo-content {
    padding: 18px;
}

.demo-message {
    display: flex;
    margin-bottom: 14px;
}

.demo-message.user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 86%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

.demo-message.user .message-bubble {
    border-color: rgba(0, 170, 255, 0.26);
    background: rgba(0, 170, 255, 0.10);
}

.demo-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.demo-step .icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.demo-step.completed .icon {
    color: var(--accent-green);
}

.demo-step.active .icon {
    color: var(--accent-blue);
}

.demo-step.active {
    color: var(--text-primary);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 34px;
}

.section-tag {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 800;
    margin-bottom: 10px;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
}

.stats {
    position: relative;
    z-index: 2;
    padding: 24px 0 64px;
}

.stats::before,
.stats::after,
.features::before,
.features::after,
.workflow::before,
.workflow::after,
.tools::before,
.tools::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 84px;
    pointer-events: none;
    z-index: 0;
}

.stats::before,
.features::before,
.workflow::before,
.tools::before {
    top: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0) 100%);
}

.stats::after,
.features::after,
.workflow::after,
.tools::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.stat-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    margin-top: 4px;
    font-size: 13px;
    color: var(--text-muted);
}

.features,
.workflow,
.tools {
    position: relative;
    z-index: 2;
    padding: 72px 0;
}

.workflow {
    padding-top: 56px;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 18px;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 136, 0.22);
    background: rgba(0, 255, 136, 0.04);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 255, 136, 0.10);
    border: 1px solid rgba(0, 255, 136, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent-green);
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.workflow-step {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 18px;
    text-align: center;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    background: rgba(0, 255, 136, 0.12);
    border: 1px solid rgba(0, 255, 136, 0.25);
    color: var(--accent-green);
}

.workflow-step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.workflow-step p {
    color: var(--text-secondary);
    font-size: 14px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tool-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 18px;
}

.tool-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
}

.tool-card h3 svg {
    width: 18px;
    height: 18px;
    color: var(--accent-blue);
}

.tool-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.tool-list li {
    position: relative;
    padding-left: 18px;
}

.tool-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.8);
}

.cta {
    position: relative;
    z-index: 2;
    padding: 72px 0;
}

.cta-content {
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.10) 0%, rgba(0, 170, 255, 0.08) 100%);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.footer {
    position: relative;
    z-index: 2;
    padding: 22px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    text-align: center;
}

/* Responsive */
@media (max-width: 980px) {
    .nav a:not(.btn-primary):not(.btn-secondary) {
        display: none;
    }

    .features-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .workflow-steps {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(1200px, calc(100% - 28px));
    }

    .workflow-steps {
        grid-template-columns: 1fr;
    }

    .cursor-glow {
        width: 320px;
        height: 320px;
    }
}
