/* ===========================
   ThermogenicDiet.com — CSS
   Thermogenic Orange/Dark Theme
   =========================== */

:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-glow: rgba(249, 115, 22, 0.18);
    --accent: #fbbf24;
    --dark: #0f0f0f;
    --surface: #1a1a1a;
    --surface2: #232323;
    --border: rgba(255, 255, 255, 0.08);
    --text: #f1f1f1;
    --text-muted: #9ca3af;
    --green: #22c55e;
    --radius: 14px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.25;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

h3 {
    font-size: 1.2rem;
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: var(--primary);
}

a:hover {
    color: var(--accent);
}

/* ---- Layout ---- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

.section-label {
    display: inline-block;
    background: var(--primary-glow);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: 16px;
}

/* ---- NAV ---- */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}

.nav-logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* ---- HERO ---- */
.hero {
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(249, 115, 22, 0.18) 0%, transparent 70%),
        linear-gradient(180deg, #141414 0%, #0f0f0f 100%);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.12), transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.35);
    color: var(--primary);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    color: #fff;
    margin-bottom: 20px;
}

.hero h1 em {
    color: var(--primary);
    font-style: normal;
}

.hero-sub {
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 36px;
    color: var(--text-muted);
    line-height: 1.75;
}

.hero-proof {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.proof-stat {
    text-align: center;
}

.proof-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.proof-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.55);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 13px 30px;
    font-size: 0.95rem;
}

.btn-outline:hover {
    background: var(--primary-glow);
    color: var(--primary);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

/* ---- URGENCY BAR ---- */
.urgency-bar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    text-align: center;
    padding: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}

/* ---- CARDS ---- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
    border-color: rgba(249, 115, 22, 0.4);
    transform: translateY(-3px);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: center;
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

/* ---- ICON CIRCLE ---- */
.icon-circle {
    width: 52px;
    height: 52px;
    background: var(--primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* ---- INGREDIENT TABLE ---- */
.ingredient-table {
    width: 100%;
    border-collapse: collapse;
}

.ingredient-table th {
    background: var(--surface2);
    color: var(--primary);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 2px solid var(--primary);
}

.ingredient-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
    color: var(--text-muted);
}

.ingredient-table tr:hover td {
    background: var(--surface2);
}

.ingredient-table td:first-child {
    color: var(--text);
    font-weight: 600;
}

/* ---- TESTIMONIALS ---- */
.testimonial {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 28px;
}

.stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 1rem;
}

.author-name {
    font-weight: 700;
    color: var(--text);
    font-size: 0.92rem;
}

.author-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---- SCIENCE BOX ---- */
.science-box {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(234, 88, 12, 0.06));
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: var(--radius);
    padding: 32px;
}

.science-box h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

/* ---- PRICING ---- */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: transform 0.2s;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.2);
    transform: scale(1.04);
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 999px;
    white-space: nowrap;
}

.price-big {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.price-per {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-total {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 8px 0 20px;
}

.price-old {
    text-decoration: line-through;
    opacity: 0.5;
}

.check-list {
    text-align: left;
    margin: 20px 0;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.check-item::before {
    content: '✓';
    color: var(--green);
    font-weight: 800;
    flex-shrink: 0;
}

/* ---- FAQ ---- */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-q {
    padding: 20px 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    color: var(--text);
    transition: background 0.2s;
}

.faq-q:hover {
    background: var(--surface2);
}

.faq-a {
    padding: 0 24px 18px;
    background: var(--surface);
    font-size: 0.95rem;
    display: none;
}

.faq-item.open .faq-a {
    display: block;
}

.faq-item.open .faq-q {
    color: var(--primary);
}

.faq-arrow {
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.faq-item.open .faq-arrow {
    transform: rotate(45deg);
}

/* ---- BLOG GRID ---- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.blog-card:hover {
    border-color: rgba(249, 115, 22, 0.4);
    transform: translateY(-4px);
}

.blog-card-thumb {
    height: 140px;
    background: linear-gradient(135deg, var(--primary-dark), #7c2d12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-card-body {
    padding: 22px;
}

.blog-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
}

.blog-card h3 {
    font-size: 1rem;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 10px;
}

.blog-card p {
    font-size: 0.87rem;
    line-height: 1.6;
}

.blog-read-more {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--primary);
}

/* ---- SECTION TITLES ---- */
.section-title {
    text-align: center;
    margin-bottom: 52px;
}

.section-title h2 {
    color: #fff;
    margin-bottom: 12px;
}

.section-title p {
    max-width: 580px;
    margin: 0 auto;
}

/* ---- GUARANTEE STRIP ---- */
.guarantee {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(21, 128, 61, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
}

.guarantee h3 {
    color: var(--green);
    margin-bottom: 10px;
}

/* ---- FOOTER ---- */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

.footer-brand h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-col h5 {
    color: var(--text);
    font-size: 0.9rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ---- BLOG POST PAGE ---- */
.post-header {
    padding: 80px 0 60px;
    text-align: center;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(249, 115, 22, 0.14) 0%, transparent 70%);
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.post-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.post-content h2 {
    color: #fff;
    margin: 36px 0 16px;
    font-size: 1.7rem;
}

.post-content h3 {
    color: var(--primary);
    margin: 24px 0 12px;
}

.post-content p {
    margin-bottom: 18px;
    line-height: 1.8;
}

.post-content ul,
.post-content ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

.post-content li {
    margin-bottom: 8px;
    color: var(--text-muted);
    line-height: 1.7;
}

.post-content strong {
    color: var(--text);
}

.post-cta-box {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 88, 12, 0.08));
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin: 36px 0;
}

.post-cta-box h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* ---- UTILITY ---- */
.text-center {
    text-align: center;
}

.text-white {
    color: #fff;
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-16 {
    margin-bottom: 16px;
}

/* ---- ANIMATIONS ---- */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 24px rgba(249, 115, 22, 0.4);
    }

    50% {
        box-shadow: 0 4px 40px rgba(249, 115, 22, 0.65);
    }
}

.btn-primary {
    animation: pulse-glow 2.5s ease-in-out infinite;
}