/* SmartShop — Developer Apple Digital — Main CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg: #0a0a0f;
  --bg2: #11111a;
  --bg3: #18182a;
  --accent: #7c3aed;
  --accent2: #9f5cf7;
  --accent3: #c084fc;
  --gold: #f59e0b;
  --text: #f0f0f8;
  --text2: #a8a8c0;
  --text3: #6b6b8a;
  --border: rgba(124,58,237,0.2);
  --card: rgba(17,17,26,0.8);
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(124,58,237,0.15);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* ─── HEADER ─── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo img { height: 40px; border-radius: 8px; }
.logo-text { font-size: 17px; font-weight: 700; color: var(--text); white-space: nowrap; }
nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
nav a { color: var(--text2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 6px; transition: var(--transition); }
nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-switcher { display: flex; gap: 4px; }
.lang-switcher a { color: var(--text3); font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 4px; text-decoration: none; transition: var(--transition); }
.lang-switcher a:hover, .lang-switcher a.active { color: var(--accent2); background: rgba(124,58,237,0.12); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; box-shadow: 0 4px 16px rgba(124,58,237,0.4); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(124,58,237,0.5); }
.btn-outline { background: transparent; color: var(--accent3); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: rgba(124,58,237,0.1); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 10px; }
.btn-gold { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #000; box-shadow: 0 4px 16px rgba(245,158,11,0.3); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(245,158,11,0.4); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 2px; transition: var(--transition); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 24px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../assets/purple_background.png') center/cover no-repeat;
  opacity: 0.2;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(124,58,237,0.3) 0%, transparent 70%),
              linear-gradient(180deg, transparent 60%, var(--bg) 100%);
}
.hero-content { position: relative; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(124,58,237,0.15); border: 1px solid var(--border); border-radius: 50px; padding: 6px 16px; font-size: 13px; font-weight: 600; color: var(--accent3); margin-bottom: 28px; }
.hero-badge::before { content: '●'; color: #22c55e; font-size: 8px; }
.hero h1 { font-size: clamp(36px, 6vw, 72px); font-weight: 900; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; }
.hero h1 .highlight { background: linear-gradient(135deg, var(--accent2), var(--accent3)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero .subtitle { font-size: clamp(16px, 2.5vw, 20px); color: var(--text2); max-width: 600px; margin-bottom: 40px; line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { text-align: left; }
.stat-num { font-size: 32px; font-weight: 800; color: var(--accent3); line-height: 1; }
.stat-label { font-size: 13px; color: var(--text3); margin-top: 4px; }

/* ─── SECTIONS ─── */
section { padding: 80px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--accent3); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.section-tag::before { content: ''; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
h2.section-title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 16px; }
.section-sub { color: var(--text2); font-size: 18px; max-width: 560px; margin-bottom: 56px; line-height: 1.7; }

/* ─── FEATURES GRID ─── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.feature-icon { width: 48px; height: 48px; background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(159,92,247,0.1)); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ─── BENEFITS ─── */
.benefits-section { background: var(--bg2); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.benefit-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: var(--transition); }
.benefit-card:hover { border-color: var(--accent); }
.benefit-num { font-size: 36px; font-weight: 900; color: var(--accent); opacity: 0.3; line-height: 1; flex-shrink: 0; min-width: 40px; }
.benefit-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.benefit-card p { font-size: 14px; color: var(--text2); }

/* ─── FOR WHOM ─── */
.whom-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.whom-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; text-align: center; transition: var(--transition); }
.whom-card:hover { border-color: var(--accent2); transform: translateY(-3px); box-shadow: var(--shadow); }
.whom-icon { font-size: 48px; margin-bottom: 20px; }
.whom-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.whom-card p { color: var(--text2); font-size: 15px; line-height: 1.7; }
.whom-list { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.whom-list li { font-size: 14px; color: var(--text2); display: flex; align-items: center; gap: 8px; }
.whom-list li::before { content: '✓'; color: var(--accent3); font-weight: 700; }

/* ─── CASES ─── */
.cases-section { background: var(--bg2); }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.case-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; }
.case-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent3)); }
.case-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent3); margin-bottom: 14px; }
.case-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.case-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ─── PRICING ─── */
.pricing-section { background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; max-width: 800px; margin: 0 auto; }
.price-card { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 36px; text-align: center; transition: var(--transition); position: relative; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 50px; white-space: nowrap; }
.price-type { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text3); margin-bottom: 12px; }
.price-amount { font-size: 56px; font-weight: 900; color: var(--text); line-height: 1; margin-bottom: 8px; }
.price-amount span { font-size: 24px; vertical-align: top; padding-top: 10px; display: inline-block; color: var(--text2); }
.price-desc { font-size: 14px; color: var(--text2); margin-bottom: 28px; }
.price-features { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.price-features li { font-size: 14px; color: var(--text2); display: flex; align-items: flex-start; gap: 10px; }
.price-features li::before { content: '✓'; color: #22c55e; font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ─── CTA BANNER ─── */
.cta-section {
  background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(159,92,247,0.1) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 80px 24px;
}
.cta-section h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.cta-section p { color: var(--text2); font-size: 18px; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FAQ ─── */
.faq-section { background: var(--bg2); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; color: var(--text); font-size: 16px; font-weight: 600; text-align: left; padding: 20px 24px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: inherit; }
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-arrow { width: 20px; height: 20px; flex-shrink: 0; transition: var(--transition); color: var(--accent3); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 24px 20px; color: var(--text2); font-size: 15px; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ─── FOOTER ─── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 60px 24px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text3); line-height: 1.7; max-width: 280px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.social-link { width: 36px; height: 36px; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 16px; color: var(--text2); transition: var(--transition); }
.social-link:hover { border-color: var(--accent); color: var(--accent3); }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text3); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text2); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: var(--transition); }
.footer-col a:hover { color: var(--accent3); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: var(--text3); }
.disclaimer { font-size: 11px; color: var(--text3); opacity: 0.6; text-align: center; }

/* ─── BLOG ─── */
.blog-section { background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: var(--transition); display: block; }
.blog-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-img { height: 180px; background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(159,92,247,0.1)); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.blog-card-body { padding: 24px; }
.blog-card-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent3); margin-bottom: 10px; }
.blog-card-title { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.blog-card-excerpt { font-size: 14px; color: var(--text2); line-height: 1.6; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text3); }

/* ─── ARTICLE ─── */
.article-hero { background: var(--bg2); padding: 60px 24px 48px; border-bottom: 1px solid var(--border); }
.article-body { max-width: 780px; margin: 0 auto; padding: 56px 24px; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text3); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--text3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent3); }
.breadcrumbs span { color: var(--text3); }
.article-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent3); margin-bottom: 12px; }
.article-hero h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 16px; }
.article-meta { font-size: 14px; color: var(--text3); display: flex; gap: 20px; flex-wrap: wrap; }
.article-body h2 { font-size: 26px; font-weight: 700; margin: 40px 0 16px; letter-spacing: -0.3px; }
.article-body h3 { font-size: 20px; font-weight: 700; margin: 30px 0 12px; }
.article-body p { color: var(--text2); line-height: 1.8; margin-bottom: 20px; font-size: 16px; }
.article-body ul, .article-body ol { color: var(--text2); line-height: 1.8; margin-bottom: 20px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; font-size: 16px; }
.article-cta { background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(159,92,247,0.1)); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin: 40px 0; text-align: center; }
.article-cta h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.article-cta p { color: var(--text2); font-size: 15px; margin-bottom: 20px; }
.article-source { font-size: 13px; color: var(--text3); margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.article-source a { color: var(--accent3); }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  section { padding: 60px 20px; }
  .header-inner { height: 60px; }
  nav { display: none; position: fixed; top: 60px; left: 0; right: 0; background: rgba(10,10,15,0.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 20px; flex-direction: column; align-items: stretch; gap: 4px; }
  nav.open { display: flex; }
  nav a { padding: 12px 16px; font-size: 16px; border-radius: 8px; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { min-height: 80vh; padding: 60px 20px; }
  .hero-stats { gap: 24px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .pricing-grid { grid-template-columns: 1fr; }
  .logo-text { display: none; }
  .header-actions .btn { display: none; }
}
@media (max-width: 480px) {
  .stat-num { font-size: 26px; }
  .hero h1 { letter-spacing: -1px; }
}
