:root {
    --navy: #0a192f;
    --navy-light: #112240;
    --navy-mid: #1d3461;
    --teal: #14b8a6;
    --teal-dim: #0d9488;
    --teal-glow: rgba(20, 184, 166, 0.15);
    --bone: #f5f0eb;
    --off-white: #e8e2db;
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --white: #ccd6f6;
    --pure-white: #ffffff;
    --grey-900: #0f1724;
    --grey-800: #172035;
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Sora', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) var(--navy);
}

body {
    font-family: var(--font-sans);
    background: var(--navy);
    color: var(--slate);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--teal);
    color: var(--navy);
}

/* ===== GRID BACKGROUND ===== */
.grid-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.grid-bg canvas {
    width: 100%;
    height: 100%;
}

/* ===== NAV ===== */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    background: rgba(10, 25, 47, 0.85);
    border-bottom: 1px solid rgba(20, 184, 166, 0.08);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.8rem 2rem;
    background: rgba(10, 25, 47, 0.95);
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bone);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse-dot {
    width: 8px; height: 8px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--light-slate);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--teal);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::before { width: 100%; }

.nav-cta {
    padding: 0.6rem 1.4rem !important;
    border: 1px solid var(--teal) !important;
    color: var(--teal) !important;
    border-radius: 4px;
    transition: all 0.3s ease !important;
}

.nav-cta:hover { background: var(--teal-glow); }
.nav-cta::before { display: none !important; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px; height: 2px;
    background: var(--teal);
    transition: all 0.3s;
    display: block;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 25, 47, 0.97);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active { display: flex; }

.mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu a {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--bone);
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--teal); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-top: 6rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--teal);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--bone);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.4s;
}

.hero h1 .accent { color: var(--teal); }

.hero-sub {
    font-size: 1.15rem;
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.6s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.8s;
}

.hero-terminal {
    width: 100%;
    background: var(--grey-900);
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
    flex-shrink: 0;
}

.terminal-bar {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: var(--grey-800);
    border-bottom: 1px solid rgba(20, 184, 166, 0.08);
}

.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.terminal-body {
    padding: 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.8;
    color: var(--slate);
}

.terminal-body .cmd { color: var(--teal); }
.terminal-body .str { color: #e2c08d; }
.terminal-body .comment { color: #546178; }
.terminal-body .output { color: var(--bone); }

.terminal-cursor {
    display: inline-block;
    width: 8px; height: 14px;
    background: var(--teal);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== BUTTONS ===== */
.btn-primary {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.9rem 2rem;
    background: var(--teal);
    color: var(--navy);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--teal-dim);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.2);
}

.btn-ghost {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.9rem 2rem;
    background: transparent;
    color: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-ghost:hover {
    background: var(--teal-glow);
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section {
    position: relative;
    z-index: 1;
    padding: 7rem 2rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--teal);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--bone);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 3.5rem;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--navy-light);
    border: 1px solid rgba(20, 184, 166, 0.08);
    border-radius: 8px;
    padding: 2.2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    border-color: rgba(20, 184, 166, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before { opacity: 1; }

.service-icon { font-size: 1.6rem; margin-bottom: 1.2rem; display: block; }

.service-icon-svg {
    width: 28px;
    height: 28px;
    margin-bottom: 1.2rem;
    display: block;
}

.service-card h3 {
    font-size: 1.15rem;
    color: var(--bone);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.service-card p { font-size: 0.9rem; line-height: 1.7; }

.service-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--teal);
    background: var(--teal-glow);
    padding: 0.3rem 0.7rem;
    border-radius: 3px;
    margin-top: 1rem;
}

/* ===== ANALYTICS ===== */
#analytics {
    background: var(--navy-light);
    border-top: 1px solid rgba(20, 184, 166, 0.05);
    border-bottom: 1px solid rgba(20, 184, 166, 0.05);
}

.analytics-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.analytics-content .section-desc { margin-bottom: 2rem; }

.analytics-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.analytics-features li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.analytics-features li::before {
    content: '▹';
    color: var(--teal);
    font-size: 1rem;
}

.analytics-mockup {
    background: var(--grey-900);
    border: 1px solid rgba(20, 184, 166, 0.12);
    border-radius: 8px;
    overflow: hidden;
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--grey-800);
    border-bottom: 1px solid rgba(20, 184, 166, 0.08);
}

.mockup-bar span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--slate);
    margin-left: auto;
}

.mockup-body { padding: 1.5rem; }

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mockup-header h4 {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--bone);
}

.mockup-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #28c840;
    background: rgba(40, 200, 64, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 100px;
    margin-bottom: 1.2rem;
}

.mockup-bar-item {
    flex: 1;
    border-radius: 3px 3px 0 0;
    transition: all 0.3s;
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(20, 184, 166, 0.08);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--slate);
    display: block;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--bone);
    font-weight: 600;
}

/* ===== WORK ===== */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 2rem;
}

.work-card {
    background: var(--navy-light);
    border: 1px solid rgba(20, 184, 166, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.work-card:hover {
    border-color: rgba(20, 184, 166, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.work-image { position: relative; overflow: hidden; }

.work-iframe-wrap {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--grey-900);
}

.work-iframe-wrap iframe {
    width: 1280px;
    height: 800px;
    border: none;
    transform: scale(0.42);
    transform-origin: top left;
    pointer-events: none;
}

.work-iframe-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
    cursor: pointer;
    background: linear-gradient(to bottom, transparent 60%, rgba(10, 25, 47, 0.6));
    transition: background 0.3s;
}

.work-card:hover .work-iframe-overlay {
    background: linear-gradient(to bottom, transparent 60%, rgba(10, 25, 47, 0.3));
}

.work-placeholder {
    height: 220px;
    background: linear-gradient(135deg, var(--navy-mid), var(--grey-900));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.work-icon { font-size: 3rem; }

.work-url {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--teal);
    opacity: 0.7;
}

.work-info { padding: 1.8rem; }

.work-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.work-tags span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--teal);
    background: var(--teal-glow);
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
}

.work-info h3 {
    font-size: 1.2rem;
    color: var(--bone);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.work-info p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.work-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--teal);
    text-decoration: none;
    transition: all 0.2s;
}

.work-link:hover { text-decoration: underline; }

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-grid.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.pricing-card {
    background: var(--navy-light);
    border: 1px solid rgba(20, 184, 166, 0.08);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s ease;
}

.pricing-card:hover {
    border-color: rgba(20, 184, 166, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: var(--teal);
    background: linear-gradient(to bottom, rgba(20, 184, 166, 0.05), var(--navy-light));
}

.pricing-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--navy);
    background: var(--teal);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.pricing-tier {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 2.5rem;
    color: var(--bone);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-amount span {
    font-size: 1.5rem;
    color: var(--slate);
}

.pricing-desc {
    font-size: 0.85rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(20, 184, 166, 0.08);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.pricing-features li {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 700;
}

/* ===== PROCESS / TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 54px;
    top: 2rem;
    bottom: 2rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--teal), rgba(20, 184, 166, 0.1));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 110px;
    position: relative;
    z-index: 2;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--navy);
    border: 2px solid var(--teal);
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.timeline-dot.active {
    width: 18px;
    height: 18px;
    background: var(--teal);
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
}

.timeline-dot.final {
    background: var(--teal);
    box-shadow: 0 0 12px rgba(20, 184, 166, 0.3);
}

.timeline-hour {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--teal);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.timeline-content {
    background: var(--navy-light);
    border: 1px solid rgba(20, 184, 166, 0.08);
    border-radius: 8px;
    padding: 1.5rem 1.8rem;
    flex: 1;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    border-color: rgba(20, 184, 166, 0.2);
    transform: translateX(4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    font-size: 1.05rem;
    color: var(--bone);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    font-size: 0.85rem;
    line-height: 1.7;
}

/* ===== CONTACT ===== */
#contact {
    background: var(--navy-light);
    border-top: 1px solid rgba(20, 184, 166, 0.05);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-content .section-desc { margin-bottom: 2.5rem; }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon { font-size: 1.3rem; }

.contact-icon-svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.contact-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.contact-value {
    color: var(--bone);
    text-decoration: none;
    font-size: 0.95rem;
}

a.contact-value:hover { color: var(--teal); }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--light-slate);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    background: var(--navy);
    border: 1px solid rgba(20, 184, 166, 0.12);
    border-radius: 4px;
    color: var(--bone);
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate);
    opacity: 0.5;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2314b8a6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

.form-group select option {
    background: var(--navy);
    color: var(--bone);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== FOOTER ===== */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(20, 184, 166, 0.08);
    padding: 3rem 2rem 1.5rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 2rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand p {
    font-size: 0.85rem;
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--bone);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--slate);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--teal); }

.footer-disclaimer {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(20, 184, 166, 0.05);
    margin-bottom: 1rem;
}

.footer-disclaimer p {
    font-size: 0.72rem;
    color: var(--slate);
    opacity: 0.5;
    line-height: 1.7;
}

.footer-disclaimer a {
    color: var(--teal);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-disclaimer a:hover { opacity: 1; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(20, 184, 166, 0.05);
    font-size: 0.8rem;
}

.footer-credit { color: var(--slate); opacity: 0.6; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-terminal { display: none; }
    .analytics-layout { grid-template-columns: 1fr; gap: 3rem; }
    .pricing-grid, .pricing-grid.four-col { grid-template-columns: 1fr; max-width: 450px; }
    .timeline-marker { min-width: 80px; }
    .timeline-line { left: 39px; }
    .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }

    section { padding: 5rem 1.5rem; }

    .services-grid { grid-template-columns: 1fr; }
    .work-grid { grid-template-columns: 1fr; }
    .timeline-item { gap: 1rem; }
    .timeline-marker { min-width: 70px; }
    .timeline-line { left: 34px; }

    .footer-top { flex-direction: column; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

    .mockup-stats { grid-template-columns: 1fr; gap: 0.8rem; }
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding-top: 8rem;
    min-height: 100vh;
}

.legal-page .section-inner {
    max-width: 800px;
}

.legal-page h2 {
    font-size: 1.3rem;
    color: var(--bone);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-page p, .legal-page li {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-page ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-page .last-updated {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--teal);
    margin-bottom: 2rem;
}

/* ===== SERVICE DETAIL PAGES ===== */
.service-detail-page {
    padding-top: 8rem;
    min-height: 100vh;
}

.service-detail-page .section-inner {
    max-width: 1100px;
}

.service-hero-banner {
    background: var(--navy-light);
    border: 1px solid rgba(20, 184, 166, 0.08);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.service-hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.service-hero-banner .pricing-tier { margin-bottom: 0.5rem; }
.service-hero-banner .pricing-amount { margin-bottom: 0.8rem; }
.service-hero-banner p { font-size: 1.05rem; max-width: 600px; line-height: 1.7; margin-bottom: 1.5rem; }

.detail-section {
    margin-bottom: 4rem;
}

.detail-section h2 {
    font-size: 1.4rem;
    color: var(--bone);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.detail-section > p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
}

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

.detail-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.integration-card {
    background: var(--navy-light);
    border: 1px solid rgba(20, 184, 166, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.4s ease;
}

.integration-card:hover {
    border-color: rgba(20, 184, 166, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.integration-card h4 {
    font-size: 0.95rem;
    color: var(--bone);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.integration-card p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--slate);
}

.integration-card .card-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--teal);
    background: var(--teal-glow);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-top: 0.8rem;
}

.addon-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.6rem;
}

.addon-list li {
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
}

.addon-list li::before {
    content: '+';
    color: var(--teal);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
}

.detail-note {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--teal);
    opacity: 0.7;
    margin-top: 1.5rem;
    font-style: italic;
}

.detail-cta-banner {
    background: var(--navy-light);
    border: 1px solid rgba(20, 184, 166, 0.08);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin-top: 4rem;
}

.detail-cta-banner h2 {
    font-size: 1.8rem;
    color: var(--bone);
    margin-bottom: 0.8rem;
}

.detail-cta-banner p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-details-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--teal);
    text-decoration: none;
    display: block;
    margin-bottom: 1.2rem;
    transition: all 0.2s;
    opacity: 0.7;
}

.pricing-details-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.who-for {
    background: var(--navy-light);
    border: 1px solid rgba(20, 184, 166, 0.08);
    border-radius: 8px;
    padding: 1.8rem;
}

.who-for h3 {
    font-size: 0.95rem;
    color: var(--bone);
    margin-bottom: 0.5rem;
}

.who-for p {
    font-size: 0.85rem;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .detail-grid.three-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .service-hero-banner { padding: 2rem 1.5rem; }
    .detail-grid { grid-template-columns: 1fr; }
    .addon-list { grid-template-columns: 1fr; }
    .detail-cta-banner { padding: 2rem 1.5rem; }
}