/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #ff6b35;
    --primary-gradient: linear-gradient(135deg, #ff6b35 0%, #ff4b1f 100%);
    --primary-hover: #e55a2b;
    --text-dark: #121212;
    --text-medium: #555;
    --bg-white: #ffffff;
    --bg-light: #f4f6f8;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --radius-card: 16px;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-medium);
    line-height: 1.5;
    background-color: var(--bg-white);
}

h1,
h2,
h3 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.1;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    transition: 0.2s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1.5px solid #eee;
    color: var(--text-dark);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Compact Section Spacing */
section {
    padding: 3.5rem 0;
}

/* Hero Section */
.hero {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    overflow: hidden;
    background: linear-gradient(to bottom, #fff, #fffcfb);
}

/* Nav Bar - remove fixed height to accommodate larger logo */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 3rem;
}

/* Increased logo size significantly */
.logo img {
    height: 90px;
    width: auto;
}

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

.sub-headline {
    font-size: 1.2rem;
    color: #666;
    max-width: 450px;
    margin-bottom: 2rem;
}

.blog-header .sub-headline {
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.micro-copy {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.8rem;
}

.hero-img {
    width: 100%;
    height: auto;
    max-width: 600px;
    /* Reduced rotation slightly to minimize browser rendering artifacts */
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
    /* Removed filters to show original image clarity */
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* Trust Bar */
.trust-bar {
    background: #f9f9f9;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    letter-spacing: 1px;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.step-card {
    background: white;
    padding: 1.5rem;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Benefits Grid */
.box-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.benefit-box {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-card);
    border: 1px solid #eee;
    text-align: center;
    transition: 0.3s;
}

.benefit-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Pricing */
.pricing {
    background: #fdfdfd;
    padding-bottom: 4rem;
    overflow: visible;
}

.pricing-wrapper {
    max-width: 450px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid #f0f0f0;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: visible;
    width: 100%;
}

.deal-badge {
    background: #ffeb3b;
    color: #000;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.price {
    margin: 1rem 0;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.period {
    display: block;
    color: #888;
    font-size: 0.9rem;
}

.features-list {
    list-style: none;
    text-align: left;
    margin: 1rem 0;
}

.features-list li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

.promo-code {
    background: #fff4e6;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-dark);
    display: block !important;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.15);
    line-height: 1.4;
}

.promo-code strong {
    color: var(--primary-color);
    font-size: 0.95rem;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

.guarantee {
    font-size: 0.85rem;
    margin-top: 1rem;
    color: #999;
}

/* Footer */
footer {
    background: #f9f9f9;
    padding: 2.5rem 0;
    margin-top: 4rem;
    border-top: 1px solid #eee;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.footer-content p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-separator {
    color: var(--text-medium);
    margin: 0 0.5rem;
}

/* Requirements */
.requirements {
    position: relative;
    z-index: 2;
    margin-top: 3rem;
}

.req-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.divider {
    font-size: 2rem;
    color: #ddd;
}

.req-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

    .hero-text {
        margin-bottom: 3rem;
    }

    .sub-headline {
        margin: 0 auto 2rem;
    }

    .hero-img {
        max-width: 80%;
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

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

    h1 {
        font-size: 2.2rem;
    }
}

/* 3D Flip Card Styles */
.pricing-flip-container {
    perspective: 1000px;
    max-width: 450px;
    margin: 0 auto;
    min-height: 550px;
    height: auto;
    position: relative;
    z-index: 1;
}

.pricing-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 550px;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.pricing-card-inner.flipped {
    transform: rotateY(180deg);
}

.pricing-card-front,
.pricing-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 550px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    top: 0;
    left: 0;
    overflow: visible;
}

.pricing-card-back {
    transform: rotateY(180deg);
}

.pricing-flip-container .pricing-card {
    height: auto;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    overflow: visible;
    max-height: none;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--primary-color);
}

.email-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
    display: block;
    word-break: break-all;
}

.icon-mail {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.small-text {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 2rem;
}

/* New Navigation Styles */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Testimonials */
.testimonials {
    background: var(--bg-light);
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.author {
    font-weight: 700;
    color: var(--text-dark);
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.faq-item p {
    font-size: 1rem;
    color: var(--text-medium);
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
    padding: 5rem 0;
    text-align: center;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
}

.email-link-large {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 1.5rem 0;
    display: block;
    transition: 0.3s;
}

.email-link-large:hover {
    color: var(--primary-hover);
    transform: scale(1.05);
}

/* Blog/Feature Redesign */
.feature-section {
    padding: 0 0 6rem;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 8rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
    animation-timeline: view();
    animation-range: entry 20% cover 30%;
    /* Fallback for browsers without scroll-driven anims: normal generic anim */
}

/* Re-applying animation just in case timeline isn't supported, 
   though modern chrome supports it well. */
@media (prefers-reduced-motion: no-preference) {
    .feature-row {
        opacity: 0;
        /* The browser handles the reveal via scroll-timeline usually, 
           but we'll keep it simple for broad compat context if needed. 
           Actually, let's just use simple CSS animation on load for the first one 
           and let the others just exist or use a simple scroll script. 
           For this environment, simple is better. Removing complex scroll-timeline for safety. */
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-img-box {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.feature-img-box:hover .feature-img {
    transform: scale(1.03);
}

.feature-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #fff0eb;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.feature-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

/* Responsive Features */
@media (max-width: 900px) {
    .feature-row {
        flex-direction: column !important;
        gap: 2.5rem;
        margin-bottom: 5rem;
        text-align: left;
    }

    .feature-text h2 {
        font-size: 2rem;
    }

    .feature-img-box {
        width: 100%;
        max-height: 400px;
    }

    .feature-img {
        object-fit: cover;
        height: 100%;
    }
}

/* Blog/Article Styles */
.blog-header {
    background: linear-gradient(to bottom, #fff, #fffcfb);
    padding: 6rem 0 3rem;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.blog-card {
    background: white;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.blog-img-box {
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ddd;
}

.blog-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Article Detail Styles */
.article-section {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-section h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

.article-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.article-section img {
    width: 100%;
    border-radius: var(--radius-card);
    margin: 2rem 0;
    box-shadow: var(--shadow-soft);
}

/* Responsive Nav */
@media (max-width: 768px) {
    .nav-bar {
        flex-direction: column;
        gap: 1.5rem;
    }

    .logo img {
        height: 70px;
    }

    .nav-links {
        gap: 1.5rem;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Detail Content Styling */
.detail-content {
    margin: 1.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.detail-content h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-content p {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.detail-list {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.detail-list li {
    margin-bottom: 0.5rem;
}

/* Article Detail Styles - Keeping generic class just in case */
.article-section {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    background: var(--primary-hover);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}