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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #fff;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    font-size: 28px;
}

.desktop-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
}

.nav-cta:hover {
    background: var(--primary-color);
    color: white !important;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--primary-color) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, var(--primary-color) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.hero .subtitle {
    font-size: 22px;
    color: var(--text-medium);
    margin-bottom: 30px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.platform-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.badge {
    background: var(--bg-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-features {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 19px;
}

/* Trust Section */
.trust-section {
    padding: 60px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.trust-heading {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    margin-bottom: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-medium);
    font-weight: 500;
}

.trust-subtext {
    text-align: center;
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 60px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 50px 35px;
    background: var(--bg-white);
    border-radius: 16px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
    position: relative;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.step-number {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 32px;
    font-weight: 700;
    line-height: 70px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.35);
}

.step h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.step p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.checkmark {
    color: var(--secondary-color);
    font-weight: 700;
    margin-right: 8px;
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background: var(--bg-white);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    transform: translateY(-8px);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.pricing-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.pricing-description {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.price {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 20px 0;
    line-height: 1;
}

.price span {
    font-size: 22px;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-features {
    text-align: left;
    margin: 30px 0;
    list-style: none;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-medium);
    font-size: 15px;
    line-height: 1.6;
}

.note {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 20px;
    font-style: italic;
}

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

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

.testimonial {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: var(--bg-white);
    text-align: center;
}

.cta h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta > p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #cbd5e1;
}

/* Calendar Booking */
.calendar-wrapper {
    max-width: 1100px;
    width: 100%;
    margin: 40px auto 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border-radius: 12px;
    overflow: hidden;
}

.calendar-wrapper iframe {
    display: block;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 35px auto 25px;
    flex-wrap: wrap;
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 500;
}

.trust-badges span {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.trust-badges span:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Legacy form styles (kept for compatibility) */
.form-wrapper {
    max-width: 555px;
    width: 100%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
}

.form-wrapper formester-standard-form {
    display: block;
    width: 100%;
    min-height: 500px;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: var(--bg-white);
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 20px;
}

.contact-alt {
    font-size: 17px;
    color: #f1f5f9;
    margin-top: 35px;
    padding: 22px 32px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-alt a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.contact-alt a:hover {
    color: #93c5fd;
    background: rgba(96, 165, 250, 0.1);
    text-decoration: none;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

.faq-question {
    padding: 25px 30px;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-toggle {
    font-size: 28px;
    color: #2563eb;
    font-weight: 400;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
}

.faq-answer p {
    padding: 0 30px 25px 30px;
    color: #64748b;
    line-height: 1.8;
    font-size: 16px;
    margin: 0;
}

/* Footer */
footer {
    padding: 60px 0 30px;
    background: #1e293b;
    color: #94a3b8;
}

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

.footer-brand .logo {
    color: var(--bg-white);
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: var(--bg-white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-column a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-bottom p {
    font-size: 14px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

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

    .hero h1 {
        font-size: 36px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 30px;
    }

    .price {
        font-size: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .trust-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .calendar-wrapper {
        margin: 30px auto 20px;
    }

    .calendar-wrapper iframe {
        height: 700px;
    }

    .trust-badges {
        gap: 15px;
        font-size: 15px;
    }

    .trust-badges span {
        padding: 10px 20px;
    }

    .contact-alt {
        font-size: 16px;
        padding: 18px;
        margin-top: 25px;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px;
    }

    .faq-answer p {
        padding: 0 20px 20px 20px;
        font-size: 15px;
    }

    .faq-toggle {
        font-size: 24px;
    }

    .form-wrapper {
        max-width: 100%;
        padding: 0 20px;
    }

    .form-wrapper formester-standard-form {
        width: 100% !important;
        min-height: 450px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 50px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-cta {
        align-items: center;
    }

    .platform-badges {
        gap: 10px;
    }

    .badge {
        padding: 6px 15px;
        font-size: 12px;
    }

    .steps, .features-grid, .pricing-cards, .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .calendar-wrapper {
        margin: 20px auto 15px;
    }

    .calendar-wrapper iframe {
        height: 650px;
        border-radius: 8px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 12px;
        font-size: 14px;
        text-align: center;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .trust-badges span {
        padding: 12px 20px;
    }

    .contact-alt {
        font-size: 15px;
        padding: 16px;
        margin-top: 25px;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .faq-question {
        font-size: 15px;
        padding: 18px;
    }

    .faq-answer p {
        padding: 0 18px 18px 18px;
        font-size: 14px;
    }

    .form-wrapper {
        padding: 0 15px;
    }

    .form-wrapper formester-standard-form {
        width: 100% !important;
        min-height: 400px;
    }
}

