/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080f0c;
  --bg-surface: #0c1a14;
  --bg-card: #101f18;
  --bg-elevated: #152a20;
  --bg-hover: #1a3328;
  --green: #4DB87A;
  --blue: #4A9FD4;
  --teal: #3ECFB2;
  --grad: linear-gradient(135deg, #4DB87A, #4A9FD4);
  --grad-text: linear-gradient(135deg, #4DB87A, #3ECFB2, #4A9FD4);
  --text: #f0f4f2;
  --text-secondary: #a3b8ad;
  --text-dim: #5e7a6a;
  --border: rgba(77, 184, 122, 0.1);
  --border-hover: rgba(77, 184, 122, 0.25);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --r: 10px;
  --r-lg: 16px;
  --max-w: 1140px;
  --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }
input, textarea, select { font-family: inherit; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 18px 0; transition: var(--ease); }
.nav.scrolled { background: rgba(8, 15, 12, 0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--border); padding: 14px 0; }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.nav-logo-icon { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); transition: var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: inline-flex; align-items: center; padding: 9px 20px; background: var(--grad); color: #fff; font-weight: 600; font-size: 0.875rem; border-radius: 100px; transition: var(--ease); box-shadow: 0 2px 12px rgba(77, 184, 122, 0.2); }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(77, 184, 122, 0.35); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--ease); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; font-weight: 600; font-size: 0.925rem; border-radius: 100px; transition: var(--ease); white-space: nowrap; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 2px 16px rgba(77, 184, 122, 0.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(77, 184, 122, 0.35); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid rgba(255, 255, 255, 0.15); }
.btn-ghost:hover { border-color: var(--green); background: rgba(77, 184, 122, 0.05); }

/* ===== SECTIONS ===== */
section { padding: 110px 0; position: relative; }
.section-label { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--teal); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.section-title { font-family: var(--font-display); font-size: clamp(1.85rem, 3.8vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 520px; line-height: 1.7; }
.gradient-text { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-content { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 7px; background: rgba(77, 184, 122, 0.06); border: 1px solid rgba(77, 184, 122, 0.15); border-radius: 100px; font-size: 0.8rem; font-weight: 500; color: var(--green); margin-bottom: 28px; }
.hero-badge-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.8); } }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.75; max-width: 480px; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-app-mock { width: 100%; max-width: 480px; aspect-ratio: 4/3; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; position: relative; box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4); }
.hero-app-bar { height: 36px; background: var(--bg-surface); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 14px; gap: 7px; }
.hero-app-dot { width: 8px; height: 8px; border-radius: 50%; }
.hero-app-dot:nth-child(1) { background: #ff5f57; }
.hero-app-dot:nth-child(2) { background: #febc2e; }
.hero-app-dot:nth-child(3) { background: #28c840; }
.hero-app-body { padding: 20px; display: grid; grid-template-columns: 140px 1fr; gap: 16px; height: calc(100% - 36px); }
.hero-app-sidebar { display: flex; flex-direction: column; gap: 8px; }
.hero-app-nav-item { height: 28px; border-radius: 6px; background: var(--bg-elevated); font-size: 0.7rem; display: flex; align-items: center; padding: 0 10px; color: var(--text-dim); font-family: var(--font-mono); }
.hero-app-nav-item.active-item { background: rgba(77, 184, 122, 0.12); color: var(--green); border: 1px solid rgba(77, 184, 122, 0.2); }
.hero-app-main { display: flex; flex-direction: column; gap: 10px; }
.hero-app-row { height: 22px; border-radius: 4px; background: var(--bg-elevated); }
.hero-app-row:nth-child(even) { width: 85%; }
.hero-app-row:nth-child(3) { width: 70%; }
.hero-app-row.highlight { background: rgba(77, 184, 122, 0.1); border: 1px solid rgba(77, 184, 122, 0.15); }
.glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.glow-1 { width: 400px; height: 400px; background: rgba(77, 184, 122, 0.07); top: -80px; right: -60px; }
.glow-2 { width: 300px; height: 300px; background: rgba(74, 159, 212, 0.06); bottom: -40px; left: -80px; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); }
.hero-stat-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.hero-stat-label { font-size: 0.8rem; color: var(--text-secondary); margin-top: 2px; }

/* ===== TRUST BAR ===== */
.trust-bar { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.trust-bar p { font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; margin-bottom: 24px; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; opacity: .35; }
.trust-logo { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.trust-icon { width: 28px; height: 28px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); display: flex; align-items: center; justify-content: center; }

/* ===== FEATURES ===== */
.features { background: var(--bg-surface); }
.features-header { text-align: center; margin-bottom: 56px; }
.features-header .section-subtitle { margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; transition: var(--ease); }
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25); }
.feature-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(77, 184, 122, 0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }
.feature-highlight { margin-top: 48px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 48px 56px; position: relative; overflow: hidden; }
.feature-highlight::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); }
.feature-highlight-content { display: flex; align-items: center; gap: 40px; }
.feature-highlight-icon { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: rgba(77, 184, 122, 0.08); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; }
.feature-highlight blockquote { font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 600; line-height: 1.5; }
.feature-highlight cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--font-body); font-size: 0.875rem; color: var(--text-secondary); }

/* ===== DATA HOSTING ===== */
.data-hosting { background: var(--bg); }
.hosting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.hosting-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 40px; transition: var(--ease); }
.hosting-card:hover { border-color: var(--border-hover); }
.hosting-card-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }
.hosting-card-badge.local { background: rgba(77, 184, 122, 0.1); color: var(--green); border: 1px solid rgba(77, 184, 122, 0.2); }
.hosting-card-badge.cloud { background: rgba(74, 159, 212, 0.1); color: var(--blue); border: 1px solid rgba(74, 159, 212, 0.2); }
.hosting-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; }
.hosting-card > p { font-size: 0.925rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.hosting-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.hosting-features li { font-size: 0.875rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 10px; }
.hosting-features li::before { content: '\2713'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.hosting-card.cloud-card .hosting-features li::before { color: var(--blue); }
.hosting-card-footer { font-size: 0.8rem; color: var(--text-dim); padding-top: 16px; border-top: 1px solid var(--border); }
.hosting-card-footer a { color: var(--blue); transition: var(--ease); }
.hosting-card-footer a:hover { color: var(--teal); }

/* ===== PRICING ===== */
.pricing { background: var(--bg-surface); }
.pricing-header { text-align: center; margin-bottom: 56px; }
.pricing-header .section-subtitle { margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 32px 24px; transition: var(--ease); position: relative; }
.pricing-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2); }
.pricing-card.popular { border-color: var(--green); background: linear-gradient(180deg, rgba(77, 184, 122, 0.05) 0%, var(--bg-card) 50%); transform: scale(1.03); box-shadow: 0 4px 32px rgba(77, 184, 122, 0.1); }
.pricing-card.popular:hover { transform: scale(1.03) translateY(-3px); }
.pricing-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 14px; background: var(--grad); color: #fff; font-size: 0.7rem; font-weight: 700; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.pricing-tier { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 3px; }
.pricing-desc { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 20px; }
.pricing-amount { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; }
.pricing-period { font-size: 0.85rem; color: var(--text-secondary); font-weight: 400; }
.pricing-alt { font-size: 0.8rem; color: var(--text-dim); margin-top: 3px; margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { font-size: 0.85rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 8px; }
.pricing-features li::before { content: '\2713'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-card .btn { width: 100%; padding: 11px 20px; font-size: 0.875rem; }
.pricing-note { text-align: center; margin-top: 40px; font-size: 0.9rem; color: var(--text-secondary); }
.pricing-note strong { color: var(--text); font-weight: 600; }
.pricing-comparison { text-align: center; margin-top: 16px; font-size: 0.85rem; color: var(--text-dim); }
.pricing-comparison strong { color: var(--green); }

/* ===== FAQ ===== */
.faq { padding-top: 72px; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; }
.faq-item h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.faq-item p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; }

/* ===== CONTACT ===== */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.contact-item-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(77, 184, 122, 0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item a { color: var(--green); transition: var(--ease); }
.contact-item a:hover { color: var(--teal); }
.contact-response { margin-top: 28px; font-size: 0.85rem; color: var(--text-dim); }
.contact-form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 0.9rem; transition: var(--ease); outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(77, 184, 122, 0.08); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235e7a6a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-group select option { background: var(--bg-card); color: var(--text); }
.form-submit { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; grid-column: 1 / -1; }
.form-submit .btn { min-width: 160px; }
.form-note { font-size: 0.8rem; color: var(--text-dim); }
.form-note a { color: var(--green); }

/* ===== FOOTER ===== */
.footer { padding: 56px 0 28px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; margin-top: 14px; max-width: 260px; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.85rem; color: var(--text-secondary); padding: 3px 0; transition: var(--ease); }
.footer-col a:hover { color: var(--green); }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }
.footer-bottom-tagline { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .35s; }
.reveal-delay-5 { transition-delay: .4s; }
.reveal-delay-6 { transition-delay: .45s; }
.reveal-delay-7 { transition-delay: .5s; }
.reveal-delay-8 { transition-delay: .55s; }
.reveal-delay-9 { transition-delay: .6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.popular { transform: scale(1); }
  .pricing-card.popular:hover { transform: translateY(-3px); }
  .hosting-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 80px 32px 32px; gap: 24px; transition: var(--ease); border-left: 1px solid var(--border); }
  .nav-links.open { right: 0; }
  section { padding: 80px 0; }
  .hero { min-height: auto; padding-top: 110px; padding-bottom: 60px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .feature-highlight { padding: 32px 24px; }
  .feature-highlight-content { flex-direction: column; gap: 20px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
}
