@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --bg: #FBFBFC;
  --surface: #FFFFFF;
  --surface-subtle: #F3F4F8;
  --border: rgba(0, 0, 0, 0.07);
  --border-focus: rgba(0, 0, 0, 0.14);
  
  --text-main: #18191B;
  --text-muted: #6E7179;
  --text-light: #9B9FA8;
  
  --brand: #48BB15;
  --brand-gradient: linear-gradient(135deg, #48BB15 0%, #10B981 100%);
  --brand-glow: rgba(72, 187, 21, 0.16);
  
  --accent-blue: #0284C7;
  --accent-gold: #F59E0B;
  --accent-purple: #8B5CF6;
  
  /* Morandi Macaron Palette */
  --r-pink: #FFA4BA;
  --r-green: #86EFAC;
  --r-yellow: #FDE047;
  --r-blue: #93C5FD;
  --r-purple: #C4B5FD;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.08);
  
  --font-family: -apple-system, BlinkMacSystemFont, 'Plus Jakarta Sans', 'Noto Sans SC', 'PingFang SC', 'Helvetica Neue', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background Atmosphere */
body::before {
  content: "";
  position: fixed;
  top: -15vw;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 60vw;
  max-width: 1100px;
  background: radial-gradient(circle, rgba(134, 239, 172, 0.22) 0%, rgba(147, 197, 253, 0.18) 40%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

/* Container */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-badge img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.brand-badge span {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lang-switch {
  display: flex;
  background: var(--surface-subtle);
  border-radius: 20px;
  padding: 4px;
  gap: 2px;
}

.lang-switch a {
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.2s ease;
}

.lang-switch a:hover {
  color: var(--text-main);
}

.lang-switch a.active {
  background: var(--surface);
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  text-align: center;
  padding: 40px 0 60px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(72, 187, 21, 0.08);
  border: 1px solid rgba(72, 187, 21, 0.2);
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2F8512;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text-main);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #10B981 0%, #0284C7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text-main);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  color: #FFFFFF;
}

.btn-primary svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ============================================================
   DUAL DEVICE SHOWCASE
   ============================================================ */
.showcase-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  perspective: 1000px;
  padding: 10px 0;
}

.phone-card {
  position: relative;
  flex: 0 1 310px;
  max-width: 320px;
  background: #000000;
  border-radius: 46px;
  padding: 9px;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 24px 60px -10px rgba(0, 0, 0, 0.18),
    0 12px 24px -10px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.phone-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 32px 70px -12px rgba(0, 0, 0, 0.24);
}

.phone-island {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 20px;
  background: #000000;
  border-radius: 12px;
  z-index: 10;
}

.phone-card img {
  width: 100%;
  height: auto;
  border-radius: 38px;
  display: block;
  background: #FFFFFF;
}

/* ============================================================
   SECTIONS & GRIDS
   ============================================================ */
.section {
  padding: 48px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

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

.feature-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
}

.feature-box .icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.feature-box h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   LEGAL PAGES & HELPERS
   ============================================================ */
.legal-wrapper, .legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
  margin: 30px 0 60px;
}

.legal-wrapper h1, .legal-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-wrapper .date, .legal-content .date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 32px;
  display: block;
}

.legal-wrapper h2, .legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.legal-wrapper p, .legal-wrapper li,
.legal-content p, .legal-content li {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-wrapper ul, .legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.btn-secondary {
  display: inline-block;
  background: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: var(--surface-subtle);
  border-color: var(--border-focus);
}

.lang-toggle {
  display: inline-flex;
  background: var(--surface-subtle);
  border-radius: 20px;
  padding: 4px;
  margin: 20px 0;
  gap: 2px;
}
.lang-toggle a {
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.2s ease;
}
.lang-toggle a.active {
  background: var(--surface);
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 60px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--text-main);
}

.copyright {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .showcase-wrapper {
    gap: 20px;
  }
  .phone-card {
    flex: 0 1 260px;
    border-radius: 38px;
    padding: 7px;
  }
  .phone-card img {
    border-radius: 32px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .legal-wrapper {
    padding: 28px 20px;
  }
}

@media (max-width: 540px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .showcase-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .phone-card {
    max-width: 280px;
    width: 100%;
  }
}
