@charset "UTF-8";

/*
Theme Name: Drift To Better
Theme URI: https://wordpress.org/themes/twentytwentyone/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Twenty Twenty-One is a blank canvas for your ideas and it makes the block editor your best brush. With new block patterns, which allow you to create a beautiful layout in a matter of seconds, this theme’s soft colors and eye-catching — yet timeless — design will let your work shine. Take it for a spin! See how Twenty Twenty-One elevates your portfolio, business website, or personal blog.
Requires at least: 5.3
Tested up to: 7.0
Requires PHP: 5.6
Version: 2.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyone
Tags: one-column, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog, portfolio

Twenty Twenty-One WordPress Theme, (C) 2020 WordPress.org
Twenty Twenty-One is distributed under the terms of the GNU GPL.
*/

 :root {
    --navy: #0d1f35;
    --white: #ffffff;
    --off-white: #f8f8f6;
    --accent: #1a6bff;
    --accent-light: #e8f0ff;
    --text-muted: #6b7280;
    --border: rgba(13,31,53,0.1);
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--navy);
    overflow-x: hidden;
    line-height: 1.6;
  }

  /* ─── NAV ─────────────────────────────────────── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 5vw;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  nav.scrolled { border-color: var(--border); box-shadow: 0 2px 24px rgba(13,31,53,0.06); }

  .nav-logo img { height: 60px; width: auto; display: block; }

  .nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--navy); color: var(--white);
    font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase;
    padding: 10px 22px; border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
  }
  .nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

  /* ─── HERO ────────────────────────────────────── */
  #hero {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 140px 5vw 80px;
    position: relative; overflow: hidden;
  }

  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
    margin-bottom: 32px;
    opacity: 0; animation: fadeUp 0.8s var(--easing) 0.1s forwards;
  }
  .hero-eyebrow::before {
    content: ''; display: block; width: 24px; height: 1px; background: var(--accent);
  }

  h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(52px, 8vw, 112px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--navy);
    max-width: 900px;
    opacity: 0; animation: fadeUp 0.9s var(--easing) 0.25s forwards;
  }
  h1 em {
    font-style: normal; color: var(--accent);
    display: inline-block;
    position: relative;
  }

  .hero-sub {
    margin-top: 36px;
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 300;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
    opacity: 0; animation: fadeUp 0.9s var(--easing) 0.4s forwards;
  }

  .hero-cta-group {
    margin-top: 52px;
    display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
    opacity: 0; animation: fadeUp 0.9s var(--easing) 0.55s forwards;
  }

  .btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--navy); color: var(--white);
    font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase;
    padding: 16px 32px; border-radius: 100px;
    text-decoration: none; border: none; cursor: pointer;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 24px rgba(13,31,53,0.18);
  }
  .btn-primary:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(26,107,255,0.28);
  }
  .btn-primary .arrow { transition: transform 0.25s; }
  .btn-primary:hover .arrow { transform: translate(3px, -3px); }

  .btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--navy); font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 500;
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid var(--navy);
    transition: color 0.2s, border-color 0.2s;
  }
  .btn-ghost:hover { color: var(--accent); border-color: var(--accent); }

  .hero-ticker {
    position: absolute; bottom: 0; left: 0; right: 0;
    border-top: 1px solid var(--border);
    padding: 18px 0;
    overflow: hidden;
    opacity: 0; animation: fadeIn 1s ease 1s forwards;
  }
  .ticker-track {
    display: flex; gap: 64px; align-items: center;
    width: max-content;
    animation: ticker 28s linear infinite;
  }
  .ticker-item {
    font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--navy); opacity: 0.25;
    white-space: nowrap;
    display: flex; align-items: center; gap: 24px;
  }
  .ticker-item::after {
    content: '✦'; color: var(--accent); opacity: 1;
    font-size: 10px;
  }

  /* ─── WHY SECTION ─────────────────────────────── */
  #why {
    padding: 140px 5vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    border-top: 1px solid var(--border);
  }

  .section-label {
    font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 24px;
    display: flex; align-items: center; gap: 10px;
  }
  .section-label::before {
    content: ''; display: block; width: 20px; height: 1px; background: var(--accent);
  }

  h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(36px, 4vw, 60px);
    font-weight: 800; line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--navy);
  }

  .why-text p {
    font-size: 17px; font-weight: 300; color: #374151;
    line-height: 1.8; margin-top: 24px;
  }
  .why-text p strong { font-weight: 500; color: var(--navy); }

  .why-quote {
    background: var(--navy); color: var(--white);
    border-radius: 24px; padding: 52px;
    position: relative;
    overflow: hidden;
  }
  .why-quote::before {
    content: '"';
    font-family: 'Outfit', sans-serif;
    font-size: 200px; line-height: 0.8;
    color: rgba(255,255,255,0.06);
    position: absolute; top: 20px; left: 24px;
    pointer-events: none;
  }
  .why-quote blockquote {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 700; line-height: 1.3;
    position: relative; z-index: 1;
  }
  .why-quote cite {
    display: block; margin-top: 28px;
    font-size: 13px; font-weight: 400; font-style: normal;
    color: rgba(255,255,255,0.5); letter-spacing: 0.06em;
    text-transform: uppercase; position: relative; z-index: 1;
  }
  .why-quote .accent-bar {
    position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent);
  }

  /* ─── PDF SECTION ─────────────────────────────── */
  #pdf {
    padding: 100px 5vw;
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .pdf-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
  }

  .pdf-mockup {
    position: relative;
  }
  .pdf-card {
    background: var(--navy);
    border-radius: 20px;
    padding: 48px 40px;
    color: var(--white);
    position: relative; overflow: hidden;
    box-shadow: 0 32px 80px rgba(13,31,53,0.2);
    transform: rotate(-2deg);
    transition: transform 0.4s var(--easing);
  }
  .pdf-card:hover { transform: rotate(0deg) translateY(-8px); }
  .pdf-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,107,255,0.15) 0%, transparent 60%);
    pointer-events: none;
  }
  .pdf-tag {
    display: inline-block; background: var(--accent);
    color: var(--white); font-family: 'Outfit', sans-serif;
    font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
    margin-bottom: 24px;
  }
  .pdf-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 28px; font-weight: 800; line-height: 1.15;
    margin-bottom: 16px;
  }
  .pdf-card p {
    font-size: 14px; font-weight: 300; opacity: 0.7; line-height: 1.6;
  }
  .pdf-days {
    position: absolute; bottom: 32px; right: 32px;
    font-family: 'Outfit', sans-serif; font-size: 80px; font-weight: 800;
    opacity: 0.07; line-height: 1; color: var(--white);
  }

  .pdf-form h2 { margin-bottom: 16px; }
  .pdf-form > p {
    font-size: 16px; font-weight: 300; color: #374151; margin-bottom: 40px; line-height: 1.7;
  }

  .checklist {
    list-style: none; margin-bottom: 40px;
    display: flex; flex-direction: column; gap: 12px;
  }
  .checklist li {
    display: flex; align-items: center; gap: 12px;
    font-size: 15px; font-weight: 400; color: var(--navy);
  }
  .checklist li::before {
    content: '';
    width: 22px; height: 22px; min-width: 22px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath d='M1 4l3.5 3.5L11 1' stroke='%231a6bff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
  }

  .form-group { display: flex; flex-direction: column; gap: 12px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

  input[type="text"], input[type="email"] {
    width: 100%; padding: 14px 20px;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    font-family: 'Inter', sans-serif; font-size: 15px;
    color: var(--navy); background: var(--white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(26,107,255,0.1);
  }
  input::placeholder { color: #9ca3af; }

  .btn-submit {
    width: 100%; padding: 16px;
    background: var(--accent); color: var(--white);
    font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    border: none; border-radius: 100px; cursor: pointer;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 20px rgba(26,107,255,0.3);
    display: flex; align-items: center; justify-content: center; gap: 10px;
  }
  .btn-submit:hover {
    background: #0f55e8;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(26,107,255,0.4);
  }

  /* ─── PILLARS ─────────────────────────────────── */
  #pillars {
    padding: 140px 5vw;
    border-top: 1px solid var(--border);
  }

  .pillars-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 80px;
    gap: 40px;
  }
  .pillars-header p {
    max-width: 320px; font-size: 16px; font-weight: 300; color: var(--text-muted); line-height: 1.7;
  }

  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .pillar {
    padding: 48px 40px;
    border: 1px solid var(--border);
    border-right: none;
    position: relative; overflow: hidden;
    cursor: default;
    transition: background 0.3s;
  }
  .pillar:last-child { border-right: 1px solid var(--border); }
  .pillar::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s var(--easing);
  }
  .pillar:hover::after { transform: scaleX(1); }
  .pillar:hover { background: var(--off-white); }

  .pillar-number {
    font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700;
    color: var(--accent); opacity: 0.6; letter-spacing: 0.08em;
    margin-bottom: 32px;
  }
  .pillar-icon {
    width: 48px; height: 48px; margin-bottom: 28px;
    display: flex; align-items: center; justify-content: center;
  }
  .pillar-icon svg { width: 32px; height: 32px; }

  .pillar h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px; font-weight: 800; margin-bottom: 16px;
    letter-spacing: -0.01em;
  }
  .pillar p {
    font-size: 14px; font-weight: 300; color: var(--text-muted); line-height: 1.7;
  }

  /* ─── NEWSLETTER ──────────────────────────────── */
  #newsletter {
    padding: 120px 5vw;
    background: var(--navy);
    text-align: center;
    position: relative; overflow: hidden;
  }
  #newsletter::before {
    content: '';
    position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(26,107,255,0.15) 0%, transparent 70%);
    pointer-events: none;
  }

  #newsletter .section-label { justify-content: center; color: rgba(255,255,255,0.4); }
  #newsletter .section-label::before { background: rgba(255,255,255,0.3); }
  #newsletter h2 { color: var(--white); margin-bottom: 20px; }
  #newsletter > p {
    font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.55);
    max-width: 480px; margin: 0 auto 48px; line-height: 1.7;
  }

  .nl-form {
    display: flex; gap: 12px; max-width: 480px; margin: 0 auto;
    position: relative; z-index: 1;
  }
  .nl-form input {
    flex: 1; background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15); color: var(--white);
    border-radius: 100px; padding: 14px 24px;
  }
  .nl-form input::placeholder { color: rgba(255,255,255,0.35); }
  .nl-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(26,107,255,0.25);
    background: rgba(255,255,255,0.12);
  }
  .nl-form button {
    background: var(--accent); color: var(--white);
    font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 14px 28px; border-radius: 100px; border: none; cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s, transform 0.25s;
  }
  .nl-form button:hover { background: #0f55e8; transform: translateY(-2px); }

  .nl-note {
    margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.3);
    letter-spacing: 0.02em;
  }

  /* ─── FINAL CTA ───────────────────────────────── */
  #final {
    padding: 160px 5vw;
    text-align: center;
    border-top: 1px solid var(--border);
    position: relative;
  }
  .final-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(120px, 20vw, 220px);
    font-weight: 800; line-height: 0.85;
    color: var(--off-white);
    position: absolute; top: 60px; left: 50%; transform: translateX(-50%);
    white-space: nowrap; pointer-events: none; user-select: none;
    letter-spacing: -0.05em;
  }
  #final .section-label { justify-content: center; }
  #final h2 {
    position: relative; z-index: 1;
    margin-bottom: 24px;
    font-size: clamp(40px, 6vw, 80px);
  }
  #final > p {
    font-size: 18px; font-weight: 300; color: var(--text-muted);
    max-width: 420px; margin: 0 auto 52px; line-height: 1.7;
    position: relative; z-index: 1;
  }
  #final .btn-primary { position: relative; z-index: 1; margin: 0 auto; }

  /* ─── FOOTER ──────────────────────────────────── */
  footer {
    padding: 40px 5vw;
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 20px;
  }
  footer img { height: 60px; opacity: 0.6; }
  footer p { font-size: 13px; color: var(--text-muted); }

  /* ─── ANIMATIONS ──────────────────────────────── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
  }
  @keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  .reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s var(--easing), transform 0.8s var(--easing);
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }

  /* ─── RESPONSIVE ──────────────────────────────── */
  @media (max-width: 900px) {
    #why, .pdf-inner {
      grid-template-columns: 1fr;
      gap: 52px;
    }
    .pillars-grid { grid-template-columns: 1fr 1fr; }
    .pillar { border-right: 1px solid var(--border); }
    .pillars-header { flex-direction: column; align-items: flex-start; }
    .form-row { grid-template-columns: 1fr; }
    .nl-form { flex-direction: column; }
  }
  @media (max-width: 600px) {
    .pillars-grid { grid-template-columns: 1fr; }
    .pillar { border-right: 1px solid var(--border); }
    #hero { padding-top: 110px; }
    .why-quote { padding: 36px 28px; }
    .pdf-card { padding: 36px 28px; transform: none; }
    .pillar { padding: 36px 24px; }
  }