/* ======================================
   SVIK SOLUTION – Global Design System
   ====================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #1a56db;
  --primary-dark: #1042b0;
  --primary-light: #e8f0fe;
  --accent: #f97316;
  --accent-light: #fff7ed;
  --success: #16a34a;
  --text-dark: #0f172a;
  --text-mid: #374151;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-mid: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; line-height: 1.25; }

/* --- Layout --- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

/* --- Typography --- */
.section-label {
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--primary);
  display: block; margin-bottom: 12px;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--text-dark); margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border: none; transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 16px rgba(26,86,219,0.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(26,86,219,0.45); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(249,115,22,0.35); }
.btn-accent:hover { background: #ea6500; transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

/* --- Navbar --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; padding: 0 24px; max-width: 1180px; margin: 0 auto;
}
.navbar-logo { display: flex; align-items: center; gap: 10px; }
.navbar-logo img { height: 42px; width: auto; }
.navbar-logo-text { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--text-dark); }
.navbar-logo-text span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.93rem; font-weight: 500; color: var(--text-mid);
  transition: var(--transition); position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--primary); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 8px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.page-offset { padding-top: 70px; }

/* --- Mobile Nav --- */
.mobile-nav {
  display: none; position: fixed; top: 70px; left: 0; right: 0; z-index: 999;
  background: #fff; padding: 20px 24px; box-shadow: var(--shadow-lg);
  flex-direction: column; gap: 16px; border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-weight: 500; color: var(--text-mid); padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border: none; }
.mobile-nav a:hover { color: var(--primary); }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1a3a7c 50%, #1a56db 100%);
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 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.04'%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");
}
.hero-content { position: relative; z-index: 2; padding: 120px 24px 80px; max-width: 1180px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); padding: 6px 14px; border-radius: 50px; font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.9); margin-bottom: 20px; backdrop-filter: blur(8px); }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 800; color: #fff; margin-bottom: 20px; line-height: 1.15; }
.hero h1 span { color: #60a5fa; }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 36px; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat { text-align: left; }
.hero-stat-number { font-size: 2rem; font-weight: 800; color: #fff; font-family: 'Poppins', sans-serif; }
.hero-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 2px; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-card-stack { position: relative; width: 100%; max-width: 400px; }
.hero-card {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg);
  padding: 28px; color: #fff;
}
.hero-card-inner { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.hero-card-item { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.9); }
.hero-card-item .icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.hero-card-item .icon.blue { background: rgba(96,165,250,0.25); }
.hero-card-item .icon.orange { background: rgba(251,146,60,0.25); }
.hero-card-item .icon.green { background: rgba(52,211,153,0.25); }
.hero-card-item .icon.purple { background: rgba(167,139,250,0.25); }
.float-badge { position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 12px 18px; display: flex; align-items: center; gap: 10px; }
.float-badge-1 { bottom: -20px; left: -30px; }
.float-badge-2 { top: -20px; right: -20px; }
.float-badge .dot { width: 10px; height: 10px; border-radius: 50%; }
.float-badge .dot.green { background: #22c55e; }
.float-badge .dot.blue { background: #3b82f6; }
.float-badge-text { font-size: 0.8rem; font-weight: 600; color: var(--text-dark); }
.float-badge-sub { font-size: 0.72rem; color: var(--text-muted); }

/* --- Cards --- */
.card {
  background: #fff; border-radius: var(--radius-md);
  border: 1px solid var(--border); padding: 32px;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon { width: 56px; height: 56px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px; }
.card-icon.blue { background: var(--primary-light); }
.card-icon.orange { background: var(--accent-light); }
.card-icon.green { background: #dcfce7; }
.card-icon.purple { background: #f3e8ff; }
.card-icon.cyan { background: #ecfeff; }
.card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; color: var(--text-dark); }
.card p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.65; }

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

/* --- Pricing Cards --- */
.pricing-card {
  background: #fff; border-radius: var(--radius-md);
  border: 2px solid var(--border); padding: 36px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.pricing-card.popular { border-color: var(--primary); }
.pricing-card.popular::before { content: 'Most Popular'; position: absolute; top: 0; right: 0; background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 6px 16px; border-bottom-left-radius: var(--radius-sm); }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; margin-bottom: 16px; }
.pricing-badge.green { background: #dcfce7; color: #15803d; }
.pricing-badge.blue { background: var(--primary-light); color: var(--primary); }
.pricing-badge.purple { background: #f3e8ff; color: #7c3aed; }
.pricing-price { margin: 16px 0; }
.pricing-currency { font-size: 1.4rem; font-weight: 700; vertical-align: top; color: var(--primary); line-height: 1.5; }
.pricing-amount { font-size: 3rem; font-weight: 800; color: var(--text-dark); font-family: 'Poppins', sans-serif; line-height: 1; }
.pricing-period { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-mid); }
.pricing-feature::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-note { font-size: 0.8rem; color: var(--text-muted); font-style: italic; margin-top: 16px; }

/* --- Trust / Badges --- */
.trust-bar { background: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-items { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.trust-item .icon { font-size: 1.4rem; }

/* --- Section Dividers / Decorative --- */
.bg-primary { background: var(--primary); }
.bg-dark { background: var(--text-dark); }
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }
.text-white { color: #fff !important; }
.text-muted { color: var(--text-muted); }

/* --- Highlight Box --- */
.highlight-box { background: var(--primary-light); border-left: 4px solid var(--primary); border-radius: var(--radius-sm); padding: 16px 20px; }
.highlight-box.warning { background: #fff7ed; border-color: var(--accent); }
.highlight-box.success { background: #dcfce7; border-color: var(--success); }

/* --- Accordion --- */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border: none; }
.accordion-header { padding: 20px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.accordion-header:hover { background: var(--bg-light); }
.accordion-body { padding: 0 24px 20px; color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; display: none; }
.accordion-body.open { display: block; }
.accordion-arrow { transition: var(--transition); font-size: 1.1rem; }
.accordion-header.active .accordion-arrow { transform: rotate(90deg); }

/* --- Policy Content --- */
.policy-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin: 32px 0 12px; }
.policy-content h3 { font-size: 1.1rem; font-weight: 600; color: var(--text-dark); margin: 24px 0 8px; }
.policy-content p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.75; }
.policy-content ul { margin: 10px 0 14px 20px; }
.policy-content ul li { color: var(--text-muted); margin-bottom: 7px; list-style: disc; line-height: 1.7; }
.policy-content a { color: var(--primary); text-decoration: underline; }
.policy-content .effective-date { background: var(--bg-light); padding: 12px 20px; border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--text-muted); margin-bottom: 28px; border: 1px solid var(--border); }

/* --- Checkout --- */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.checkout-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; }
.checkout-plan-option { border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; cursor: pointer; transition: var(--transition); margin-bottom: 12px; display: flex; align-items: center; gap: 16px; }
.checkout-plan-option:hover, .checkout-plan-option.selected { border-color: var(--primary); background: var(--primary-light); }
.checkout-plan-option input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; }
.checkout-plan-name { font-weight: 600; color: var(--text-dark); }
.checkout-plan-price { font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.checkout-plan-desc { font-size: 0.82rem; color: var(--text-muted); }
.payment-badge { display: flex; align-items: center; gap: 8px; background: #dcfce7; border: 1px solid #86efac; border-radius: var(--radius-sm); padding: 12px 16px; margin: 20px 0; }
.payment-badge .icon { font-size: 1.2rem; }
.payment-badge-text { font-size: 0.85rem; font-weight: 600; color: #15803d; }
.payment-methods { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.payment-method-tag { background: var(--bg-mid); border: 1px solid var(--border); border-radius: 6px; padding: 6px 14px; font-size: 0.82rem; font-weight: 600; color: var(--text-mid); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--text-mid); }
.form-control {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.93rem; font-family: 'Inter', sans-serif; color: var(--text-dark);
  transition: var(--transition); background: #fff;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,0.12); }
.order-summary { background: var(--bg-light); border-radius: var(--radius-md); border: 1px solid var(--border); padding: 28px; }
.order-row { display: flex; justify-content: space-between; font-size: 0.93rem; color: var(--text-mid); margin-bottom: 10px; }
.order-row.total { font-weight: 700; font-size: 1.05rem; color: var(--text-dark); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; }

/* --- Footer --- */
.footer { background: #0f172a; color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .logo img { height: 38px; }
.footer-brand .logo-text { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; color: #fff; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 300px; margin-bottom: 20px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; font-size: 0.87rem; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.footer-contact-item a { color: rgba(255,255,255,0.75); transition: var(--transition); }
.footer-contact-item a:hover { color: #fff; }
.footer-col h4 { font-size: 0.93rem; font-weight: 600; color: #fff; margin-bottom: 18px; letter-spacing: 0.4px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.87rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom-left { font-size: 0.83rem; color: rgba(255,255,255,0.4); }
.footer-bottom-right { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-right a { font-size: 0.83rem; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-bottom-right a:hover { color: #fff; }

/* --- Page Header --- */
.page-header { background: linear-gradient(135deg, #0f172a 0%, #1a3a7c 100%); padding: 80px 0 60px; text-align: center; }
.page-header h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; color: #fff; margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 16px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* --- Animations --- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.animate-fade-up { animation: fadeUp 0.6s ease forwards; }
.float-anim { animation: float 4s ease-in-out infinite; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .checkout-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-card-stack { display: none; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .pricing-card { padding: 24px; }
}

/* --- Utility --- */
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.w-full { width: 100%; }
