/* CSS Reset & Variables */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Blue/Teal */
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --primary-bg: rgba(14, 165, 233, 0.08);

    /* Secondary - Purple accent */
    --secondary: #8b5cf6;
    --secondary-bg: rgba(139, 92, 246, 0.08);

    /* Accent - Warm orange */
    --accent: #f97316;
    --accent-bg: rgba(249, 115, 22, 0.08);

    /* Success */
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.08);

    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-hero: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 50%, #faf5ff 100%);

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* Border Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;

    /* Dark elements */
    --dark: #0f172a;
    --dark-lighter: #1e293b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    --shadow-primary: 0 4px 14px 0 rgba(14, 165, 233, 0.3);
    --shadow-primary-lg: 0 8px 24px 0 rgba(14, 165, 233, 0.35);

    /* Border Radius */
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 600;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-lg);
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
}

.btn-ghost:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.btn-dark {
    background: var(--gradient-dark);
    color: #ffffff;
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.logo-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.2);
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

nav a:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

nav a.active {
    color: var(--primary);
    background: var(--primary-bg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

/* Mobile Menu */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    z-index: 10000;
    padding: 24px;
    flex-direction: column;
    box-shadow: none;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    margin-bottom: 24px;
}

.mobile-nav > a {
    display: block;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
}

.mobile-nav-header .logo {
    padding: 0;
    font-size: 20px;
}

.mobile-nav > .btn {
    margin-top: 16px;
    width: 100%;
    text-align: center;
    display: block;
}

.mobile-nav > .btn-secondary {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
}

.close-menu {
    background: var(--dark);
    border: none;
    color: #ffffff;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 36px;
    text-align: center;
    border-radius: var(--radius);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    background: var(--bg-hero);
}

.hero::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.hero-badge svg {
    width: 18px;
    height: 18px;
    fill: var(--accent);
}

.hero-badge span {
    color: var(--primary);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.hero-text h1 {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

.hero-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.hero-visual {
    display: flex;
    flex-direction: column;
}

.hero-features {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-feature-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-bg);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-feature-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary);
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Terminal */
.terminal {
    background: var(--dark);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.1);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: linear-gradient(180deg, #2d3748 0%, #1e293b 100%);
    position: relative;
}

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

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-family: 'Segoe UI Mono', 'Consolas', monospace;
}

.terminal-body {
    padding: 24px;
    font-family: 'Segoe UI Mono', 'Consolas', monospace;
    font-size: 14px;
    height: 320px;
    overflow: hidden;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

.terminal-line {
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.terminal-line.prompt { color: var(--primary-light); }
.terminal-line.command { color: #ffffff; }
.terminal-line.output { color: rgba(255,255,255,0.6); }
.terminal-line.success { color: #34d399; }
.terminal-line .highlight { color: var(--primary-light); }

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

.cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background: var(--primary-light);
    animation: blink 1s infinite;
    vertical-align: middle;
    border-radius: 2px;
}

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

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--bg-hero);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.page-header h1 span {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-dark {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #ffffff;
}

.section-dark .section-label {
    color: var(--primary-light);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding: 6px 14px;
    background: var(--primary-bg);
    border-radius: 50px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header h2 span {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.feature-icon.purple { background: var(--secondary-bg); }
.feature-icon.purple svg { stroke: var(--secondary); }
.feature-icon.orange { background: var(--accent-bg); }
.feature-icon.orange svg { stroke: var(--accent); }
.feature-icon.green { background: var(--success-bg); }
.feature-icon.green svg { stroke: var(--success); }

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.features-cta {
    text-align: center;
    margin-top: 48px;
}

.features-cta a {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.features-cta a:hover {
    gap: 12px;
    background: rgba(14, 165, 233, 0.15);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 100px;
    right: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.2;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 104px;
    height: 104px;
    background: var(--bg-primary);
    border: 3px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-number span {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step:hover .step-number {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary-lg);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-price {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
}

.price-period {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    stroke: var(--success);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-note strong {
    color: var(--primary);
    font-weight: 600;
}

/* Tech Stack */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tech-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tech-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    font-weight: 800;
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon {
    transform: scale(1.05);
}

.tech-icon.guacamole { background: rgba(92, 166, 90, 0.12); color: #5ca65a; }
.tech-icon.openstack { background: rgba(237, 22, 22, 0.08); color: #ed1616; }
.tech-icon.kubernetes { background: rgba(50, 108, 229, 0.1); color: #326ce5; }
.tech-icon.qemu { background: rgba(255, 107, 0, 0.1); color: #ff6b00; }
.tech-icon.lago { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.tech-icon.grafana { background: rgba(244, 115, 19, 0.1); color: #f47313; }
.tech-icon.golang { background: rgba(0, 173, 216, 0.1); color: #00add8; }
.tech-icon.react { background: rgba(97, 218, 251, 0.12); color: #0d9bdc; }

.tech-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.tech-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tech-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.tech-highlights {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 64px;
    padding-top: 64px;
    border-top: 1px solid var(--border-light);
}

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

.tech-highlight-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.tech-highlight h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tech-highlight p {
    font-size: 13px;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-section .btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.2);
}

.cta-section .btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    background: var(--bg-primary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-bg);
}

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

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

.form-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

.form-footer {
    text-align: center;
    margin-top: 28px;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-footer a {
    color: var(--primary);
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Auth Card */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--bg-hero);
}

.auth-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 48px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-xl);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header .logo {
    justify-content: center;
    margin-bottom: 28px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.auth-header p {
    color: var(--text-secondary);
}

.social-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--bg-primary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.social-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--border-medium);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-size: 16px;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-item-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text-primary);
}

/* Footer */
footer {
    padding: 80px 0 32px;
    background: var(--dark);
    color: rgba(255,255,255,0.7);
}

footer h4 {
    color: #ffffff;
}

footer a {
    color: rgba(255,255,255,0.6);
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--primary-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-brand .logo-icon {
    background: var(--gradient-primary);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    max-width: 280px;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 24px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.status-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 8px #34d399;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

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

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

    .steps::before {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    body,
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    }

    body {
        overflow-x: hidden;
        overflow-y: auto;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    section,
    .section,
    .hero,
    .features-grid,
    .feature-card {
        touch-action: pan-y;
    }

    .container {
        padding: 0 16px;
        width: 100%;
    }

    nav {
        display: none;
    }

    .header-actions .btn-ghost,
    .header-actions .btn-primary {
        display: none;
    }

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

    .btn {
        -webkit-border-radius: 6px !important;
        border-radius: 6px !important;
    }

    .logo-icon {
        -webkit-border-radius: 6px !important;
        border-radius: 6px !important;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-badge {
        display: flex;
        justify-content: center;
        width: 100%;
    }

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

    .hero-text h1 {
        font-size: 34px;
    }

    .hero-text p {
        text-align: center;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: flex;
    }

    .hero-visual .terminal {
        width: 100%;
    }

    .hero-visual .terminal-body {
        height: auto;
        min-height: 200px;
        overflow: visible;
    }

    .hero-features {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .stat {
        text-align: center;
    }

    .hero::before,
    .hero::after,
    .page-header::before {
        display: none;
    }

    .hero,
    .section,
    .section-alt,
    .feature-card,
    .cta-section,
    .features-grid,
    .page-header,
    .container {
        overflow: visible !important;
        -webkit-overflow-scrolling: unset;
    }

    .section-header,
    .section-label,
    .section-header h2,
    .section-header p {
        text-align: center;
    }

    .features-grid,
    .steps,
    .pricing-grid {
        padding: 0;
    }

    .page-header {
        padding: 120px 0 40px;
    }

    .page-header h1 {
        font-size: 34px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

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

    .tech-highlights {
        flex-direction: column;
        gap: 32px;
    }

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

    .cta-content h2 {
        font-size: 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-column h4 {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .footer-column a {
        font-size: 13px;
    }

    .footer-column li {
        margin-bottom: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-status {
        flex-direction: column;
        gap: 16px;
    }

    .auth-card {
        padding: 32px 24px;
    }
}
