/* ==========================================================================
   Galaxus Connector Theme - Main Stylesheet
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* ==========================================================================
   Design Tokens / CSS Custom Properties
   ========================================================================== */
:root {
    --primary-color: #2563eb;
    --secondary-color: #059669;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 25%, #06b6d4 50%, #10b981 75%, #059669 100%);
    --gradient-secondary: linear-gradient(135deg, #1e40af 0%, #0891b2 50%, #047857 100%);
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-colored: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 107, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.nav-logo a:hover {
    color: inherit;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.cta-button {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: none;
}

.cta-button:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

.cta-button::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-colored);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

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

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-3px);
}

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

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 140px 0 120px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: 100%;
    max-width: 360px;
}

.integration-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.woocommerce-box,
.galaxus-box {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 15px;
    background: var(--bg-light);
    box-shadow: var(--shadow);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.woocommerce-box i,
.galaxus-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.woocommerce-box h4,
.galaxus-box h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.sync-arrows {
    background: var(--primary-color);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    animation: spin 3s linear infinite;
    box-shadow: var(--shadow-colored);
    position: relative;
    z-index: 2;
    margin: -20px 0;
    border: 4px solid white;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-colored);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #eff6ff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.feature-card ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.feature-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing {
    padding: 80px 0;
    background: white;
}

.pricing-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-colored);
    border-color: var(--primary-color);
}

.onboarding-card {
    border: 2px solid #e5e7eb;
    position: relative;
}

.onboarding-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-colored);
}

.main-card {
    border: 3px solid var(--primary-color);
    background: white;
    box-shadow: var(--shadow-colored);
    transform: scale(1.05);
}

.main-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-colored);
}

.pricing-badge.optional {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
}

.pricing-badge.main {
    background: var(--primary-color);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-light);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0.2rem;
}

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

.price-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 1rem;
    font-style: italic;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .fas.fa-check {
    color: var(--secondary-color);
}

.pricing-cta {
    margin-top: 2rem;
    text-align: center;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.onboarding-card .card-icon {
    background: #f3f4f6;
}

.card-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.onboarding-card .card-icon i {
    color: #6b7280;
}

.card-note {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.card-note i {
    color: var(--primary-color);
}

.pricing-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-box {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

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

.benefit-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-box h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.benefit-box p {
    color: var(--text-light);
    line-height: 1.6;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

.pricing-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
    padding: 80px 0;
    background: white;
}

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

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f0f7ff;
}

.faq-item.active .faq-question {
    background: var(--bg-light);
    border-bottom: 1px solid #e8e8e8;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info > p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: #eff6ff;
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-group.checkbox input {
    width: auto;
    margin: 0;
}

.form-group.checkbox label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-group.checkbox a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-group.checkbox a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Gravity Forms Overrides
   ========================================================================== */
.gform_wrapper.gravity-theme .gfield input,
.gform_wrapper.gravity-theme .gfield select,
.gform_wrapper.gravity-theme .gfield textarea {
    padding: 1rem;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.gform_wrapper.gravity-theme .gfield input:focus,
.gform_wrapper.gravity-theme .gfield select:focus,
.gform_wrapper.gravity-theme .gfield textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.gform_wrapper.gravity-theme .gfield_label {
    font-weight: 500;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
}

.gform_wrapper .gform_button,
.gform_wrapper button.gform_button {
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    font-family: 'Inter', sans-serif !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.gform_wrapper .gform_button::before,
.gform_wrapper button.gform_button::before {
    content: '\f1d8';
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper button.gform_button:hover {
    background: var(--gradient-secondary) !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-colored) !important;
}

.gf-confirmation-message {
    background: #f0fdf4;
    border: 2px solid #059669;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: #059669;
    font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #93c5fd;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* ==========================================================================
   Legal Pages
   ========================================================================== */
.legal-page {
    padding: 120px 0 80px;
    background: white;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.legal-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-section h3:first-child {
    margin-top: 0;
}

.legal-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.legal-section a:hover {
    border-bottom-color: var(--primary-color);
}

.company-info {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.company-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    margin-top: 0;
}

.company-info p {
    margin-bottom: 1rem;
}

.company-info p:last-child {
    margin-bottom: 0;
}

.legal-footer {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 3rem;
}

.legal-footer .note {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-light);
    margin-top: 1rem;
}

/* ==========================================================================
   Animation Classes
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .integration-visual {
        gap: 1rem;
    }

    .sync-arrows {
        margin: 1rem 0;
    }

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

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

    .pricing-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 1rem 3rem;
    }

    .main-card {
        transform: none;
        order: -1;
    }

    .main-card:hover {
        transform: translateY(-5px);
    }

    .pricing-benefits {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .legal-page {
        padding: 100px 0 60px;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-content {
        padding: 0 1rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .company-info {
        padding: 1.5rem;
    }

    .faq-question {
        padding: 1rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

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

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .feature-card,
    .contact-form {
        padding: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   WordPress Admin Bar Offset
   ========================================================================== */
.admin-bar .navbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .navbar {
        top: 46px;
    }
}

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

.testimonials-carousel {
    position: relative;
    padding: 0 60px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    max-width: 780px;
    margin: 0 auto;
    position: relative;
}

.testimonial-quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-colored);
}

.testimonial-meta strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-meta span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonials-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    z-index: 2;
}

.testimonials-btn:hover {
    background: var(--primary-color);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-colored);
}

.testimonials-btn--prev { left: 0; }
.testimonials-btn--next { right: 0; }

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonials-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.testimonials-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .testimonials-carousel {
        padding: 0 44px;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Gallery Carousel + Lightbox
   ========================================================================== */

/* ---- Section ---- */
.gallery-section {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

/* ---- Carousel ---- */
.gallery-carousel {
    position: relative;
    margin-top: 3rem;
}

.gallery-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 calc((100vw - 1200px) / 2) 1rem;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: clamp(260px, 32vw, 420px);
}

.gallery-thumb {
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.gallery-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    font-size: 1.75rem;
    color: white;
}

.gallery-thumb:hover .gallery-thumb-overlay {
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.gallery-nav:hover {
    background: var(--primary-color);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-colored);
}

.gallery-nav--prev { left: 1rem; }
.gallery-nav--next { right: 1rem; }

/* ---- Lightbox ---- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    cursor: pointer;
}

.lightbox-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 95vw;
    max-height: 95vh;
}

.lightbox-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: min(1200px, 90vw);
    max-height: 88vh;
}

.lightbox-img-wrap img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    display: block;
}

.lightbox-close {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
}

.lightbox-nav {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.4);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
}

.lightbox-counter {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-family: var(--font-primary);
    background: rgba(0,0,0,0.4);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
}

@keyframes lightboxIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.lightbox:not([hidden]) .lightbox-img-wrap img {
    animation: lightboxIn 0.2s ease;
}

@media (max-width: 768px) {
    .gallery-track {
        padding: 0 1rem 1rem;
    }

    .gallery-slide {
        width: clamp(240px, 75vw, 360px);
    }

    .gallery-nav {
        display: none;
    }

    .lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}
