/* ============================================
   FLYAWAY PETS — Main Stylesheet
   Modern, responsive, crisp
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #c1a01e;
    --gold-light: #d4b82e;
    --gold-dark: #9a7f15;
    --dark: #0a0e17;
    --dark-alt: #111827;
    --dark-card: #161d2e;
    --dark-surface: #1a2235;
    --white: #ffffff;
    --light: #e0e0e0;
    --muted: #9ca3af;
    --body-text: #c5c9d4;
    --font-family: "univia-pro", sans-serif;
    --max-width: 1200px;
    --section-padding: 100px 0;
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-family);
    font-weight: 400;
    font-style: normal;
    background: var(--dark);
    color: var(--body-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold-light);
}

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

.container--narrow {
    max-width: 800px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--white);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-italic { font-style: italic; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

.btn--primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(193, 160, 30, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.btn--gold-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn--gold-outline:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(193, 160, 30, 0.3);
}

.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav__logo img {
    height: 32px;
    width: auto;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav__links a {
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav__links a:hover {
    color: var(--gold);
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__cta {
    padding: 7px 18px !important;
    font-size: 0.7rem !important;
    font-weight: 400 !important;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Nav --- */
.nav__mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    list-style: none;
}

.nav__mobile.open {
    display: flex;
}

.nav__mobile a {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color var(--transition);
}

.nav__mobile a:hover {
    color: var(--gold);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2100px;
    height: 100%;
    background-image: url('../images/background2.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to bottom, rgba(10, 14, 23, 0.4) 0%, transparent 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.hero__logo {
    margin-bottom: 24px;
}

.hero__logo img {
    height: 80px;
    width: auto;
    margin: 0 auto;
}

.hero__tagline {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 400;
    font-style: italic;
    color: var(--gold);
    line-height: 1.35;
    margin-bottom: 48px;
}

.hero__description {
    margin-bottom: 12px;
}

.hero__description .bold-line {
    font-weight: 700;
    color: var(--white);
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 8px;
}

.hero__description p {
    color: var(--light);
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.7;
}

.hero__buttons {
    margin-top: 32px;
    margin-bottom: 20px;
}

.hero__fine-print {
    font-size: 0.82rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero__scroll-indicator span {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* --- Section Base --- */
.section {
    padding: var(--section-padding);
}

.section--dark {
    background: var(--dark);
}

.section--alt {
    background: var(--dark-alt);
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__header h2 {
    color: var(--gold);
    margin-bottom: 16px;
}

.section__header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

/* --- Emotional Anchor Section --- */
.emotional {
    padding: 100px 0;
    background: var(--dark);
}

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

.emotional h2 {
    color: var(--gold);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: 28px;
    font-style: italic;
}

.emotional p {
    margin-bottom: 20px;
    font-size: 1.02rem;
    line-height: 1.8;
}

.emotional .emphasis {
    color: var(--white);
    font-weight: 700;
    font-style: italic;
    font-size: 1.05rem;
    margin-top: 28px;
}

.emotional .btn {
    margin-top: 36px;
}

/* --- Steps / How It Works --- */
.steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.step {
    text-align: center;
    padding: 40px 28px;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition);
}

.step:hover {
    border-color: rgba(193, 160, 30, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(193, 160, 30, 0.1);
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.step p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--muted);
}

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

.tier {
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 44px 32px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.tier:hover {
    border-color: rgba(193, 160, 30, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.tier--featured {
    border-color: var(--gold);
}

.tier--featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 16px;
    right: -32px;
    background: var(--gold);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 40px;
    transform: rotate(45deg);
}

.tier__name {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 4px;
}

.tier__tagline {
    font-style: italic;
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.tier__price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 28px;
}

.tier__price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted);
}

.tier__features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.tier__features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.92rem;
    color: var(--body-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.tier__features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.75rem;
}

.tier .btn {
    width: 100%;
}

/* --- Trust / Credibility --- */
.trust__badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.trust__badge {
    text-align: center;
    flex: 0 0 auto;
}

.trust__badge-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.trust__badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.04em;
}

/* --- Testimonials --- */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.testimonial {
    background: var(--dark-card);
    border-radius: 12px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition);
}

.testimonial:hover {
    border-color: rgba(193, 160, 30, 0.15);
}

.testimonial__quote {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--light);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
}

.testimonial__author {
    font-weight: 700;
    color: var(--gold);
    font-size: 0.88rem;
}

/* --- Hero Pets Program --- */
.hero-pets {
    position: relative;
    overflow: hidden;
}

.hero-pets::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(193, 160, 30, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* --- Partner Section --- */
.partner__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.partner__content h2 {
    color: var(--gold);
    margin-bottom: 20px;
}

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

.partner__highlights {
    display: grid;
    gap: 20px;
}

.partner__highlight {
    background: var(--dark-card);
    border-radius: 12px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.partner__highlight h4 {
    color: var(--gold);
    margin-bottom: 8px;
}

/* --- FAQ Section --- */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq__question {
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 1.05rem;
    text-align: left;
    padding: 24px 40px 24px 0;
    cursor: pointer;
    position: relative;
    transition: color var(--transition);
    line-height: 1.4;
}

.faq__question:hover {
    color: var(--gold);
}

.faq__question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq__item.active .faq__question::after {
    content: '−';
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.active .faq__answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq__answer p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--muted);
}

/* --- Final CTA --- */
.final-cta {
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(193, 160, 30, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta h2 {
    color: var(--gold);
    font-style: italic;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta p {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 36px;
    font-style: italic;
}

/* --- Footer --- */
.footer {
    background: var(--dark-alt);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 60px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__brand img {
    height: 30px;
    margin-bottom: 16px;
}

.footer__brand p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer__brand .tagline {
    font-style: italic;
    color: var(--gold);
    font-size: 0.85rem;
}

.footer h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    color: var(--muted);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: var(--muted);
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal a {
    font-size: 0.8rem;
    color: var(--muted);
}

.footer__legal a:hover {
    color: var(--white);
}

/* --- Scroll Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Page Header (inner pages) --- */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: var(--dark);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.page-header h1 {
    color: var(--gold);
    margin-bottom: 16px;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--muted);
}

/* --- Content Blocks (inner pages) --- */
.content-block {
    padding: 80px 0;
}

.content-block h2 {
    color: var(--gold);
    margin-bottom: 20px;
}

.content-block h3 {
    margin-bottom: 16px;
}

.content-block p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-block ul {
    list-style: none;
    margin-bottom: 20px;
}

.content-block ul li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
}

.content-block ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.7rem;
}

/* --- Two Column Layout --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.blog__card {
    background: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition);
}

.blog__card:hover {
    border-color: rgba(193, 160, 30, 0.2);
    transform: translateY(-4px);
}

.blog__card-image {
    width: 100%;
    height: 200px;
    background: var(--dark-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.85rem;
}

.blog__card-body {
    padding: 28px;
}

.blog__card-date {
    font-size: 0.78rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.blog__card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.35;
}

.blog__card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

/* --- Track Section --- */
.track__form {
    max-width: 500px;
    margin: 0 auto 60px;
    display: flex;
    gap: 12px;
}

.track__input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--dark-card);
    color: var(--white);
    font-family: var(--font-family);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition);
}

.track__input:focus {
    border-color: var(--gold);
}

.track__input::placeholder {
    color: var(--muted);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .steps__grid,
    .tiers__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .nav__links {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__content {
        padding-top: 100px;
    }

    .hero__tagline {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin-bottom: 36px;
    }

    .steps__grid,
    .tiers__grid,
    .testimonials__grid,
    .blog__grid {
        grid-template-columns: 1fr;
    }

    .partner__grid,
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .track__form {
        flex-direction: column;
    }

    .tier--featured::before {
        display: none;
    }

    .trust__badges {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .btn-group {
        flex-direction: column;
        align-items: center;
    }

    .btn-group .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hero__content {
        padding-top: 90px;
    }
}
