/* ==========================================================================
   STYLE SHEET - JOSIMARA MEDEIROS SOLUÇÕES
   Editorial Clean Theme (BPO & Administration)
   ========================================================================== */

/* --- CSS Variables (Design Tokens) --- */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #faf9fb; /* Soft purple-tinted off-white */
    --bg-tertiary: #f3f1f5;  /* Soft purple-gray shadow */
    
    --border-color: #ebdff0; /* Soft violet border */
    --border-hover: #cbb4d9;
    
    /* Editorial Corporate Palette based on logo colors */
    --primary: #3c2349;          /* Column 1: Deep Violet */
    --primary-light: #5d0d42;    /* Column 2: Burgundy / Accent */
    --accent: #5d0d42;           /* Burgundy */
    --accent-light: #8e9be0;     /* Periwinkle Blue */
    --accent-pastel: #e5bed4;    /* Soft Lavender-Pink */
    
    /* Text Colors */
    --text-main: #3c2349;        /* Deep Violet */
    --text-muted: #574861;       /* Muted violet-slate */
    --text-light: #857490;       /* Light violet-slate */
    
    /* Layout Tokens */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    
    /* Shadows - extremely subtle and clean (Stripe-like) */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.03), 0 1px 3px rgba(15, 23, 42, 0.02);
    --shadow-lg: 0 12px 24px -10px rgba(15, 23, 42, 0.05), 0 4px 12px -5px rgba(15, 23, 42, 0.02);
    
    /* Transitions */
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600; /* Replaced heavy 800/700 with elegant 600 weight */
    line-height: 1.2;
    color: var(--primary);
    letter-spacing: -0.01em;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1140px; /* Reduced slightly for tighter grid */
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Section Formatting --- */
section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.1rem;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
}

.section-tag.text-left {
    display: inline-block;
    margin-left: 0;
}

.section-title.text-left {
    text-align: left;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

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

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

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

.btn-submit {
    background-color: var(--primary);
    color: #ffffff;
    width: 100%;
    border: none;
    font-weight: 600;
    padding: 14px;
    border-radius: var(--radius-sm);
}

.btn-submit:hover {
    background-color: var(--primary-light);
}

/* --- Header / Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 4px 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    transition: var(--transition);
}

.main-header.scrolled .header-container {
    height: 64px;
}

/* Logo Design - Editorial Type */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    filter: invert(1);
    mix-blend-mode: multiply;
}

.footer-logo .logo-img {
    filter: none;
    mix-blend-mode: screen;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.logo-subtext {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    padding: 6px 0;
}

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

.btn-header-contact {
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    padding: 6px 14px !important;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-header-contact:hover {
    background-color: var(--primary);
    color: #ffffff !important;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding-top: 110px;
    padding-bottom: 90px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55; /* Increased opacity for clear visibility */
}

.video-overlay-tint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(250, 249, 251, 0.5) 100%);
}

.hero-container {
    position: relative;
    z-index: 1; /* Keep above video */
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 50px;
}

.hero-tag-badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 3.15rem;
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    color: var(--primary);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent) 30%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.65;
}

/* Hero Lead Capture Box */
.hero-lead-box {
    margin-bottom: 24px;
    max-width: 520px;
}

.hero-form {
    display: flex;
    gap: 8px;
}

.hero-form input[type="email"] {
    flex: 1;
    padding: 13px 16px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hero-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.btn-hero-submit {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(93, 13, 66, 0.15);
}

.btn-hero-submit:hover {
    background-color: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-1px);
}

.hero-form-error {
    display: none;
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 6px;
    font-weight: 500;
}

.hero-form-error.active {
    display: block;
}

/* Trust Bullets */
.hero-trust-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.trust-bullet {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-bullet i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* Hero Mockup Window (Stripe style) */
.hero-mockup-window {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 100%;
}

.mockup-header {
    height: 36px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 6px;
    position: relative;
}

.mockup-header .dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    display: inline-block;
}

.mockup-header .dot.red { background-color: #ef4444; }
.mockup-header .dot.yellow { background-color: #f59e0b; }
.mockup-header .dot.green { background-color: #10b981; }

.mockup-tab {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    background-color: var(--bg-primary);
    padding: 4px 12px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    border: 1px solid var(--border-color);
    border-bottom: none;
    bottom: -1px;
}

.mockup-body {
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.mockup-image {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

/* --- Value Props & Integrations (Hero) --- */
.hero-value-props {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.value-prop-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
}

.value-prop-item i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 4px;
}

.hero-integrations {
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
    margin-top: 24px;
}

.integrations-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.integrations-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.logo-badge {
    padding: 4px 10px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Form Panel Tweaks */
.hero-form-panel {
    border-top: 4px solid var(--accent);
    box-shadow: var(--shadow-lg);
}

/* --- Savings Calculator Section --- */
.calculator-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.calculator-box {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.calc-group {
    margin-bottom: 24px;
}

.calc-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.calc-value-display {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.calc-value-display span:first-child {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Custom Range Slider Styling */
.calc-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    outline: none;
    margin-bottom: 8px;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(93, 13, 66, 0.3);
    transition: var(--transition);
}

.calc-slider::-webkit-slider-thumb:hover {
    background: var(--accent-light);
    transform: scale(1.1);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
}

.calc-explanation {
    padding: 16px;
    background-color: var(--bg-secondary);
    border-left: 3px solid var(--accent-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.calc-results {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.result-row strong {
    font-size: 1.15rem;
    color: var(--primary);
}

.result-row.accent-row {
    color: var(--accent);
    font-weight: 600;
}

.result-row.accent-row strong {
    font-size: 1.25rem;
    color: var(--accent);
}

.calc-results .divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 18px 0;
}

.savings-display {
    text-align: center;
    padding: 10px 0;
}

.savings-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.savings-display h3 {
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 12px;
}

.savings-display p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* --- Services Tabs & Detailed Grid --- */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

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

.tab-btn.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.services-grid-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.service-detail-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius-sm);
    transition: var(--transition-slow);
    position: relative;
}

.service-detail-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.card-badge {
    display: inline-block;
    padding: 4px 8px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.service-detail-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-detail-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- About Section --- */
.about-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.about-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.about-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    padding: 20px;
    background-color: var(--bg-primary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.stat-card h4 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.stat-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.45;
}

/* --- Benefits Section --- */
.benefits-section {
    background-color: var(--bg-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.benefit-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.benefit-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.benefit-card-header h3 {
    font-size: 1.1rem;
    color: var(--primary);
}

.icon-accent {
    color: var(--accent);
    font-size: 1.15rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Services Section --- */
.services-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.service-category-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.category-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
}

.category-header h3 {
    font-size: 1.25rem;
    color: var(--primary);
}

.category-body {
    padding: 30px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-list strong {
    font-size: 0.95rem;
    color: var(--primary);
    position: relative;
    padding-left: 14px;
}

.service-list strong::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
}

.service-list p {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 14px;
    line-height: 1.45;
}

/* --- How It Works Section --- */
.how-it-works-section {
    background-color: var(--bg-primary);
}

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

.step-card {
    padding: 30px 24px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.step-card h4 {
    margin-bottom: 8px;
    font-size: 1.15rem;
    color: var(--primary);
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Media Section --- */
.media-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.media-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
}

.video-container {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background-color: #000000;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #ffffff;
    z-index: 12;
}

.video-overlay h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.video-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15,23,42,0.35);
    transition: var(--transition);
    z-index: 15;
}

.play-btn i {
    margin-left: 2px;
}

.play-btn:hover {
    background-color: var(--accent);
    transform: translate(-50%, -50%) scale(1.05);
}

.active-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.active-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Photos Sidebar */
.photos-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.photo-card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: calc(50% - 8px);
    border: 1px solid var(--border-color);
}

.media-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 150px;
}

.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15,23,42,0.8), transparent);
    padding: 16px;
    color: #ffffff;
}

.photo-info h4 {
    color: #ffffff;
    font-size: 0.95rem;
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--bg-primary);
}

.faq-accordion {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

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

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    outline: none;
}

.faq-question span {
    padding-right: 16px;
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: transform 0.25s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 24px 20px 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.faq-item.open {
    border-color: var(--border-hover);
    background-color: var(--bg-primary);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
    color: var(--accent);
}

/* --- Contact & Form Section --- */
.contact-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.contact-info-panel p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon-simple {
    font-size: 1.25rem;
    color: var(--accent);
    margin-top: 4px;
}

.contact-item h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0;
}

.contact-item p a:hover {
    color: var(--accent);
}

/* Form Panel */
.contact-form-panel {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent);
    padding: 40px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.contact-form-panel h3 {
    font-size: 1.45rem;
    margin-bottom: 6px;
    color: var(--primary);
}

.contact-form-panel p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-main);
    transition: var(--transition);
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-primary);
}

/* Validations styling */
.form-group.error input {
    border-color: #dc2626;
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 4px;
    font-weight: 500;
}

.form-group.error .error-msg {
    display: block;
}

/* Success Box */
.success-box {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.success-box h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.success-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* --- Footer --- */
.main-footer {
    background-color: #170b1e; /* Deep purple-black to match palette */
    color: #cbd5e1;
    padding-top: 70px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .logo-text {
    color: #ffffff;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 16px;
    margin-bottom: 16px;
    color: #64748b;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    color: #cbd5e1;
    font-size: 0.9rem;
}

.social-links a:hover {
    background-color: var(--primary-light);
    color: #ffffff;
}

.footer-links h4,
.footer-contact h4 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #64748b;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-icon {
    font-size: 0.95rem;
    color: var(--accent);
}

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #475569;
    flex-wrap: wrap;
    gap: 12px;
}

/* --- Scroll Reveal Framework --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

input.error,
select.error {
    border-color: #dc2626 !important;
}

.hero-form input[type="email"].error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* --- Responsive Breakpoints --- */

@media (max-width: 992px) {
    section {
        padding: 70px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.35rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 24px auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-media {
        order: -1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .about-content .section-title.text-left,
    .about-content .section-tag.text-left {
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .photo-card {
        height: auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-panel {
        text-align: center;
    }
    
    .contact-info-panel .section-title.text-left,
    .contact-info-panel .section-tag.text-left {
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-details {
        align-items: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }

    .calculator-box {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .services-grid-detailed {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background-color: var(--bg-primary);
        box-shadow: var(--shadow-sm);
        padding: 30px 24px;
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .nav-link {
        font-size: 1rem;
        width: 100%;
        display: block;
    }
    
    .btn-header-contact {
        width: 100%;
        text-align: center;
        padding: 12px !important;
    }
    
    /* Hamburger Menu Animation */
    .mobile-menu-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    /* Premium Hero Mobile Styling */
    .hero-section {
        padding-top: 100px;
        padding-bottom: 50px;
        background: radial-gradient(circle at 50% 0%, rgba(93, 13, 66, 0.04) 0%, transparent 70%), linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    }
    
    .hero-title {
        font-size: 2.15rem;
        text-align: center;
        letter-spacing: -0.02em;
    }
    
    .hero-subtitle {
        text-align: center;
        font-size: 0.95rem;
        margin: 0 auto 20px auto;
    }

    .hero-value-props {
        align-items: flex-start;
        text-align: left;
        margin-bottom: 24px;
    }

    .hero-integrations {
        text-align: center;
        margin-top: 20px;
    }

    .integrations-logos {
        justify-content: center;
    }
    
    .contact-form-panel {
        padding: 28px 20px;
    }
    
    /* Premium BPO Calculator Mobile tweaks */
    .calculator-box {
        padding: 24px 16px;
        gap: 24px;
    }

    .savings-display h3 {
        font-size: 2rem;
    }

    /* Swipeable horizontal tabs for Services (Stripe/Airbnb-like) */
    .services-tabs {
        flex-direction: row;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 12px;
        margin-bottom: 24px;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }

    .services-tabs::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Safari/Chrome */
    }
    
    .tab-btn {
        flex-shrink: 0;
        width: auto;
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    /* Premium Connected Timeline for Steps on Mobile */
    .steps-grid {
        position: relative;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .steps-grid::before {
        content: '';
        position: absolute;
        top: 24px;
        bottom: 24px;
        left: 24px;
        width: 2px;
        background: linear-gradient(to bottom, var(--accent) 0%, var(--accent-light) 100%);
        z-index: 1;
        opacity: 0.3;
    }

    .step-card {
        position: relative;
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: 16px;
        text-align: left;
        align-items: center;
        z-index: 2;
        background-color: var(--bg-primary);
        padding: 20px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-sm);
    }

    .step-num {
        margin: 0;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 50%;
        border: 2px solid var(--accent);
        color: #ffffff;
        background-color: var(--accent);
        box-shadow: 0 3px 8px rgba(93, 13, 66, 0.2);
        flex-shrink: 0;
        align-self: flex-start;
    }

    .step-content {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .step-content h4 {
        font-size: 1rem;
        margin: 0;
        color: var(--primary);
    }

    .step-content p {
        font-size: 0.85rem;
        color: var(--text-muted);
        line-height: 1.5;
        margin: 0;
    }
    
    /* Elements and alignment */
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
