:root {
    --bg-color: #222222;
    --surface-color: #2a2a2a;
    --surface-hover: #333333;
    --border-color: #404040;
    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --text-muted: #666666;
    --accent-color: #f97316;
    /* Orange */
    --accent-gradient: linear-gradient(135deg, #f97316 0%, #facc15 100%);
    --terminal-green: #10b981;
    --terminal-blue: #3b82f6;
    --terminal-red: #ef4444;
    --terminal-yellow: #f59e0b;
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Background Effects */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    z-index: -2;
    pointer-events: none;
}

.binary-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    opacity: 0.2;
    pointer-events: none;
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    transition: width 0.3s, height 0.3s;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--border-color);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-bracket {
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-num {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
    padding: 8px;
    margin: -8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}

.mobile-link {
    font-family: var(--font-mono);
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.mobile-link .arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    color: var(--accent-color);
}

.mobile-link:hover {
    color: var(--text-primary);
}

.mobile-link:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    touch-action: manipulation;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

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

.btn-icon {
    color: inherit;
    font-weight: bold;
}

.btn-primary:hover .btn-icon {
    color: var(--accent-color);
}

/* Sections General */
section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 600px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Utilities (replaces repeated inline styles) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section-tag-green {
    color: var(--terminal-green);
    text-transform: uppercase;
}

.hero-trust-mono {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-bottom: 4rem;
}

.card-content-flex {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-tag-mono {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-stack-tight {
    margin-bottom: 0;
}

.why-num {
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.why-title {
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.why-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.hero-cta-mb {
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 40px;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--terminal-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--terminal-green);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.hero-title .title-line {
    display: block;
    line-height: 1.1;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}


/* Terminal Window */
.terminal-window {
    background-color: #000;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    font-family: var(--font-mono);
}

.terminal-header {
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    position: relative;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

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

.dot-red {
    background-color: #ff5f56;
}

.dot-yellow {
    background-color: #ffbd2e;
}

.dot-green {
    background-color: #27c93f;
}

.terminal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 1.5rem;
    font-size: 0.9rem;
    min-height: 250px;
}

.terminal-line {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.terminal-line.hidden {
    display: none;
}

.terminal-prompt {
    color: var(--terminal-green);
    font-weight: bold;
}

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

.terminal-output {
    color: var(--text-secondary);
}

.terminal-success {
    color: var(--terminal-green);
}

.terminal-info {
    color: var(--terminal-blue);
}

.terminal-cursor {
    color: var(--text-primary);
    animation: blink 1s step-end infinite;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (hover: hover) {
    .service-card:hover {
        border-color: var(--accent-color);
        transform: translateY(-5px);
        box-shadow: 0 10px 30px -10px rgba(249, 115, 22, 0.1);
    }
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.1), transparent 50%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

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

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.service-stack li {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    background-color: var(--bg-color);
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

/* Packages Section */
.packages {
    position: relative;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.package-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (hover: hover) {
    .package-card:hover {
        border-color: var(--accent-color);
        transform: translateY(-5px);
        box-shadow: 0 10px 30px -10px rgba(249, 115, 22, 0.1);
    }
}

.package-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.1), transparent 50%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.package-card:hover .package-card-glow {
    opacity: 1;
}

.package-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-tag {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.package-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.package-subtitle {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.package-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.package-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.package-price-amount {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.package-price-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.package-renewal {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.package-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.package-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.package-features li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--terminal-green);
    font-family: var(--font-mono);
    font-weight: bold;
}

.package-extra {
    margin-bottom: 1.5rem;
}

.package-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--terminal-blue);
    background-color: rgba(59, 130, 246, 0.1);
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 4px;
}

.package-renewal-ext {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.package-cta {
    align-self: flex-start;
    width: 100%;
    justify-content: center;
}

/* Package toggle / collapsible */
.package-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.package-toggle:hover {
    border-color: var(--accent-color);
    color: var(--text-primary);
    background-color: rgba(249, 115, 22, 0.05);
}

.toggle-icon {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.package-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(45deg);
}

.package-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.package-collapsible.open {
    max-height: 600px;
}

/* When collapsible is open, adjust spacing */
.package-collapsible.open .package-features {
    margin-bottom: 1.5rem;
}

/* Why Us Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.why-card {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (hover: hover) {
    .why-card:hover {
        border-color: var(--accent-color);
        background-color: rgba(255, 255, 255, 0.02);
        transform: translateY(-5px);
        box-shadow: 0 10px 30px -10px rgba(249, 115, 22, 0.1);
    }
}

.why-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

/* Demo Showcase Section */
.demo-section {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.demo-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

@media (hover: hover) {
    .demo-card:hover {
        border-color: var(--accent-color);
        transform: translateY(-6px);
        box-shadow: 0 20px 40px -15px rgba(249, 115, 22, 0.15);
    }
}

.demo-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.08), transparent 60%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

@media (hover: hover) {
    .demo-card:hover .demo-card-glow {
        opacity: 1;
    }
}

/* Demo Preview (mini browser frame) */
.demo-preview-wrapper {
    position: relative;
    overflow: hidden;
}

.demo-preview-frame {
    background-color: #1a1a1a;
    border-bottom: 1px solid var(--border-color);
}

.demo-preview-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

.demo-bar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
}

.demo-bar-dot:nth-child(1) {
    background-color: #ff5f56;
}

.demo-bar-dot:nth-child(2) {
    background-color: #ffbd2e;
}

.demo-bar-dot:nth-child(3) {
    background-color: #27c93f;
}

.demo-bar-url {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    background-color: var(--bg-color);
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.demo-preview-content {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.demo-preview-content iframe {
    width: 400%;
    height: 400%;
    border: none;
    transform: scale(0.25);
    transform-origin: top left;
    pointer-events: none;
}

/* Hover overlay */
.demo-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.demo-card:hover .demo-preview-overlay {
    opacity: 1;
}

@media (hover: none) and (pointer: coarse) {
    .demo-preview-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(1px);
    }
}

.demo-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.15);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.demo-play-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.4);
}

.demo-play-btn svg {
    flex-shrink: 0;
}

/* Demo card body */
.demo-card-body {
    padding: 1.5rem 1.75rem 1.75rem;
    position: relative;
    z-index: 1;
}

.demo-card-tag {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}

.demo-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.demo-card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Demo CTA */
.demo-cta-wrapper {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.04) 0%, rgba(250, 204, 21, 0.03) 100%);
}

.demo-cta-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.demo-cta-btn {
    font-size: 1rem;
    padding: 1rem 2rem;
}

/* ===== Demo Modal ===== */
.demo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.demo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.demo-modal {
    width: 92vw;
    max-width: 1200px;
    height: 85vh;
    background-color: #111;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.demo-modal-overlay.active .demo-modal {
    transform: scale(1) translateY(0);
}

.demo-modal-header {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.25rem;
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
    position: relative;
}

.demo-modal-dots {
    display: flex;
    gap: 6px;
}

.demo-modal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.demo-modal-close {
    margin-left: auto;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.demo-modal-close:hover {
    background-color: var(--terminal-red);
    border-color: var(--terminal-red);
    color: #fff;
}

.demo-modal-body {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.demo-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #fff;
}

/* Loader */
.demo-modal-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: #111;
    z-index: 5;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: opacity 0.3s ease;
}

.demo-modal-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.demo-loader-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* CTA Section */
.cta-section {
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
}

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

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.cta-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-color);
    transition: var(--transition);
}

.cta-link:hover {
    border-color: var(--text-muted);
    transform: translateX(10px);
}

.cta-link-icon {
    font-family: var(--font-mono);
    color: var(--accent-color);
}

.cta-terminal {
    width: 100%;
}

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

.form-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-line-textarea {
    align-items: flex-start;
}

.terminal-eq {
    color: var(--terminal-red);
    font-family: var(--font-mono);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    outline: none;
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form select {
    color: var(--text-muted);
    appearance: none;
    cursor: pointer;
}

.contact-form select option {
    background-color: var(--surface-color);
    color: var(--text-primary);
}

.form-submit {
    margin-top: 1rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

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

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.heart {
    color: var(--terminal-red);
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {

    .hero .container,
    .cta-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-visual {
        order: -1;
    }

    .services-grid,
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        gap: 1.5rem;
    }

    .demo-modal {
        width: 96vw;
        height: 80vh;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .container {
        padding: 0 1.25rem;
    }

    section {
        padding: 5rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-desc {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-desc {
        font-size: 1.05rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .mobile-link {
        font-size: 1.5rem;
    }

    .services-grid,
    .packages-grid,
    .demo-grid,
    .footer-links-group {
        grid-template-columns: 1fr;
    }

    .why-grid {
        gap: 1rem;
    }

    .service-card {
        padding: 1.75rem;
    }

    .package-card {
        padding: 1.75rem;
    }

    .demo-modal {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }

    .demo-preview-content {
        height: 180px;
    }

    .demo-cta-wrapper {
        padding: 2rem 1.25rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .why-grid {
        gap: 1.25rem;
    }

    .why-card {
        padding: 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }

    .hero-trust-mono {
        font-size: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 30px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
        margin-bottom: 1.5rem;
    }

    .mobile-link {
        font-size: 1.25rem;
        gap: 0.75rem;
    }

    .mobile-nav-links {
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .service-desc {
        font-size: 0.85rem;
    }

    .package-card {
        padding: 1.25rem;
    }

    .package-title {
        font-size: 1.25rem;
    }

    .package-desc {
        font-size: 0.85rem;
    }

    .package-price-amount {
        font-size: 1.5rem;
    }

    .package-toggle {
        font-size: 0.75rem;
        padding: 0.6rem 0.75rem;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 4rem;
    }

    .why-card {
        padding: 1.25rem;
    }

    .why-title {
        font-size: 1rem;
    }

    .why-desc {
        font-size: 0.85rem;
    }

    .demo-grid {
        gap: 1.25rem;
    }

    .demo-preview-content {
        height: 150px;
    }

    .demo-card-body {
        padding: 1rem 1.25rem 1.25rem;
    }

    .demo-card-title {
        font-size: 1.1rem;
    }

    .demo-card-desc {
        font-size: 0.85rem;
    }

    .demo-play-btn {
        font-size: 0.75rem;
        padding: 0.6rem 1rem;
    }

    .demo-cta-wrapper {
        padding: 1.5rem 1rem;
    }

    .demo-cta-text {
        font-size: 1rem;
    }

    .demo-cta-btn {
        font-size: 0.85rem;
        padding: 0.75rem 1.25rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-desc {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .cta-link {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 0.8rem;
    }

    .form-line {
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .form-line .terminal-prompt,
    .form-line .terminal-eq {
        font-size: 0.8rem;
    }

    .terminal-body {
        padding: 1rem;
        font-size: 0.8rem;
        min-height: 200px;
    }

    .terminal-title {
        font-size: 0.7rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .demo-modal-title {
        font-size: 0.75rem;
    }

    .package-badge {
        font-size: 0.7rem;
    }

    .service-tag-mono {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .package-tag {
        font-size: 0.75rem;
    }

    .package-subtitle {
        font-size: 0.75rem;
    }

    .nav-container {
        padding: 0 1rem;
    }
}

@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .mobile-link {
        font-size: 1.1rem;
    }

    .package-price-amount {
        font-size: 1.3rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .why-card {
        padding: 1rem;
    }

    .service-card {
        padding: 1rem;
    }

    .package-card {
        padding: 1rem;
    }
}

/* Touch-friendly refinements */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-toggle,
    .package-toggle,
    .demo-play-btn,
    .demo-modal-close,
    .cta-link {
        -webkit-tap-highlight-color: rgba(249, 115, 22, 0.2);
    }

    .service-card:hover,
    .package-card:hover,
    .why-card:hover,
    .demo-card:hover {
        transform: none;
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .cursor-glow,
    .binary-bg {
        display: none !important;
    }
}