/* ==========================================================================
   MINHAS DIGITAL - STYLE SHEET
   ========================================================================== */

:root {
    --bg-primary: #0f172a;       /* Slate 900 */
    --bg-secondary: #1e293b;     /* Slate 800 */
    --bg-tertiary: #020617;      /* Slate 950 */
    --accent-cyan: #38bdf8;      /* Cyan 400 */
    --accent-cyan-dark: #0284c7; /* Cyan 600 */
    --accent-orange: #f97316;    /* Orange 500 */
    --accent-orange-dark: #ea580c;/* Orange 600 */
    --text-primary: #f8fafc;     /* Slate 50 */
    --text-secondary: #94a3b8;   /* Slate 400 */
    --text-muted: #64748b;       /* Slate 500 */
    --border-color: #334155;     /* Slate 700 */
    --border-focus: #38bdf8;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px 2px rgba(56, 189, 248, 0.15);
}

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

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }

/* Sticky Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo-svg {
    width: 2.5rem;
    height: 2.5rem;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.2));
}

.brand-logo-svg.small {
    width: 2rem;
    height: 2rem;
}

.brand-logo-img {
    width: 2.8rem;
    height: 2.8rem;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.25));
}

.brand-logo-img.small {
    width: 2.2rem;
    height: 2.2rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-text span {
    color: var(--accent-cyan);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

.nav-btn {
    background-color: var(--accent-cyan);
    color: var(--bg-tertiary) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background-color: var(--text-primary);
    transform: translateY(-1px);
}

/* Floating Call Widget */
.floating-phone {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3), 0 0 0 0px rgba(249, 115, 22, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
}

.floating-phone svg {
    width: 1.5rem;
    height: 1.5rem;
}

.floating-phone:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(249, 115, 22, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

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

.btn-primary:hover {
    background-color: var(--accent-orange-dark);
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background-color: #334155;
    border-color: #475569;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.hero-content h1 {
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
    color: var(--accent-cyan);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bullet-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent-cyan);
}

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

/* Graphic Canvas (Rocket Launch Visual) */
.hero-graphic {
    position: relative;
    height: 400px;
    width: 100%;
}

.floating-card {
    position: absolute;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 5;
}

.lead-card {
    top: 10%;
    left: -10%;
    animation: float 4s ease-in-out infinite alternate;
}

.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #334155;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
}

.lead-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.lead-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.interactive-canvas {
    width: 100%;
    height: 100%;
    background-color: var(--bg-tertiary);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-glow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.canvas-browser-head {
    height: 2rem;
    background-color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    border-bottom: 1px solid var(--border-color);
}

.canvas-browser-head .dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #22c55e; }

.canvas-body {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.canvas-logo-img {
    width: 10rem;
    height: 10rem;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.35));
    animation: rocketFloat 3s ease-in-out infinite alternate;
}

/* Background Rocket Decorations */
.canvas-logo-img {
    width: 10rem;
    height: 10rem;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.35));
    animation: rocketFloat 3s ease-in-out infinite alternate;
}

/* Background Doodle Engine Canvas Styles */
.doodle-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.doodle-node {
    position: absolute;
    width: 2.2rem;
    height: 2.2rem;
    opacity: 0.12;
    fill: var(--text-secondary);
    color: var(--text-secondary);
    pointer-events: none;
    z-index: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

@keyframes rocketFloat {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
    100% { transform: translateY(5px) rotate(-2deg); }
}

/* Sections common */
section {
    position: relative;
    z-index: 1;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Process Section */
.how-it-works-section {
    padding: 6rem 0;
    background-color: var(--bg-tertiary);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 0.75rem;
    position: relative;
    transition: all 0.2s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(56, 189, 248, 0.1);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.process-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.process-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Before After Section */
.transformation-section {
    padding: 6rem 0;
}

.slider-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    user-select: none;
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background-color: var(--bg-tertiary);
    box-shadow: var(--shadow-lg);
    touch-action: none;
}

.slide-before, .slide-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide-before {
    z-index: 1;
    background-color: #1a202c;
    width: 50%; /* Adjusted dynamically by JS */
}

.slide-after {
    z-index: 0;
    background-color: #0c101a;
}

/* Mockups inside Slider */
.mock-maps-card {
    background-color: #ffffff;
    color: #1a202c;
    width: 320px;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    padding: 1.5rem;
    font-family: Arial, sans-serif;
    border: 1px solid #e2e8f0;
}

.maps-header h3 {
    font-family: Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.maps-header .rating {
    font-size: 0.85rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

.maps-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #4a5568;
    margin-bottom: 1.25rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.missing-web {
    background-color: #fffaf0;
    border: 1px dashed #dd6b20;
    padding: 0.4rem;
    border-radius: 0.25rem;
    font-weight: 600;
    color: #c05621;
}

.maps-cta-row {
    display: flex;
    gap: 0.5rem;
}

.maps-btn {
    flex-grow: 1;
    text-align: center;
    padding: 0.5rem;
    border: 1px solid #cbd5e0;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a0dab;
    cursor: not-allowed;
}

.maps-btn.active {
    background-color: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

.maps-btn.disabled {
    background-color: #f7fafc;
    color: #a0aec0;
    border-color: #edf2f7;
    text-decoration: line-through;
}

/* Simulated site preview */
.mock-website-preview {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.22) 0%, transparent 45%),
                radial-gradient(circle at 90% 80%, rgba(249, 115, 22, 0.18) 0%, transparent 45%),
                linear-gradient(135deg, #0f172a 0%, #030712 100%);
    color: var(--text-primary);
    overflow: hidden;
    position: relative;
}

.web-navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 0.75rem;
}

.web-logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.web-logo-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #22c55e; /* green dot */
}

.web-logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.web-nav-links {
    display: flex;
    gap: 1rem;
}

.web-nav-links span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
}

.web-nav-links span.active {
    color: var(--accent-cyan);
}

.web-nav-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background-color: #25d366; /* WhatsApp green */
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.2);
}

.whatsapp-icon {
    width: 0.9rem;
    height: 0.9rem;
}

.web-body-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    text-align: left;
    align-items: center;
    flex-grow: 1;
}

.web-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.web-hero-badge {
    background-color: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
}

.web-hero-left h2 {
    font-size: 1.8rem;
    line-height: 1.25;
    color: var(--text-primary);
}

.web-hero-left p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.web-hero-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.web-btn-whatsapp-large {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25d366;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 10px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.2s ease;
}

.web-btn-whatsapp-large:hover {
    background-color: #20ba5a;
    transform: translateY(-1px);
}

.web-btn-secondary {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    cursor: pointer;
}

/* Right Side Cards */
.web-menu-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-card-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(4px);
}

.menu-card-img-placeholder {
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.menu-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.menu-card-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.menu-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.menu-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

/* Slider Handlebar */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%; /* Adjusted dynamically by JS */
    height: 100%;
    width: 4px;
    background-color: var(--accent-cyan);
    z-index: 2;
    transform: translateX(-50%);
    cursor: ew-resize;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    touch-action: none;
}

.handle-line {
    flex-grow: 1;
    width: 2px;
    background-color: var(--accent-cyan);
}

.handle-button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    color: var(--bg-tertiary);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border: 2px solid var(--text-primary);
}

.handle-button svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* App Upsell Section */
.app-upsell-section {
    padding: 6rem 0;
    background-color: var(--bg-tertiary);
}

.app-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.iphone-mockup {
    width: 280px;
    height: 560px;
    border-radius: 2.5rem;
    border: 8px solid #334155;
    background-color: #020617;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(56, 189, 248, 0.1);
}

.iphone-notch {
    width: 140px;
    height: 18px;
    background-color: #334155;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    z-index: 10;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

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

.app-header .logo {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.app-header .badge {
    margin-bottom: 0;
    font-size: 0.6rem;
    padding: 0.15rem 0.5rem;
}

.app-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 0.75rem;
}

.app-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.app-card p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.push-notification {
    background-color: #ffffff;
    color: #1e293b;
    padding: 0.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.3);
    font-size: 0.75rem;
    animation: bounce 2s infinite alternate;
}

.notif-header {
    font-weight: 700;
    font-size: 0.65rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.notif-body {
    font-weight: 500;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.app-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.app-content p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.app-bullets {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.app-bullets .bullet-item {
    align-items: flex-start;
}

.icon-span {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.app-bullets h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.app-bullets p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Form Section */
.booking-section {
    padding: 6rem 0;
}

.form-card-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
}

/* Mode toggler styles */
.mode-toggle-wrapper {
    display: flex;
    background-color: var(--bg-tertiary);
    padding: 0.35rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
    position: relative;
}

.toggle-btn {
    flex-grow: 1;
    background: none;
    border: none;
    padding: 0.6rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 0.35rem;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.toggle-btn.active {
    color: var(--accent-cyan);
}

.mode-toggle-indicator {
    position: absolute;
    top: 0.35rem;
    bottom: 0.35rem;
    background-color: var(--bg-secondary);
    border-radius: 0.35rem;
    z-index: 1;
    pointer-events: none;
    border: 1px solid rgba(56, 189, 248, 0.15);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.1);
    /* Dual transitions to create a stretchy, liquid mercury drag effect */
    transition: left 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                right 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Client Mode (Left position) */
.mode-toggle-wrapper.mode-client .mode-toggle-indicator {
    left: 0.35rem;
    right: calc(50% + 0.1rem);
    transition-delay: 0s, 0.05s; /* right edge delays to stretch when moving left */
}

/* Agent Mode (Right position) */
.mode-toggle-wrapper.mode-agent .mode-toggle-indicator {
    left: calc(50% + 0.1rem);
    right: 0.35rem;
    transition-delay: 0.05s, 0s; /* left edge delays to stretch when moving right */
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.timezone-badge-container {
    display: flex;
    align-items: center;
    min-height: 2.8rem;
}

.timezone-badge {
    background-color: rgba(56, 189, 248, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    width: 100%;
    text-align: center;
    transition: all 0.25s ease;
}

.timezone-badge.active {
    background-color: rgba(37, 211, 102, 0.08);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.25);
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group label .subtext {
    font-weight: 400;
    color: var(--text-muted);
}

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
    width: 100%;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

/* validation errors */
.form-group input.invalid, .form-group select.invalid {
    border-color: #ef4444 !important;
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    color: #f87171;
    font-weight: 500;
}

.error-msg.visible {
    display: block;
}

.error-msg.text-center {
    text-align: center;
}

/* Date/time booking block */
.scheduling-block {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-top: 1rem;
}

.block-title {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--accent-cyan);
}

.time-select-row {
    display: flex;
    gap: 1rem;
}

.buffer-notification {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--accent-orange);
    font-weight: 500;
}

.booking-form textarea {
    height: 100px;
    resize: none;
}

.submit-btn {
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.05rem;
}

.agent-fields-block {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Modals Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    width: 90%;
    max-width: 440px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-card h3 {
    font-size: 1.5rem;
    text-align: center;
}

.modal-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

.passcode-input-row {
    display: flex;
    justify-content: center;
}

.passcode-input-row input {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 2rem;
    letter-spacing: 0.5em;
    text-align: center;
    padding: 0.5rem;
    width: 160px;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    outline: none;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.modal-actions button {
    flex-grow: 1;
}

/* Success Card */
.success-card {
    align-items: center;
    text-align: center;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(34, 197, 94, 0.1);
    border: 2px solid #22c55e;
    color: #22c55e;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
}

.success-details {
    width: 100%;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: left;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.success-details strong {
    color: var(--text-primary);
}

/* Footer Section */
.main-footer {
    background-color: var(--bg-tertiary);
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 450px;
}

.footer-contacts h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--accent-cyan);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.contact-row:hover {
    color: var(--text-primary);
}

.contact-row .icon {
    font-size: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Utilities */
.hidden {
    display: none !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-graphic {
        height: 320px;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .iphone-mockup {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Main navigation: hide text links, display only Get Free Demo button */
    .main-nav {
        display: flex;
        gap: 0.5rem;
    }
    
    .main-nav a:not(.nav-btn) {
        display: none;
    }
    
    .main-nav .nav-btn {
        padding: 0.45rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Font sizing */
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .section-title h2 {
        font-size: 1.85rem;
    }
    
    /* Grids stacking */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Layout optimization and paddings */
    .hero-section,
    .how-it-works-section,
    .transformation-section,
    .app-upsell-section,
    .booking-section {
        padding: 3rem 0;
    }
    
    .section-title {
        margin-bottom: 2.25rem;
    }
    
    .main-footer {
        padding: 3rem 0 1.5rem 0;
    }
    
    /* Booking Form Layout overrides */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .form-card-container {
        padding: 1.5rem;
    }
    
    .timezone-badge-container {
        min-height: auto;
    }
    
    /* Comparison Slider overrides */
    .comparison-slider {
        height: 360px;
    }
    
    .mock-maps-card {
        width: 280px;
        padding: 1rem;
    }
    
    /* Website Mockup Preview responsive mobile styling */
    .mock-website-preview {
        padding: 1rem;
    }
    
    .web-navbar {
        padding: 0.5rem 0.75rem;
        height: auto;
        gap: 0.5rem;
    }
    
    .web-logo-text {
        font-size: 0.85rem;
    }
    
    .web-nav-links {
        display: none; /* Hide mockup links inside slider */
    }
    
    .web-nav-whatsapp {
        padding: 0.35rem 0.65rem;
        font-size: 0.7rem;
    }
    
    .web-nav-whatsapp svg {
        width: 0.8rem;
        height: 0.8rem;
    }
    
    .web-body-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-top: 0.5rem;
    }
    
    .web-hero-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }
    
    .web-hero-left h2 {
        font-size: 1.15rem;
        margin-bottom: 0.25rem;
    }
    
    .web-hero-left p {
        font-size: 0.7rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .web-hero-actions {
        gap: 0.5rem;
    }
    
    .web-btn-whatsapp-large, .web-btn-secondary {
        padding: 0.4rem 0.75rem;
        font-size: 0.7rem;
    }
    
    .web-menu-right {
        display: none; /* Hide right-hand card items in slider to fit height */
    }
    
    /* Hero reviews badge sizing & positioning on mobile */
    .lead-card {
        top: 6%;
        left: 5%;
        padding: 0.5rem 0.75rem;
        max-width: 190px;
    }
    
    .lead-card h4 {
        font-size: 0.75rem;
    }
    
    .lead-card p {
        font-size: 0.65rem;
    }
    
    .lead-card .avatar {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.85rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    /* Stack hero CTA buttons vertically on mobile-first */
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 1.85rem;
    }
}

/* ==========================================================================
   ADVANCED INTERACTIVE PHYSICS COMPONENTS (1-5)
   ========================================================================== */

/* Wobbly Jelly Animations */
@keyframes jellyWobble {
    0% { transform: scale(1, 1); }
    30% { transform: scale(1.2, 0.8); }
    40% { transform: scale(0.8, 1.2); }
    50% { transform: scale(1.1, 0.9); }
    65% { transform: scale(0.95, 1.05); }
    75% { transform: scale(1.02, 0.98); }
    100% { transform: scale(1, 1); }
}

.btn:hover, .nav-btn:hover, .web-nav-whatsapp:hover, .web-btn-whatsapp-large:hover, .web-btn-secondary:hover, .toggle-btn.active, .process-card:hover, .menu-card-item:hover, .iphone-mockup:hover, .app-card:hover, .push-notification:hover {
    animation: jellyWobble 0.6s ease-in-out;
}

/* Click Particle sparks */
.click-spark {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    filter: drop-shadow(0 0 4px currentColor);
}

/* 3D Card tilt configs */
.process-card, .menu-card-item {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Magnetic Logo animations */
.logo-wrapper, .canvas-logo-img {
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Mercury Blob & Particle styles inside hero canvas */
.mercury-blob {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #cbd5e1 45%, #64748b 80%, #334155 100%);
    box-shadow: 0 0 10px rgba(148, 163, 184, 0.35), inset -2px -2px 4px rgba(0,0,0,0.5);
    pointer-events: none;
    z-index: 1;
    will-change: transform, border-radius;
    animation: blobWobble 5s ease-in-out infinite alternate;
}

.mercury-particle {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #94a3b8 60%, #475569 100%);
    box-shadow: 0 0 4px rgba(255,255,255,0.4), inset -1px -1px 2px rgba(0,0,0,0.5);
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

@keyframes blobWobble {
    0% { border-radius: 42% 58% 50% 50% / 50% 42% 58% 50%; }
    50% { border-radius: 58% 42% 58% 42% / 42% 58% 42% 58%; }
    100% { border-radius: 48% 52% 45% 55% / 55% 48% 52% 45%; }
}

/* Background Mercury Pond Ripples */
.mercury-ripple {
    position: absolute;
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 75%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    z-index: 0;
    will-change: transform, opacity;
    animation: rippleEffect 2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
        border-color: rgba(56, 189, 248, 0.5);
        box-shadow: 0 0 8px rgba(56, 189, 248, 0.2), inset 0 0 8px rgba(56, 189, 248, 0.1);
    }
    50% {
        border-color: rgba(148, 163, 184, 0.3);
        box-shadow: 0 0 15px rgba(148, 163, 184, 0.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(calc(var(--ripple-scale, 1) * 3));
        opacity: 0;
        border-color: rgba(148, 163, 184, 0);
    }
}

/* Anime Thought Bubble Callout (Reveal me!) */
.thought-bubble {
    position: absolute;
    bottom: calc(50% + 1.8rem);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-cyan);
    color: var(--bg-tertiary);
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
    border: 1.5px solid var(--text-primary);
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.3s ease;
    animation: bubbleFloat 1.8s ease-in-out infinite alternate;
}

/* Tail circles for thought bubble */
.thought-bubble::after, .thought-bubble::before {
    content: '';
    position: absolute;
    background-color: var(--accent-cyan);
    border: 1.5px solid var(--text-primary);
    border-radius: 50%;
}
.thought-bubble::after {
    width: 6px;
    height: 6px;
    bottom: -6px;
    left: calc(50% - 3px);
}
.thought-bubble::before {
    width: 4px;
    height: 4px;
    bottom: -11px;
    left: calc(50% - 2px);
}

@keyframes bubbleFloat {
    0% { transform: translateX(-50%) translateY(0); }
    100% { transform: translateX(-50%) translateY(-5px); }
}

/* Bullet Strike Entrance Animations */
.bullet-strike-element {
    opacity: 0;
    will-change: transform, opacity, filter;
}

.bullet-strike-active {
    animation: bulletStrike 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes bulletStrike {
    0% {
        transform: scale(4.5) translateY(-30px);
        opacity: 0;
        filter: blur(12px) brightness(2);
    }
    70% {
        transform: scale(0.9) translateY(2px);
        opacity: 0.95;
        filter: blur(2px) brightness(1.2);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
        filter: blur(0) brightness(1);
    }
}

/* Screen Jitter shake on impact */
.screen-jitter {
    animation: screenJitter 0.18s ease-in-out;
}

@keyframes screenJitter {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-3px, 2px); }
    40% { transform: translate(3px, -2px); }
    60% { transform: translate(-2px, -1px); }
    80% { transform: translate(2px, 2px); }
    100% { transform: translate(0, 0); }
}
