/* assets/css/styles.css */
:root {
    --primary: #00aa6c;
    /* Tripadvisor Green */
    --primary-dark: #007a4e;
    --primary-light: #e6f7f0;
    --secondary: #1a1a1a;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --bg-dark: #121212;
    --danger: #e53935;
    --warning: #ffb300;
    --border: #e0e0e0;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 10px 30px rgba(0, 170, 108, 0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.highlight {
    color: var(--primary);
}

.text-center {
    text-align: center;
}

.text-white h2,
.text-white p {
    color: var(--bg-white);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--bg-white);
}

/* Layout & Containers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 1000px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
    font-size: 1.125rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 170, 108, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border);
    color: var(--secondary);
}

.btn-outline:hover {
    border-color: var(--secondary);
    background-color: var(--bg-light);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.menu-toggle {
    display: none;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 1.05rem;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: radial-gradient(circle at top right, var(--primary-light) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.trust-badge .stars {
    color: var(--warning);
    letter-spacing: 2px;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.floating-card {
    position: absolute;
    background: var(--bg-white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    color: var(--primary);
    font-size: 1.25rem;
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Feature Cards (Problem) */
.feature-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.danger-card .icon-circle {
    background: #ffebee;
    color: var(--danger);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Solutions */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.solution-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.check-list i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

/* Premium Features Grid (Services) */
.premium-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
}

.premium-card p {
    color: #a0a0a0;
    margin-bottom: 0;
}

.premium-card:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-glow {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 170, 108, 0.4);
}

.premium-card h3 {
    color: white;
}

/* How It Works */
.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step-box {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    min-width: 80px;
}

.step-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    flex-grow: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-content p {
    margin-bottom: 0;
}

/* Results */
.results-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-box {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
}

.testimonial-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    position: relative;
}

.testimonial-card .stars {
    color: var(--warning);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.quote {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.author-info strong {
    display: block;
    font-size: 1.125rem;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.tier-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.tier-desc {
    min-height: 50px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.pricing-features li i {
    color: var(--primary);
    font-size: 1.1rem;
}

.pricing-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-features li.disabled i {
    color: var(--border);
}

/* FAQ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Lead Capture */
.lead-capture-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1a 100%);
    color: white;
}

.capture-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.capture-text h2 {
    color: white;
}

.capture-text p {
    color: #ccc;
    font-size: 1.25rem;
}

.capture-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Footer */
.footer {
    background: var(--bg-white);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo i {
    color: var(--primary);
}

.brand-col p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    text-decoration: none;
}

.social-links a i {
    display: block;
    line-height: 1;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-col a {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Sticky CTA */
.sticky-cta-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sticky-cta-bar.visible {
    bottom: 0;
}

.sticky-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-flex span {
    font-weight: 600;
    font-size: 1.125rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content,
    .solution-grid,
    .results-wrapper,
    .capture-box {
        grid-template-columns: 1fr;
    }

    .hero-image,
    .solution-image {
        order: -1;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4,
    .problem-cards,
    /* Ensure explicitly targeted */
    .stats-grid {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }

    /* Typography & Container Scaling */
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 3.5rem 0;
    }

    /* Navbar Adjustment: Mobile Menu */
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--secondary);
        cursor: pointer;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        gap: 1.5rem;
        display: none;
        border-bottom: 1px solid var(--border);
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a:not(.btn) {
        font-size: 1.25rem;
        text-align: center;
    }

    .nav-links .btn {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    /* Hero Adjustments */
    .hero {
        padding: 110px 0 50px;
    }

    .hero-content {
        gap: 2.5rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    /* Floating Cards adjustment */
    .floating-card {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .card-1 {
        top: -10px;
        left: 0;
        animation: float 5s ease-in-out infinite;
    }

    .card-2 {
        bottom: -10px;
        right: 0;
        animation: float 6s ease-in-out infinite;
    }

    /* How it works mobile stacking */
    .step-box {
        display: block;
        position: relative;
        background: var(--bg-white);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
        overflow: hidden;
    }

    .step-number {
        position: absolute;
        top: -10px;
        right: 10px;
        font-size: 6rem;
        line-height: 1;
        color: var(--primary);
        opacity: 0.08;
        z-index: 1;
    }

    .step-content {
        background: transparent;
        padding: 0;
        border: none;
        box-shadow: none;
        position: relative;
        z-index: 2;
    }

    /* Results */
    .results-wrapper {
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat-box {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    /* Footer & Extras */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .social-links {
        justify-content: center;
    }

    .sticky-flex {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .sticky-flex .btn {
        width: 100%;
    }

    /* Ensure content is not blocked by sticky CTA */
    body {
        padding-bottom: 120px;
    }
}