/* ===== Folio Website — Premium Design System ===== */

:root {
  --cream: #FDF6EC;
  --parchment: #F5EBD8;
  --amber: #D4910A;
  --amber-light: #F2C94C;
  --espresso: #3C2415;
  --cocoa: #5C3D2E;
  --sand: #A89279;
  --sage: #7BAE7F;
  --warm-red: #C0392B;
  --white: #FFFFFF;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Playfair Display', 'Georgia', 'Times New Roman', serif;

  --shadow-sm: 0 1px 3px rgba(60, 36, 21, 0.06);
  --shadow-md: 0 4px 16px rgba(60, 36, 21, 0.08);
  --shadow-lg: 0 12px 40px rgba(60, 36, 21, 0.12);
  --shadow-xl: 0 20px 60px rgba(60, 36, 21, 0.16);
}

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

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

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--cocoa);
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Typography ===== */

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  color: var(--cocoa);
  font-size: 1.1rem;
}

.text-sand { color: var(--sand); }
.text-amber { color: var(--amber); }

/* ===== Layout ===== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  background: rgba(212, 145, 10, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--sand);
  max-width: 600px;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ===== Navigation ===== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 246, 236, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(168, 146, 121, 0.12);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--espresso);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(212, 145, 10, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cocoa);
}

.nav-links a:hover {
  color: var(--amber);
}

.nav-cta {
  background: var(--espresso);
  color: var(--cream) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--cream) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--espresso);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */

.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 145, 10, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--parchment);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cocoa);
  margin-bottom: 28px;
  border: 1px solid rgba(168, 146, 121, 0.15);
}

.hero-badge span {
  font-size: 1rem;
}

.hero h1 {
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--espresso) 0%, var(--cocoa) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--sand);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 300px;
  height: 620px;
  background: var(--espresso);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(60, 36, 21, 0.1);
  position: relative;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--cream) 0%, var(--parchment) 100%);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.phone-screen-owl {
  font-size: 4rem;
  margin-bottom: 16px;
}

.phone-screen h3 {
  font-family: var(--font-serif);
  color: var(--espresso);
  margin-bottom: 8px;
}

.phone-screen p {
  font-size: 0.85rem;
  color: var(--sand);
  text-align: center;
}

.phone-book-cards {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.phone-book-card {
  width: 70px;
  height: 100px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 80px;
  left: -40px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 100px;
  right: -40px;
  animation-delay: -3s;
}

.floating-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-card-icon.amber { background: rgba(212, 145, 10, 0.12); }
.floating-card-icon.sage { background: rgba(123, 174, 127, 0.15); }

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

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 14px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber), #E5A30D);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(212, 145, 10, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 145, 10, 0.45);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--espresso);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(168, 146, 121, 0.15);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--espresso);
}

/* ===== Features Section ===== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(168, 146, 121, 0.08);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.feature-icon.amber-bg { background: rgba(212, 145, 10, 0.1); }
.feature-icon.sage-bg { background: rgba(123, 174, 127, 0.12); }
.feature-icon.cocoa-bg { background: rgba(92, 61, 46, 0.08); }

.feature-card h3 {
  margin-bottom: 12px;
  font-family: var(--font);
  font-weight: 700;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--sand);
  line-height: 1.7;
}

/* ===== Showcase / How It Works ===== */

.showcase {
  background: var(--white);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.showcase-visual {
  position: relative;
}

.showcase-card {
  background: var(--cream);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.showcase-card .book-preview {
  display: flex;
  gap: 20px;
  align-items: start;
}

.showcase-card .book-cover {
  width: 100px;
  height: 150px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.showcase-card .book-info h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.showcase-card .book-info .author {
  font-size: 0.9rem;
  color: var(--sand);
  margin-bottom: 16px;
}

.showcase-card .highlight-bar {
  background: rgba(212, 145, 10, 0.15);
  border-left: 3px solid var(--amber);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--cocoa);
  margin-top: 12px;
}

.showcase-steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.showcase-step {
  display: flex;
  gap: 20px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--amber);
  flex-shrink: 0;
}

.step-content h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--sand);
}

/* ===== Ollie Section ===== */

.ollie-section {
  background: linear-gradient(180deg, var(--parchment) 0%, var(--cream) 100%);
  text-align: center;
}

.ollie-avatar {
  font-size: 6rem;
  margin-bottom: 24px;
}

.ollie-section h2 {
  margin-bottom: 16px;
}

.ollie-section > .container > p {
  max-width: 560px;
  margin: 0 auto 48px;
}

.ollie-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ollie-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 16px 28px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  font-size: 0.95rem;
}

.ollie-feature span:first-child {
  font-size: 1.3rem;
}

/* ===== Pricing ===== */

.pricing-card {
  max-width: 480px;
  margin: 60px auto 0;
  background: var(--white);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(212, 145, 10, 0.15);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light), var(--sage));
}

.pricing-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-currency {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--espresso);
}

.pricing-value {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--espresso);
  line-height: 1;
}

.pricing-cents {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--espresso);
}

.pricing-period {
  font-size: 1rem;
  color: var(--sand);
  margin-bottom: 36px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 40px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--cocoa);
  border-bottom: 1px solid rgba(168, 146, 121, 0.08);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(123, 174, 127, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
}

.pricing-guarantee {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--sand);
}

/* ===== Testimonial / Social Proof ===== */

.social-proof {
  background: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--sand);
  margin-top: 8px;
}

/* ===== CTA Section ===== */

.cta-section {
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 145, 10, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--cream);
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  color: var(--sand);
  max-width: 500px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  position: relative;
}

.cta-section .btn-primary {
  position: relative;
  font-size: 1.1rem;
  padding: 18px 40px;
}

/* ===== Footer ===== */

footer {
  background: var(--espresso);
  border-top: 1px solid rgba(168, 146, 121, 0.15);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--parchment);
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--sand);
}

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

.footer-copy {
  font-size: 0.85rem;
  color: var(--sand);
}

/* ===== Legal Pages ===== */

.legal-page {
  padding: 140px 0 80px;
  min-height: 100vh;
}

.legal-page h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-updated {
  font-size: 0.95rem;
  color: var(--sand);
  margin-bottom: 48px;
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--espresso);
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  margin: 12px 0 20px 24px;
  color: var(--cocoa);
}

.legal-content ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Responsive ===== */

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .phone-mockup {
    transform: none;
    width: 260px;
    height: 540px;
  }

  .floating-card.card-1 { left: 10px; }
  .floating-card.card-2 { right: 10px; }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 64px; }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .pricing-card {
    padding: 40px 28px;
    margin-top: 40px;
  }

  .ollie-features {
    flex-direction: column;
    align-items: center;
  }

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