/* ===================================
   CSS Variables
   =================================== */
:root {
    --color-primary: #ff751f;
    --color-secondary: #2563eb;
    --color-success: #39af25;
    --color-text: #020303;
    --color-text-light: #6b7280;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-border: #efefef;

    --font-primary: 'Nunito', sans-serif;
    --font-heading: 'Ubuntu', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    padding-top: 90px;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Dividers */
.divider {
    width: 80px;
    height: 4px;
    border: none;
    margin: 0 auto 2rem;
}

.divider-orange {
    background: var(--color-primary);
}

.divider-blue {
    background: var(--color-secondary);
}

.divider-green {
    background: var(--color-success);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b4d 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(241, 85, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

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

.btn-white {
    background: white;
    color: var(--color-secondary);
    font-size: 1.25rem;
    padding: 1.125rem 2.25rem;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* ===================================
   Header & Navigation
   =================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 1);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--color-border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
}

.nav-menu a {
    font-weight: 700;
    font-size: 1.125rem;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--color-primary);
    background: rgba(241, 85, 55, 0.1);
}

.cta-btn {
    padding: 0.75rem 1.5rem;
    background: var(--color-success);
    color: white;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding: 4rem 0;
    background: #f8f9fa;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.highlight-text {
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.target-audience {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    max-width: 667px;
}

/* Auto-Reply Demo */
.auto-reply-demo {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
}

.demo-label {
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1rem;
}

.message {
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.message.incoming {
    background: #f3f4f6;
}

.message.incoming strong {
    color: var(--color-primary);
}

.message.outgoing {
    background: var(--color-primary);
    color: white;
}

.message p {
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.demo-note {
    color: var(--color-text-light);
    font-size: 0.875rem;
    text-align: center;
    font-style: italic;
    margin: 1rem 0 0;
}

/* ===================================
   Problems Section
   =================================== */
.problems {
    padding: 6rem 0;
    background: var(--color-bg-light);
    text-align: center;
}

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

.problem-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.problem-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.problem-box .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.problem-box h3 {
    margin-bottom: 1rem;
}

.problem-box p {
    font-size: 1rem;
    margin: 0;
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
    padding: 6rem 0;
    background: white;
}

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

.process-title {
    margin-top: 2.5rem;
    color: var(--color-primary);
    text-transform: uppercase;
}

.process-list {
    list-style: none;
    margin-top: 1.5rem;
}

.process-list li {
    font-family: var(--font-body);
    font-size: 1.125rem;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.process-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.feature-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: 6rem 0;
    background: var(--color-bg-light);
    text-align: center;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1rem;
    margin: 0;
}

/* ===================================
   Simple Process Section
   =================================== */
.simple-process {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

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

.process-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
}

.process-card h3 {
    margin-bottom: 1rem;
}

.process-card p {
    font-size: 1rem;
    margin: 0;
}

/* ===================================
   Testimonial Stats Section
   =================================== */
.testimonial-stats {
    padding: 1.5rem 0;
    background: rgba(248, 249, 250, 0.5);
    text-align: center;
}

.stats-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: transparent;
}

.star-rating {
    display: flex;
    gap: 0.2rem;
    align-items: center;
}

.star-rating .star {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.star-rating .star:hover {
    transform: scale(1.1);
}

.rating-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
}

.rating-number strong {
    color: #FFA500;
}

.rating-number span {
    font-size: 1rem;
    color: var(--color-text-light);
}

.review-count {
    font-size: 1rem;
    color: var(--color-text-light);
    margin: 0;
    white-space: nowrap;
}

.review-count strong {
    color: var(--color-text);
    font-weight: 700;
}

.divider {
    color: var(--color-text-light);
    font-size: 1.25rem;
    line-height: 1;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.trust-badges .badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    background: rgba(240, 253, 244, 0.8);
    color: var(--color-success);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 12px;
    border: 1px solid rgba(134, 239, 172, 0.5);
    transition: var(--transition);
    white-space: nowrap;
}

.trust-badges .badge:hover {
    background: rgba(220, 252, 231, 1);
    border-color: #86efac;
}

/* ===================================
   Pricing Section
   =================================== */
.pricing {
    padding: 6rem 0;
    background: var(--color-bg-light);
    text-align: center;
}

.pricing-card {
    max-width: 600px;
    margin: 3rem auto 0;
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.price {
    margin-bottom: 2rem;
}

.price p {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.price strong {
    font-size: 2rem;
    color: var(--color-primary);
}

.price span {
    font-size: 1rem;
    color: var(--color-text-light);
}

.pricing-features {
    text-align: left;
    margin: 2rem 0;
}

.pricing-features li {
    font-size: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

.guarantee {
    background: #f0fdf4;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #86efac;
    margin-top: 2rem;
    font-size: 0.95rem;
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    padding: 6rem 0;
    background: var(--color-bg-light);
}

.faq .container {
    max-width: 900px;
}

.faq h2 {
    text-align: center;
}

.faq-list {
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
}

.faq-item h4 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

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

/* ===================================
   Final CTA Section
   =================================== */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
    font-size: 2.625rem;
    margin-bottom: 1.25rem;
}

.cta-description {
    font-size: 1.25rem;
    color: #dbeafe;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-note {
    font-size: 0.875rem;
    margin-top: 1.25rem;
    color: #dbeafe;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.cta-features span {
    color: #dbeafe;
    font-size: 1rem;
}

/* ===================================
   Footer
   =================================== */
footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--color-primary);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .hero-content,
    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        margin: 2rem auto;
        max-width: 100%;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
        background: none;
        box-shadow: none;
        border: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 3rem;
        line-height: 1.2;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-wrapper {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
    }

    .nav-wrapper.active {
        transform: translateY(0);
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu a {
        text-align: center;
        padding: 1rem;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .problem-grid,
    .features-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }

    .final-cta h2 {
        font-size: 2rem;
    }

    .stats-wrapper {
        gap: 0.75rem;
        padding: 1rem;
    }

    .divider {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.15;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .auto-reply-demo {
        padding: 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .stats-wrapper {
        padding: 0.75rem 0.5rem;
        gap: 0.5rem;
    }

    .rating-number {
        font-size: 1.1rem;
    }

    .rating-number span {
        font-size: 0.9rem;
    }

    .star-rating .star {
        width: 16px;
        height: 16px;
    }

    .review-count {
        font-size: 0.9rem;
    }

    .trust-badges .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

/* ===================================
   Booking Modal
   =================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    z-index: 1;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text);
    transition: var(--transition);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.modal-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.modal-header p {
    font-size: 1rem;
    color: var(--color-text-light);
    margin: 0;
}

.modal-body {
    padding: 1rem;
    overflow-y: auto;
    max-height: calc(90vh - 150px);
}

.calendar-container {
    width: 100%;
}

.calendar-container iframe {
    display: block;
    width: 100%;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 12px;
    }

    .modal-header {
        padding: 1.5rem 1rem 1rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 0.5rem;
        max-height: calc(95vh - 120px);
    }

    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .calendar-container iframe {
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-header p {
        font-size: 0.875rem;
    }
}
