/* =============================================
   APPPLEACCOUNT.STORE — Dark Teal Elite
   ============================================= */

:root {
  --bg: #080C10;
  --bg2: #0D1318;
  --bg3: #111920;
  --accent: #00BFA5;
  --accent2: #1DE9B6;
  --accent-dark: #008F7A;
  --text: #F0F4F8;
  --text-muted: #8A9BB0;
  --border: rgba(0,191,165,0.15);
  --card-bg: #0F1923;
  --header-h: 72px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(8,12,16,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo img { height: 38px; width: auto; }

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

nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-switcher a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.lang-switcher a:hover,
.lang-switcher a.active { color: var(--accent); background: rgba(0,191,165,0.1); }

.lang-switcher span { color: var(--border); font-size: 12px; }

.btn-order {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000 !important;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 10px;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn-order:hover { opacity: 0.9; transform: translateY(-1px); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.mobile-nav .mobile-lang {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 12px;
}

.mobile-nav .mobile-lang a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--bg3);
  border-radius: 6px;
}
.mobile-nav .mobile-lang a.active,
.mobile-nav .mobile-lang a:hover { color: var(--accent); background: rgba(0,191,165,0.1); }

.mobile-nav .btn-order {
  margin-top: 8px;
  text-align: center;
  display: block;
}

/* ===== PAGE OFFSET ===== */
main { padding-top: var(--header-h); }

/* ===== SECTION LAYOUT ===== */
section { padding: 80px 24px; }
.container { max-width: 1200px; margin: 0 auto; }

/* ===== HERO ===== */
#hero {
  padding: 100px 24px 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,191,165,0.12) 0%, transparent 70%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,191,165,0.1);
  border: 1px solid rgba(0,191,165,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

#hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

#hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0,191,165,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,191,165,0.4); }

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); }

/* Hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-number {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ===== FEATURES ===== */
#features { background: var(--bg2); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-header h2 span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p { color: var(--text-muted); font-size: 17px; max-width: 560px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(0,191,165,0.4); transform: translateY(-3px); }

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ===== PRICING ===== */
#pricing { background: var(--bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: transform 0.2s, border-color 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(0,191,165,0.35); }

.pricing-card.popular {
  border-color: var(--accent);
  background: linear-gradient(160deg, #0F1923 0%, #0A1A17 100%);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.plan-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.plan-name { font-size: 22px; font-weight: 800; margin-bottom: 20px; }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}
.price-currency { font-size: 22px; font-weight: 700; color: var(--accent); }
.price-value {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-period { font-size: 14px; color: var(--text-muted); }

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.plan-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-plan {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000;
  font-weight: 700;
  font-size: 15px;
  padding: 13px;
  border-radius: 12px;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(0,191,165,0.25);
}
.btn-plan:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-plan-outline {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  padding: 13px;
  border-radius: 12px;
  border: 2px solid var(--accent);
  transition: background 0.2s, color 0.2s;
}
.btn-plan-outline:hover { background: rgba(0,191,165,0.1); }

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

/* ===== HOW IT WORKS ===== */
#how { background: var(--bg2); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  position: relative;
}

.step {
  text-align: center;
  padding: 24px 16px;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0,191,165,0.1);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 auto 16px;
}

.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== FAQ ===== */
#faq { background: var(--bg); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  gap: 16px;
  user-select: none;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,191,165,0.1);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--accent);
  transition: transform 0.3s;
  font-weight: 300;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.faq-item.open .faq-a { display: block; }

/* ===== CTA SECTION ===== */
#cta {
  background: linear-gradient(135deg, rgba(0,191,165,0.08) 0%, rgba(29,233,182,0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
#cta h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
#cta p { font-size: 17px; color: var(--text-muted); margin-bottom: 32px; }

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.3s;
}
.blog-card:hover { transform: translateY(-3px); border-color: rgba(0,191,165,0.35); }

.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, #0D1A17, #0A1F1A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}

.coming-soon-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,191,165,0.15);
  border: 1px solid rgba(0,191,165,0.4);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.blog-content { padding: 20px; }
.blog-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}
.blog-content h3 { font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.blog-content p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Blog page */
.blog-page { padding: 80px 24px; }
.blog-page .page-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
}
.blog-page .page-title span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blog-page .page-desc { color: var(--text-muted); font-size: 17px; margin-bottom: 48px; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-brand img { height: 36px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); max-width: 300px; line-height: 1.6; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-nav a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--accent); }

/* Social icons */
.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  color: var(--text-muted);
}
.social-icons a:hover {
  border-color: var(--accent);
  background: rgba(0,191,165,0.08);
  transform: translateY(-2px);
  color: var(--text);
}
.social-icons svg { width: 18px; height: 18px; fill: currentColor; }

.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom a { color: var(--accent); transition: opacity 0.2s; }
.footer-bottom a:hover { opacity: 0.8; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 20px 24px 0;
  max-width: 860px;
  margin: 0 auto;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumbs ol li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs ol li + li::before { content: '/'; color: var(--border); }
.breadcrumbs ol li a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumbs ol li a:hover { color: var(--accent); }
.breadcrumbs ol li span { color: var(--text); }

/* ===== ARTICLE ===== */
.article-wrap { padding: 28px 24px 80px; }

.article-header {
  max-width: 800px;
  margin: 0 auto 40px;
}
.article-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0,191,165,0.1);
  border: 1px solid rgba(0,191,165,0.25);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.article-header h1 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-meta span { display: flex; align-items: center; gap: 5px; }

.article-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #D0DBE8;
}
.article-body h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--text);
  letter-spacing: -0.3px;
}
.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text);
}
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
}
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { opacity: 0.8; }

.article-tip {
  background: rgba(0,191,165,0.07);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 28px 0;
  font-size: 15px;
}
.article-tip strong { color: var(--accent); }

.article-cta {
  background: linear-gradient(135deg, rgba(0,191,165,0.1), rgba(29,233,182,0.05));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin: 48px 0 32px;
}
.article-cta h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.article-cta p { color: var(--text-muted); margin-bottom: 20px; }

.article-source {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.article-source a { color: var(--accent); }

/* Blog card as link */
.blog-card-link { display: block; color: inherit; }
.blog-card-link:hover .blog-card { transform: translateY(-3px); border-color: rgba(0,191,165,0.35); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav, .header-right { display: none; }
  .burger { display: flex; }

  .header-inner { gap: 0; }

  section { padding: 60px 20px; }

  #hero { padding: 80px 20px 60px; }

  .mobile-nav.open { display: flex; }

  .hero-stats { gap: 28px; }
  .stat-number { font-size: 28px; }

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

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

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

  .footer-top { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .footer-nav { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

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

  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta a { width: 100%; max-width: 320px; text-align: center; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
}
