/* 💜 Glaikan Landing Page Design System — Refined Social */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+Thai:wght@300;400;500;600;700&display=swap');

:root {
  --brand-50: #F5F2FF;
  --brand-100: #EBE5FF;
  --brand-200: #D9CEFF;
  --brand-300: #BFA9FF;
  --brand-400: #A385FC;
  --brand-500: #7C5CFC;
  --brand-600: #6B4CE6;
  --brand-700: #5730C4;
  --brand-800: #48299F;
  --brand-900: #3C2580;

  --accent-50: #FFF1F8;
  --accent-100: #FFE3F1;
  --accent-400: #FF66AE;
  --accent-500: #F63C93;
  --accent-600: #DB2077;

  --gold-500: #F59E0B;

  --bg-primary: #FAF8FF;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F4F0FC;
  --border: #EADBFC;
  --border-subtle: #F0E8FA;

  --ink-950: #150F26;
  --ink-900: #211938;
  --ink-700: #463B63;
  --ink-500: #6D618C;
  --ink-400: #9387B2;
  --ink-200: #D4CCE8;

  --shadow-sm: 0 2px 8px rgba(124, 92, 252, 0.06);
  --shadow-md: 0 8px 24px rgba(124, 92, 252, 0.08);
  --shadow-lg: 0 16px 40px rgba(124, 92, 252, 0.12);
  --shadow-glow: 0 0 32px rgba(124, 92, 252, 0.25);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans Thai', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--ink-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background Atmosphere */
.bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.15) 0%, rgba(246, 60, 147, 0.08) 50%, rgba(250, 248, 255, 0) 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--ink-950);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header & Navigation */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(250, 248, 255, 0.85);
  border-bottom: 1px solid rgba(234, 219, 252, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-950);
}

.brand-icon {
  width: 40px;
  height: 40px;
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-name .en {
  font-size: 1.2rem;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-name .th {
  font-size: 0.8rem;
  color: var(--ink-500);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--brand-600);
}

.btn-nav {
  padding: 8px 18px;
  background: var(--brand-500);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(124, 92, 252, 0.25);
}

.btn-nav:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 60px 0 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-700);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--accent-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-700);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink-950);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(21, 15, 38, 0.18);
  transition: all 0.2s ease;
  min-width: 190px;
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 15, 38, 0.25);
  background: #000;
}

.btn-store svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-store-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.btn-store-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Hero Phone Mockup */
.mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-card {
  width: 330px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  padding: 16px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.mockup-inner {
  background: #FAF8FF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.mockup-photo {
  width: 100%;
  height: 290px;
  background: linear-gradient(180deg, #D9CEFF 0%, #BFA9FF 40%, #7C5CFC 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
}

.mockup-scrim {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(21, 15, 38, 0.8), transparent);
}

.mockup-info {
  position: relative;
  z-index: 2;
}

.mockup-name {
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-badge {
  background: var(--brand-500);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
}

.mockup-tags {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.mockup-tag {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.mockup-actions {
  display: flex;
  justify-content: space-around;
  padding: 16px;
  background: #fff;
}

.btn-action {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  font-size: 1.4rem;
  transition: transform 0.2s;
  background: #fff;
}

.btn-action.like {
  border-color: var(--accent-100);
  color: var(--accent-500);
  box-shadow: 0 4px 16px rgba(246, 60, 147, 0.2);
}

.btn-action.pass {
  color: var(--ink-500);
}

.btn-action.superlike {
  border-color: #FEF3C7;
  color: var(--gold-500);
}

/* Features Section */
.section {
  padding: 90px 0;
}

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

.section-header .section-tag {
  color: var(--brand-600);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-header h2 {
  font-size: 2.3rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--ink-700);
  font-size: 1.1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-300);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--ink-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Privacy & Safety Highlights */
.safety-banner {
  background: linear-gradient(135deg, var(--brand-900), var(--ink-950));
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.safety-banner::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(246, 60, 147, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.safety-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.safety-banner p {
  color: var(--ink-200);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.safety-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.safety-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #fff;
}

.safety-check {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--brand-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Call to Action Bar */
.cta-section {
  text-align: center;
  padding: 100px 0;
  background: radial-gradient(circle at center, rgba(124, 92, 252, 0.08) 0%, transparent 60%);
}

.cta-section h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.15rem;
  color: var(--ink-700);
  margin-bottom: 36px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 48px 0 32px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--ink-500);
  margin-top: 12px;
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-950);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--ink-500);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--brand-600);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-400);
}

/* Legal Documents (Privacy & Terms) */
.legal-page {
  padding: 60px 0 100px;
}

.legal-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 48px 56px;
  box-shadow: var(--shadow-sm);
}

.legal-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 36px;
}

.legal-header h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.legal-date {
  color: var(--ink-500);
  font-size: 0.9rem;
}

.legal-body h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
  color: var(--brand-800);
}

.legal-body p, .legal-body li {
  color: var(--ink-700);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-body ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

.legal-highlight {
  background: var(--brand-50);
  border-left: 4px solid var(--brand-500);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 30px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .store-buttons {
    justify-content: center;
  }

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

  .safety-banner {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-links {
    display: none;
  }

  .legal-card {
    padding: 28px 20px;
  }
}
