/* ============================================================
   Codewave Solutions — style.css
   Main Stylesheet | One rule per class
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */

:root { --primary: #040814; --secondary: #0a0f1d; --accent: #2563eb; --accent-light: #3b82f6; --accent-cyan: #60a5fa; --accent-blue: #1d4ed8; --accent-magenta: rgba(168, 85, 247, 0.4); --text-primary: #FFFFFF; --text-secondary: #94A3B8; --text-muted: #64748b; --card-bg: rgba(15, 23, 42, 0.4); --card-border: rgba(255, 255, 255, 0.05); --card-border-hover: rgba(59, 130, 246, 0.3); --glass: rgba(255, 255, 255, 0.03); --glow-cyan: 0 0 40px rgba(59, 130, 246, 0.3); --glow-blue: 0 0 40px rgba(37, 99, 235, 0.2); --font-main: 'Inter', sans-serif; --font-head: 'Space Grotesk', sans-serif }

/* ---------- Keyframe Animations ---------- */

@keyframes glow-pulse {
0%, 100% { opacity: 0.5; filter: blur(80px); transform: scale(1) }
50% { opacity: 0.8; filter: blur(90px); transform: scale(1.05) }
}

@keyframes float-orb {
0%, 100% { transform: translate(0, 0) scale(1) }
33% { transform: translate(30px, -20px) scale(1.05) }
66% { transform: translate(-20px, 20px) scale(0.95) }
}

@keyframes float-orb-slow {
0%, 100% { transform: translate(0, 0) scale(1) }
50% { transform: translate(20px, 30px) scale(1.1) }
}

@keyframes particle-float {
0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0 }
8% { opacity: 0.4 }
92% { opacity: 0.4 }
100% { transform: translateY(-100vh) rotate(720deg); opacity: 0 }
}

@keyframes shimmer {
0% { left: -100% }
100% { left: 100% }
}

@keyframes gradient-shift {
0%, 100% { background-position: 0% 50% }
50% { background-position: 100% 50% }
}

@keyframes border-glow {
0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.15) }
50% { box-shadow: 0 0 35px rgba(59, 130, 246, 0.3) }
}

@keyframes fade-in-up {
from { opacity: 0; transform: translateY(30px) }
to { opacity: 1; transform: translateY(0) }
}

@keyframes icon-glow {
0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.2) }
50% { box-shadow: 0 0 35px rgba(59, 130, 246, 0.4) }
}

@keyframes rotate {
100% { transform: rotate(360deg) }
}

@keyframes radar-spin {
100% { transform: rotate(360deg) }
}

/* ---------- Reset & Base ---------- */

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

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

body { font-family: var(--font-main); background: var(--primary); color: var(--text-primary); overflow-x: hidden; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column }

body main { flex: 1 }

@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.05s !important }
}

/* ---------- Scroll Progress Bar ---------- */

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); z-index: 10000; width: 0%; transition: width 0.1s }

/* ---------- Navbar ---------- */

.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1.2rem 5%; transition: all 0.4s ease; background: transparent; border-bottom: 1px solid transparent }

.navbar.scrolled { background: rgba(4, 8, 20, 0.85); backdrop-filter: blur(12px); padding: 1rem 5%; border-bottom: 1px solid rgba(255, 255, 255, 0.05) }

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

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; z-index: 1001 }

.logo img { height: auto; width: auto; filter: brightness(0) invert(1) }

.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--text-primary); letter-spacing: -0.5px }

.logo-text span { color: var(--accent-light) }

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

.nav-links a { text-decoration: none; color: var(--text-secondary); font-weight: 500; font-size: 0.9rem; transition: color 0.3s ease }

.nav-links a:hover { color: var(--text-primary) }

.nav-actions { display: flex; align-items: center; gap: 1.5rem }

.nav-login { color: var(--text-primary); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.3s ease }

.nav-login:hover { color: var(--accent-light) }

.nav-cta { background: var(--accent); color: #fff !important; padding: 0.7rem 1.4rem; border-radius: 8px; font-weight: 500; font-size: 0.95rem; transition: background 0.3s ease, transform 0.3s ease; display: inline-flex; align-items: center; justify-content: center; text-decoration: none }

.nav-cta:hover { background: var(--accent-light); transform: translateY(-1px) }

/* ---------- Mobile Menu Hamburger ---------- */

.hamburger { display: none; flex-direction: column; cursor: pointer; z-index: 1001; gap: 6px }

.hamburger span { width: 28px; height: 2px; background: var(--text-primary); transition: all 0.3s ease; transform-origin: center }

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg) }

.hamburger.active span:nth-child(2) { opacity: 0 }

.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg) }

.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: rgba(10, 25, 47, 0.98); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem; transition: right 0.4s ease; z-index: 999 }

.mobile-menu.active { right: 0 }

.mobile-menu a { color: var(--text-primary); text-decoration: none; font-size: 1.5rem; font-weight: 600; opacity: 0; transform: translateY(20px); transition: all 0.3s ease }

.mobile-menu.active a { opacity: 1; transform: translateY(0) }

.mobile-menu a:nth-child(1) { transition-delay: 0.1s }

.mobile-menu a:nth-child(2) { transition-delay: 0.2s }

.mobile-menu a:nth-child(3) { transition-delay: 0.3s }

.mobile-menu a:nth-child(4) { transition-delay: 0.4s }

.mobile-menu a:nth-child(5) { transition-delay: 0.5s }

.mobile-menu a:nth-child(6) { transition-delay: 0.6s }

.mobile-menu a:nth-child(7) { transition-delay: 0.7s }

/* ---------- Buttons ---------- */

.btn { padding: 1rem 2rem; border-radius: 50px; font-weight: 600; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; border: none; cursor: pointer; position: relative; overflow: hidden }

.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-blue)); background-size: 200% 200%; color: var(--primary); box-shadow: var(--glow-cyan), 0 10px 30px rgba(0, 217, 255, 0.25) }

.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); animation: shimmer 3s ease-in-out infinite }

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(0, 217, 255, 0.4), 0 20px 40px rgba(0, 217, 255, 0.35) }

.btn-secondary { background: transparent; color: var(--text-primary); border: 2px solid rgba(255, 255, 255, 0.15) }

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); box-shadow: 0 0 25px rgba(0, 217, 255, 0.2) }

/* ---------- Section Utilities ---------- */

.section-dark { background: linear-gradient(to bottom, var(--primary), #0d1f3a) }

.section-light { background: rgba(255, 255, 255, 0.02) }

.section-pure { background: var(--secondary) }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem }

.section-tag { display: inline-block; padding: 0.4rem 1rem; background: rgba(0, 217, 255, 0.1); color: var(--accent); border-radius: 50px; font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px }

.section-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; line-height: 1.2 }

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

/* ---------- Reveal Animation ---------- */

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s ease }

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

.reveal-delay-1 { transition-delay: 0.1s }

.reveal-delay-2 { transition-delay: 0.2s }

.reveal-delay-3 { transition-delay: 0.3s }

.reveal-delay-4 { transition-delay: 0.4s }

.reveal-delay-5 { transition-delay: 0.5s }

.reveal-delay-6 { transition-delay: 0.6s }

/* ---------- Card with Glow ---------- */

.card-glow { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 20px; padding: 2.5rem; transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease }

.card-glow:hover { transform: translateY(-8px); box-shadow: var(--glow-cyan), 0 25px 50px rgba(0, 0, 0, 0.25); border-color: rgba(0, 217, 255, 0.35) }

.feature-icon { width: 64px; height: 64px; background: linear-gradient(135deg, rgba(0, 217, 255, 0.15), rgba(37, 99, 235, 0.15)); border: 1px solid rgba(0, 217, 255, 0.2); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; margin-bottom: 1.5rem; transition: transform 0.3s ease, box-shadow 0.3s ease; animation: icon-glow 4s ease-in-out infinite }

.card-glow:hover .feature-icon { transform: scale(1.08); box-shadow: 0 0 30px rgba(0, 217, 255, 0.35) }

.stat-card { transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease }

.stat-card:hover { transform: translateY(-6px); border-color: rgba(0, 217, 255, 0.25) !important; box-shadow: 0 15px 40px rgba(0, 217, 255, 0.15) }

/* ---------- CTA Block ---------- */

.cta-block { padding: 100px 5%; text-align: center; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(0, 217, 255, 0.08) 0%, rgba(37, 99, 235, 0.08) 50%, var(--primary) 100%); border-top: 1px solid rgba(0, 217, 255, 0.1); border-bottom: 1px solid rgba(0, 217, 255, 0.1) }

.cta-block h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 1rem; line-height: 1.2 }

.cta-block p { color: var(--text-secondary); font-size: 1.15rem; margin-bottom: 2rem }

/* ---------- Hero Section ---------- */

.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 120px 5% 80px }

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none }

.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); animation: float-orb 18s ease-in-out infinite }

.hero-orb--1 { width: 650px; height: 650px; background: radial-gradient(circle, rgba(0, 217, 255, 0.35) 0%, rgba(37, 99, 235, 0.2) 50%, transparent 70%); top: -220px; right: -180px; animation: glow-pulse 6s ease-in-out infinite, float-orb 20s ease-in-out infinite }

.hero-orb--2 { width: 450px; height: 450px; background: radial-gradient(circle, rgba(100, 255, 218, 0.25) 0%, transparent 65%); bottom: -120px; left: -100px; animation: float-orb 22s ease-in-out infinite, glow-pulse 7s ease-in-out 1s infinite }

.hero-orb--3 { width: 320px; height: 320px; background: radial-gradient(circle, var(--accent-magenta) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); animation: float-orb 16s ease-in-out -12s infinite, glow-pulse 5s ease-in-out 2s infinite }

.particles { position: absolute; inset: 0; overflow: hidden; z-index: 1 }

.particle { position: absolute; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; opacity: 0.35; animation: particle-float 18s linear infinite }

.hero-content { position: relative; z-index: 2; max-width: 920px; text-align: center }

.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 0.55rem 1.2rem; background: var(--glass); border: 1px solid rgba(0, 217, 255, 0.25); border-radius: 50px; font-size: 0.875rem; color: var(--accent); margin-bottom: 2rem; animation: fade-in-up 0.8s ease, border-glow 3s ease-in-out infinite 0.5s }

.hero-badge-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: glow-pulse 2s ease-in-out infinite; box-shadow: 0 0 12px var(--accent) }

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap }

.hero-platforms { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 3rem; flex-wrap: wrap }

.hero-platforms span { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px }

.hero-platforms .pills { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center }

.hero-platforms .pill { padding: 0.4rem 0.9rem; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; font-size: 0.85rem; color: var(--text-secondary) }

/* ---------- Hero (Rankin-style index layout) ---------- */

.hero-container { max-width: 1200px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 2 }

.hero-title { font-family: var(--font-head); font-size: clamp(3rem, 5vw, 4.2rem); font-weight: 700; line-height: 1.05; letter-spacing: -1px; margin-bottom: 1.5rem; text-align: left; background: #fff; -webkit-background-clip: text; -webkit-text-fill-color: transparent }

.hero-title span { background: linear-gradient(135deg, var(--accent), var(--accent-cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }

.hero-subtitle { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 2.5rem; text-align: left }

.hero-input-group { display: flex; position: relative; max-width: 500px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 6px }

.hero-input { flex: 1; background: transparent; border: none; padding: 0.8rem 1rem; color: #fff; font-size: 0.95rem; outline: none }

.hero-input::placeholder { color: var(--text-muted) }

.hero-btn { background: var(--accent); color: white; border: none; border-radius: 8px; padding: 0.8rem 1.5rem; font-weight: 500; font-size: 0.95rem; cursor: pointer; transition: background 0.3s ease; white-space: nowrap }

.hero-btn:hover { background: var(--accent-light) }

.hero-trusted { margin-top: 3rem; display: flex; align-items: center; gap: 1rem; color: var(--text-muted); font-size: 0.85rem }

.hero-trusted-logos { display: flex; gap: 1.5rem; align-items: center }

.hero-trusted-logos svg,
.hero-trusted-logos img { height: 20px; opacity: 0.5; filter: grayscale(100%) brightness(200%) }

.hero-graphic { position: relative; width: 100%; height: 500px }

.hero-graphic-main { position: absolute; right: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(145deg, rgba(23, 37, 84, 0.6), rgba(15, 23, 42, 0.6)); border: 1px solid rgba(59, 130, 246, 0.2); border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(37, 99, 235, 0.2); backdrop-filter: blur(10px); padding: 2rem; display: flex; flex-direction: column; overflow: hidden }

.hero-graphic-main::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(37, 99, 235, 0.4) 180deg, transparent 360deg); animation: rotate 10s linear infinite; opacity: 0.1 }

/* Hero Graphic Inner Elements */

.hg-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 1rem }

.hg-title { font-size: 0.9rem; font-weight: 500; color: #fff; display: flex; align-items: center; gap: 8px }

.hg-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 10px #10b981 }

.hg-bar { height: 8px; background: rgba(255, 255, 255, 0.05); border-radius: 4px; overflow: hidden; margin-bottom: 1rem }

.hg-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-cyan)); width: 75%; border-radius: 4px }

.hg-card-stack { position: absolute; bottom: -20px; left: -40px; width: 250px; background: rgba(15, 23, 42, 0.8); border: 1px solid rgba(59, 130, 246, 0.3); border-radius: 16px; padding: 1.5rem; backdrop-filter: blur(20px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); z-index: 10; transform: translateY(20px); opacity: 0; animation: fade-in-up 0.8s ease 0.6s forwards }

.hg-card-stack h4 { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; font-weight: 400 }

.hg-card-stack .score { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 0.5rem }

.hg-card-stack .trend { font-size: 0.8rem; color: #10b981; background: rgba(16, 185, 129, 0.1); padding: 2px 6px; border-radius: 4px; display: inline-flex; align-items: center; gap: 4px }

/* ---------- Built For Section ---------- */

.built-for-wrapper { padding: 4rem 5%; background: var(--primary); display: flex; justify-content: center }

.built-for-container { background: #080b13; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; max-width: 1200px; width: 100%; padding: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; overflow: hidden }

.built-for-container::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: radial-gradient(circle at center right, rgba(37, 99, 235, 0.15), transparent 70%); pointer-events: none }

.bf-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 1.5rem }

.bf-desc { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.6; margin-bottom: 2.5rem; max-width: 450px }

.bf-btn { background: var(--accent); color: white; padding: 0.8rem 1.8rem; border-radius: 8px; font-weight: 500; text-decoration: none; display: inline-flex; transition: 0.3s ease }

.bf-btn:hover { background: var(--accent-light); transform: translateY(-2px) }

.bf-checks { list-style: none; margin-bottom: 2.5rem }

.bf-checks li { color: #fff; display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; font-size: 0.95rem }

.bf-check-icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; background: rgba(59, 130, 246, 0.2); color: var(--accent-light) }

.bf-visual { position: relative; display: flex; justify-content: center; align-items: center }

.bf-radar { width: 350px; height: 350px; border-radius: 50%; border: 1px dashed rgba(59, 130, 246, 0.3); display: flex; align-items: center; justify-content: center; position: relative }

.bf-radar::before { content: ''; width: 250px; height: 250px; border-radius: 50%; border: 1px dashed rgba(59, 130, 246, 0.2); position: absolute }

.bf-radar::after { content: ''; width: 150px; height: 150px; border-radius: 50%; border: 1px dashed rgba(59, 130, 246, 0.2); position: absolute }

.bf-radar-sweep { position: absolute; top: 50%; left: 50%; width: 50%; height: 50%; background: conic-gradient(from 0deg at 0% 0%, rgba(37, 99, 235, 0.4) 0deg, transparent 60deg); transform-origin: 0 0; animation: radar-spin 4s linear infinite }

.bf-radar-dot { position: absolute; width: 32px; height: 32px; background: #040814; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; box-shadow: 0 0 20px rgba(59, 130, 246, 0.6) }

.bf-dot-1 { top: 20%; right: 25% }

.bf-dot-2 { bottom: 30%; left: 20%; background: var(--accent); color: white }

.bf-dot-3 { bottom: 15%; right: 35%; background: #10b981; color: white }

/* ---------- Features / Services Section ---------- */

.features-section { background: #fafafa; padding: 100px 5%; color: #0f172a; position: relative }

.feat-header { text-align: center; max-width: 800px; margin: 0 auto 4rem }

.feat-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; margin-bottom: 1rem; color: #0f172a }

.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto }

.feat-card { background: #fff; border-radius: 20px; padding: 2.5rem; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04); transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid rgba(0, 0, 0, 0.03) }

.feat-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) }

.feat-icon-box { width: 48px; height: 48px; background: rgba(59, 130, 246, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.2rem; margin-bottom: 1.5rem }

.feat-card h3 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 0.8rem; color: #0f172a }

.feat-card p { color: #64748b; line-height: 1.6; font-size: 0.95rem }

/* ---------- Packages / Pricing Section ---------- */

.packages-section { background: var(--primary); padding: 100px 5%; position: relative }

.packages-header { text-align: center; max-width: 800px; margin: 0 auto 4rem }

.packages-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: #fff; margin-bottom: 1rem; line-height: 1.2 }

.packages-subtitle { color: var(--text-secondary); font-size: 1.15rem; max-width: 600px; margin: 0 auto }

.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; align-items: start }

.pkg-card { background: rgba(15, 23, 42, 0.4); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 2.5rem; transition: transform 0.3s ease; position: relative;}

.pkg-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.1) }

.pkg-card.popular { background: rgba(37, 99, 235, 0.1); border-color: rgba(59, 130, 246, 0.4); box-shadow: 0 0 40px rgba(37, 99, 235, 0.15) }

.pkg-card.popular::before { content: 'Most Popular'; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--accent); color: #fff; padding: 0.3rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600 }

.pkg-header { margin-bottom: 2rem }

.pkg-icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1.5rem }

.pkg-card.popular .pkg-icon { background: var(--accent); color: #fff; box-shadow: 0 0 20px rgba(59, 130, 246, 0.4) }

.pkg-name { font-family: var(--font-head); font-size: 1.5rem; color: #fff; margin-bottom: 0.5rem; font-weight: 600 }

.pkg-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5 }

.pkg-features { list-style: none; margin-bottom: 2.5rem }

.pkg-features li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1rem; color: var(--text-primary); font-size: 0.95rem }

.pkg-features li svg { color: var(--accent-light); flex-shrink: 0; margin-top: 2px }

.pkg-btn { width: 100%; padding: 1rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: transparent; color: #fff; font-weight: 500; text-align: center; text-decoration: none; display: inline-block; transition: all 0.3s ease }

.pkg-btn:hover { background: rgba(255, 255, 255, 0.05) }

.pkg-card.popular .pkg-btn { background: #fff; color: #040814; border: none }

.pkg-card.popular .pkg-btn:hover { background: #f8fafc; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1) }

/* ---------- Comparison Section ---------- */

.comparison-section { background: var(--secondary); padding: 100px 5%; border-top: 1px solid rgba(255, 255, 255, 0.02) }

.comp-header { text-align: center; margin-bottom: 4rem }

.comp-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: #fff; margin-bottom: 1rem }

.comp-subtitle { color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.6 }

.comp-table-container { max-width: 1000px; margin: 0 auto; background: rgba(15, 23, 42, 0.5); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; overflow: hidden }

.comp-table { width: 100%; border-collapse: collapse }

.comp-table th,
.comp-table td { padding: 1.2rem 1.5rem; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.05) }

.comp-table th { font-weight: 500; color: var(--text-secondary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px }

.comp-table th:nth-child(2) { color: var(--accent); background: rgba(37, 99, 235, 0.05) }

.comp-table td:first-child { color: #fff; font-weight: 500 }

.comp-table td:nth-child(2) { background: rgba(37, 99, 235, 0.05); color: var(--accent-light); text-align: center }

.comp-table td:nth-child(3) { color: var(--text-muted); text-align: center }

.comp-table svg { display: inline-block; vertical-align: middle }

.icon-check { color: var(--accent-light) }

.icon-cross { color: #ef4444; opacity: 0.5 }

/* ---------- Portfolio Section ---------- */

.portfolio { background: var(--primary); padding: 100px 5%; position: relative }

.portfolio .section-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: #fff; margin-bottom: 3rem; text-align: center }

.port-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2.5rem; max-width: 1200px; margin: 0 auto }

.port-item { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16/11; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.05) }

.port-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); filter: brightness(0.8) }

.port-item:hover .port-img { transform: scale(1.05); filter: brightness(1) }

.port-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 8, 20, 0.95) 0%, rgba(4, 8, 20, 0.4) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem }

.port-cat { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); color: #fff; font-size: 0.8rem; font-weight: 500; padding: 0.4rem 1rem; border-radius: 50px; display: inline-block; margin-bottom: 1rem; align-self: flex-start }

.port-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: #fff; margin-bottom: 0.5rem; transform: translateY(10px); transition: transform 0.4s ease }

.port-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-light); font-size: 0.9rem; font-weight: 500; opacity: 0; transform: translateY(10px); transition: all 0.4s ease; text-decoration: none }

.port-item:hover .port-title { transform: translateY(0) }

.port-item:hover .port-link { opacity: 1; transform: translateY(0); transition-delay: 0.1s }

.portfolio-item { transition: transform 0.4s ease, box-shadow 0.4s ease }

.portfolio-item:hover { transform: translateY(-6px); box-shadow: var(--glow-cyan), 0 20px 50px rgba(0, 0, 0, 0.2) }

.portfolio-item img { transition: transform 0.5s ease }

.portfolio-item:hover img { transform: scale(1.06) }

/* ---------- FAQ Section ---------- */

.faq-section { background: var(--secondary); padding: 100px 5%; border-top: 1px solid rgba(255, 255, 255, 0.02) }

.faq-header { text-align: center; margin-bottom: 4rem }

.faq-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: #fff; margin-bottom: 1rem }

.faq-subtitle { color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.6 }

.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem }

.faq-item { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; overflow: hidden; transition: all 0.3s ease }

.faq-item:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1) }

.faq-question { padding: 1.5rem 2rem; width: 100%; text-align: left; background: transparent; border: none; color: #fff; font-family: var(--font-head); font-size: 1.1rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; cursor: pointer }

.faq-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: transform 0.3s ease }

.faq-answer { padding: 0 2rem; max-height: 0; overflow: hidden; transition: all 0.3s ease; color: var(--text-secondary); line-height: 1.6; font-size: 0.95rem }

.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--accent-light) }

.faq-item.active .faq-answer { padding: 0 2rem 1.5rem; max-height: 500px }

/* ---------- CTA Section ---------- */

.cta-section { padding: 100px 5%; background: var(--primary); display: flex; justify-content: center }

.cta-container { max-width: 1000px; width: 100%; background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(168, 85, 247, 0.05)); border: 1px solid rgba(59, 130, 246, 0.2); border-radius: 32px; padding: 5rem 2rem; text-align: center; position: relative; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) }

.cta-container::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(37, 99, 235, 0.15) 0%, transparent 50%); pointer-events: none }

.cta-title { font-family: var(--font-head); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 1.5rem }

.cta-subtitle { color: var(--text-secondary); font-size: 1.2rem; max-width: 600px; margin: 0 auto 3rem; line-height: 1.6 }

.cta-buttons { display: flex; gap: 1rem; justify-content: center; align-items: center }

.cta-btn-primary { background: #fff; color: #040814; padding: 1rem 2.5rem; border-radius: 50px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease }

.cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2) }

.cta-btn-secondary { background: rgba(255, 255, 255, 0.05); color: #fff; padding: 1rem 2.5rem; border-radius: 50px; font-weight: 500; font-size: 1rem; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.1); transition: background 0.3s ease }

.cta-btn-secondary:hover { background: rgba(255, 255, 255, 0.1) }

/* ---------- Footer ---------- */

.footer { background: #08080a; padding: 80px 5% 30px; border-top: 1px solid rgba(255, 255, 255, 0.05); margin-top: auto }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; max-width: 1200px; margin: 0 auto 4rem }

.footer-brand .logo { margin-bottom: 1.5rem }

.footer-brand p { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.8 }

.social-links { display: flex; gap: 1rem }

.social-links a { width: 40px; height: 40px; border-radius: 50%; background: var(--card-bg); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); text-decoration: none; transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.1) }

.social-links a:hover { background: var(--accent); color: var(--primary); transform: translateY(-3px) }

.footer-column h4 { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; margin-bottom: 1.5rem; color: var(--text-primary) }

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

.footer-column li { margin-bottom: 0.8rem }

.footer-column li a { color: var(--text-secondary); text-decoration: none; transition: all 0.3s ease; font-size: 0.95rem }

.footer-column li a:hover { color: var(--accent); padding-left: 5px }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 2rem; text-align: center; color: var(--text-muted); font-size: 0.9rem; max-width: 1200px; margin: 0 auto }

/* ---------- Forms ---------- */

.form-page { padding: 120px 5% 100px; max-width: 700px; margin: 0 auto }

.form-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 20px; padding: 2.5rem; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); transition: box-shadow 0.4s ease, border-color 0.4s ease }

.form-card:focus-within { box-shadow: var(--glow-cyan), 0 20px 50px rgba(0, 0, 0, 0.3); border-color: rgba(0, 217, 255, 0.3) }

.form-group { margin-bottom: 1.5rem }

.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-primary) }

.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 0.9rem 1rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; color: var(--text-primary); font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease; color-scheme: dark }

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

.form-group select option { background: var(--secondary); color: #fff }

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

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

.form-error { color: #ef4444; font-size: 0.875rem; margin-top: 0.25rem }

.form-success { background: rgba(0, 217, 255, 0.1); border: 1px solid rgba(0, 217, 255, 0.3); color: var(--accent); padding: 1rem; border-radius: 12px; margin-bottom: 1.5rem }

.form-submit { width: 100%; padding: 1rem 2rem; background: linear-gradient(135deg, var(--accent), var(--accent-blue)); color: var(--primary); border: none; border-radius: 50px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: all 0.3s ease }

.form-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3) }

/* ---------- Animated Wave Divider ---------- */

@keyframes wave-flow-back {
0% { d: path("M0,60 C240,120 480,0 720,60 C960,120 1200,0 1440,60 L1440,120 L0,120 Z") }
50% { d: path("M0,40 C240,0 480,120 720,40 C960,0 1200,120 1440,40 L1440,120 L0,120 Z") }
100% { d: path("M0,60 C240,120 480,0 720,60 C960,120 1200,0 1440,60 L1440,120 L0,120 Z") }
}

@keyframes wave-flow-mid {
0% { d: path("M0,80 C180,20 360,100 540,60 C720,20 900,100 1080,60 C1260,20 1380,80 1440,60 L1440,120 L0,120 Z") }
50% { d: path("M0,50 C180,110 360,30 540,80 C720,110 900,30 1080,80 C1260,110 1380,50 1440,80 L1440,120 L0,120 Z") }
100% { d: path("M0,80 C180,20 360,100 540,60 C720,20 900,100 1080,60 C1260,20 1380,80 1440,60 L1440,120 L0,120 Z") }
}

@keyframes wave-flow-front {
0% { d: path("M0,90 C120,50 300,110 480,70 C660,30 840,110 1020,70 C1200,30 1350,90 1440,70 L1440,120 L0,120 Z") }
50% { d: path("M0,60 C120,100 300,40 480,90 C660,110 840,40 1020,90 C1200,110 1350,60 1440,90 L1440,120 L0,120 Z") }
100% { d: path("M0,90 C120,50 300,110 480,70 C660,30 840,110 1020,70 C1200,30 1350,90 1440,70 L1440,120 L0,120 Z") }
}

.wave-divider { position: relative; width: 100%; overflow: hidden; line-height: 0; background: #040814; margin-bottom: -2px }

.wave-svg { display: block; width: 100%; height: 120px }

.wave-path { fill-opacity: 1 }

.wave-path--back { fill: rgba(37, 99, 235, 0.15); animation: wave-flow-back 8s ease-in-out infinite }

.wave-path--mid { fill: rgba(37, 99, 235, 0.2); animation: wave-flow-mid 6s ease-in-out infinite 0.5s }

.wave-path--front { fill: #080b13; animation: wave-flow-front 4s ease-in-out infinite 1s }