/* =========================================================
   TECHUPDATES — MODERN DIGITAL ENGINEERING STUDIO
   Professional, Human-Crafted, Eye-Comfort Light Architecture
   ========================================================= */

:root {
    --bg-page: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-card: #ffffff;
    --bg-muted: #f1f5f9;
    
    --text-primary: #0f172a;       /* Slate 900 */
    --text-secondary: #334155;     /* Slate 700 */
    --text-muted: #64748b;         /* Slate 500 */
    
    --border-light: #e2e8f0;       /* Slate 200 */
    --border-hover: #cbd5e1;       /* Slate 300 */
    --border-focus: #2563eb;
    
    --primary: #0f172a;            /* Executive Obsidian */
    --primary-hover: #1e293b;
    --brand-blue: #2563eb;         /* Crisp Royal Blue */
    --brand-blue-hover: #1d4ed8;
    --brand-blue-subtle: #eff6ff;
    
    --whatsapp-color: #0f766e;
    --whatsapp-hover: #115e59;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.02);
    --shadow-lg: 0 16px 32px -6px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
    
    --container: 1180px;
}

/* =========================================================
   RESET & BASE STYLES
   ========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-page);
}

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

/* =========================================================
   CLEAN MINIMAL PRELOADER (Eye-Comfort, Top-Line Progress)
   ========================================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 10000;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader .preloader-bar {
    width: 0%;
    height: 100%;
    background: var(--brand-blue);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
    animation: preloader-advance 0.8s cubic-bezier(0.1, 0.5, 0.1, 1) forwards;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

@keyframes preloader-advance {
    0% { width: 0%; }
    40% { width: 65%; }
    80% { width: 85%; }
    100% { width: 100%; }
}

/* =========================================================
   CONTAINER & SECTION SYSTEM
   ========================================================= */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5.5rem 0;
}

.bg-subtle {
    background-color: var(--bg-subtle);
}

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

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.25s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: var(--container);
    margin: 0 auto;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.brand-badge {
    background: #f1f5f9;
    border: 1px solid var(--border-light);
    color: #475569;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 1.15rem;
    cursor: pointer;
}

/* =========================================================
   BUTTONS (Human, Refined, High-Contrast)
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.68rem 1.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    border: 1px solid transparent;
    line-height: 1.4;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--bg-subtle);
    border-color: #94a3b8;
}

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

.btn-blue:hover {
    background-color: var(--brand-blue-hover);
    border-color: var(--brand-blue-hover);
}

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

.btn-whatsapp:hover {
    background-color: #ecfdf5;
    border-color: #6ee7b7;
    color: var(--whatsapp-hover);
}

.btn-sm {
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.85rem 1.85rem;
    font-size: 1rem;
}

/* =========================================================
   HERO SECTION (Clean, Eye-Comfortable, Authoritative)
   ========================================================= */
.hero {
    padding: 5.5rem 0 4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border-light);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background-color: #f1f5f9;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 1.5rem;
}

.hero-pill .dot {
    width: 7px;
    height: 7px;
    background-color: #10b981;
    border-radius: 50%;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title .accent-text {
    color: var(--brand-blue);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 2.25rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* Hero Showcase Banner Image */
.hero-banner-wrap {
    max-width: 1020px;
    margin: 2.5rem auto 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.03);
    background-color: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-banner-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

/* Metrics & Trust Row (Clean, Symmetrical, No Clumsy Badges) */
.metrics-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
}

.metric-bullet {
    color: var(--brand-blue);
    font-weight: 700;
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =========================================================
   SERVICES GRID
   ========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
}

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

.service-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li .check-icon {
    color: var(--brand-blue);
    font-weight: 700;
}

/* =========================================================
   INTERACTIVE LIVE TEMPLATE SHOWCASE (Clean Browser Frame)
   ========================================================= */
.demo-showcase {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
}

.demo-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.template-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

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

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

.device-switcher {
    display: flex;
    align-items: center;
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 3px;
    gap: 3px;
}

.device-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.device-btn:hover { color: var(--text-primary); }

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

/* Light Browser Frame */
.browser-mockup {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 0 auto;
    transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    max-width: 100%;
}

.browser-header {
    background-color: #f8fafc;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dot.red { background-color: #f87171; }
.browser-dot.yellow { background-color: #fbbf24; }
.browser-dot.green { background-color: #34d399; }

.browser-url-bar {
    flex-grow: 1;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.browser-actions a {
    color: var(--brand-blue);
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 600;
}

.browser-actions a:hover {
    text-decoration: underline;
}

.demo-iframe-container {
    position: relative;
    width: 100%;
    height: 560px;
    background-color: #ffffff;
}

.demo-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* =========================================================
   PRICING TABLES (Eye-Comfort, Transparent, Structured)
   ========================================================= */
.pricing-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.75rem;
}

.currency-toggle {
    display: inline-flex;
    background-color: #f1f5f9;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 3px;
}

.currency-btn {
    background: none;
    border: none;
    padding: 0.4rem 1.15rem;
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.86rem;
    cursor: pointer;
    transition: all 0.15s;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.pricing-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pricing-card.featured {
    border-color: var(--brand-blue);
    border-width: 2px;
    box-shadow: var(--shadow-md);
}

.popular-badge {
    position: absolute;
    top: -11px;
    right: 20px;
    background-color: var(--brand-blue);
    color: #ffffff;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    min-height: 42px;
}

.plan-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.price-currency {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.plan-specs {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.plan-specs li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.plan-specs li .check {
    color: var(--brand-blue);
    font-weight: 700;
}

/* Managed Hosting Banner */
.hosting-banner {
    margin-top: 3rem;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem 2.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.hosting-info h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.hosting-info p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* =========================================================
   STORE & READY-MADE TEMPLATES
   ========================================================= */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.store-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, border-color 0.15s;
    display: flex;
    flex-direction: column;
}

.store-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.store-card-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    background-color: #f1f5f9;
}

.store-card-body {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.store-category {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-blue);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.store-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
}

.store-card p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    flex-grow: 1;
    line-height: 1.55;
}

.store-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-light);
}

.store-price {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

/* =========================================================
   CONTACT & INQUIRY FORM
   ========================================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

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

.direct-card {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, border-color 0.15s;
}

.direct-card:hover {
    transform: translateX(3px);
    border-color: var(--border-hover);
}

.direct-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.icon-whatsapp { background-color: #ecfdf5; color: #059669; }
.icon-phone { background-color: #eff6ff; color: #2563eb; }
.icon-email { background-color: #f8fafc; color: #475569; }

.form-box {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
}

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

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

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.form-control {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-control:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

textarea.form-control {
    resize: vertical;
    min-height: 95px;
}

.form-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
}

.form-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.85rem;
}

/* =========================================================
   FOOTER (Clean & Minimal)
   ========================================================= */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 0.65rem;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.15s;
}

.footer-col a:hover {
    color: var(--brand-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Toast Message */
#toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--primary);
    color: #ffffff;
    padding: 0.85rem 1.35rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    font-size: 0.88rem;
}

#toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* =========================================================
   STRICT MOBILE RESPONSIVE ENGINE (ZERO HORIZONTAL DRIFT)
   ========================================================= */
html {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

/* Ensure images and media never overflow parent */
img, svg, video, canvas, audio, iframe, embed, object {
    max-width: 100% !important;
    height: auto;
}

/* Prevent iOS Zoom on Input Focus */
input, select, textarea {
    font-size: 16px !important;
    max-width: 100% !important;
}

/* Completely hide any lingering bottom nav markup */
.mobile-bottom-nav {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .demo-iframe-container { height: 460px; }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 0 !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Fixed Clean Header: Logo on Left, Hamburger on Right ONLY */
    .navbar {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible;
    }

    .nav-container {
        padding: 0.85rem 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .brand-logo {
        font-size: 1.15rem;
        gap: 0.5rem;
        min-width: 0;
    }

    .brand-badge {
        font-size: 0.65rem;
        white-space: nowrap;
    }

    /* Hide the extra header buttons on mobile so header NEVER overflows */
    .nav-actions .btn {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: #f8fafc;
        border: 1px solid var(--border-light);
        border-radius: 8px;
        font-size: 1.3rem;
        cursor: pointer;
        color: var(--text-primary);
        flex-shrink: 0;
    }

    /* Clean Full-Width Dropdown Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100% !important;
        max-width: 100% !important;
        background: #ffffff;
        flex-direction: column;
        padding: 1.25rem 1rem !important;
        border-bottom: 2px solid var(--border-light);
        box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
        gap: 1rem;
        box-sizing: border-box !important;
        z-index: 999;
    }

    .nav-links.show {
        display: flex !important;
        animation: navSlideDown 0.2s ease forwards;
    }

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

    .nav-links a {
        font-size: 1.05rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f1f5f9;
        display: block;
        width: 100%;
        color: var(--text-primary);
    }

    /* All Grids Stack Naturally at 100% Width (ZERO OVERFLOW) */
    .services-grid, 
    .pricing-grid, 
    .store-grid,
    .dashboard-stats-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 1.25rem !important;
        overflow: visible !important;
    }

    .service-card, 
    .pricing-card, 
    .store-card,
    .stat-box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        flex: none !important;
        margin: 0 !important;
    }

    /* Demo Showcase on Mobile */
    .demo-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }

    .template-tabs {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.4rem !important;
        width: 100% !important;
    }

    .tab-btn {
        flex: 1 1 auto !important;
        text-align: center !important;
        padding: 0.45rem 0.65rem !important;
        font-size: 0.82rem !important;
    }

    .device-switcher {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .device-btn {
        flex: 1 !important;
        text-align: center !important;
        padding: 0.45rem 0.5rem !important;
        font-size: 0.8rem !important;
    }

    .browser-header {
        padding: 0.5rem 0.75rem !important;
        gap: 0.5rem !important;
    }

    .browser-url-bar {
        font-size: 0.72rem !important;
        padding: 0.2rem 0.5rem !important;
        min-width: 0 !important;
    }

    .demo-iframe-container {
        height: 480px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Hero & Content on Mobile */
    .hero {
        padding: 2.75rem 0 2rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-title {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
        letter-spacing: -0.5px !important;
    }

    .hero-subtitle {
        font-size: 0.98rem !important;
        padding: 0 !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100% !important;
        justify-content: center;
    }

    .hero-banner-wrap {
        margin: 1.5rem 0 1.75rem !important;
        border-radius: 10px;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Metrics Strip on Mobile */
    .metrics-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        padding-top: 1.5rem;
        width: 100%;
    }

    .metric-item {
        font-size: 0.88rem;
    }

    /* Form on Mobile */
    .form-box {
        padding: 1.25rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .form-control {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Direct Contact Cards */
    .direct-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Pricing Section Controls */
    .pricing-controls {
        margin-bottom: 1.75rem !important;
    }

    .pricing-card {
        padding: 1.5rem !important;
    }

    /* Footer on Mobile */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hosting-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem !important;
    }

    .hosting-banner .btn {
        width: 100%;
    }
}
