/*
  styles.css

  This stylesheet provides responsive styles for the business landing page.
  It follows modern best practices by using CSS variables for colors, fluid
  typography with clamp(), flexbox layouts, and generous white space for
  readability. The hero section uses a background image (generated with the
  imagegen tool) to set the tone of the page. Colors and fonts can be
  customized by editing the variables defined under :root.
*/

:root {
    --primary: #E8272A;
    --primary-glow: rgba(232, 39, 42, 0.4);
    --secondary: #ff4d4d;
    --bg-dark: #0f172a;
    /* Deep Navy Slate */
    --bg-light: #f8fafc;
    /* Crisp Off-white */
    --bg-medium: #ffffff;
    --text-dark: #0f172a;
    /* Slate 900 for high readability */
    --text-light: #f8fafc;
    --muted: #64748b;
    /* Slate 500 */
    --border: #e2e8f0;
    --accent: #38bdf8;
    /* Soft blue accent, techy */
    /* Glassmorphism helpers */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.05);
}

/* Typography Scale */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', system-ui, sans-serif;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

.caption {
    font-size: 0.875rem;
    color: var(--muted);
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    scroll-behavior: smooth;
    /* Prevent horizontal scroll from banner */
    overflow-x: hidden;
}

.construction {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, #0b1224, #111827);
    color: var(--text-light);
    text-align: center;
}

.construction-card {
    max-width: 640px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}

.construction-kicker {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: #fca5a5;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.construction h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.construction-body {
    font-size: 1.1rem;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
}

.construction-contact {
    font-size: 1rem;
    color: #cbd5f5;
}

.construction-contact a {
    color: #f9fafb;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.construction-contact a:hover,
.construction-contact a:focus-visible {
    color: var(--secondary);
    border-color: var(--secondary);
}

/* Navigation bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    /* Adjust based on logo proportions */
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    /* We'll manage spacing using margin on list items for better cross-browser support */
    margin-left: 2rem;
    gap: 1.25rem;
}

.nav-links li+li {
    margin-left: 0.5rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--secondary);
}

.nav-links .nav-cta {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

/* Language selector */
.lang-selector {
    margin-left: 2rem;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
    gap: 0.25rem;
}

.lang-selector a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 0.1rem;
    font-weight: 700;
    transition: color 0.3s ease;
    cursor: pointer;
}

.lang-selector a.active {
    color: var(--primary);
}

.lang-selector a:hover,
.lang-selector a:focus-visible {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--text-light);
    padding: 0.35rem 0.65rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    cursor: pointer;
}

/* Hero section */
.hero {
    position: relative;
    min-height: auto;
    /* Reduced from 100vh to reduce empty space */
    color: var(--text-light);
    background-color: #0b1224;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 8rem 2rem 40px;
    /* Adjusted padding */
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    width: 100%;
    gap: 3rem;
    margin-top: 2rem;
    z-index: 2;
    padding: 0 2rem;
}

.hero-content {
    flex: 1;
    text-align: left;
    min-width: 420px;
    /* Protect text column from being crushed */
    max-width: 550px;
    flex-shrink: 0;
}

.hero-visual {
    flex: 1.5;
    /* 60/40 ratio — big animation, safe text */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    overflow: visible;
}

.hero::before {
    /* Grid Pattern */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 100%);
    pointer-events: none;
}

.hero::after {
    /* Color Glow */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 40%, rgba(203, 27, 14, 0.22) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero h1 {
    max-width: 800px;
    margin: 0 0 1.5rem;
    line-height: 1.3;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-kicker {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 768px) {
    .cta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* Hero SVG Animation */
.hero-scene {
    width: 100%;
    height: auto;
    min-height: 550px;
    max-height: 90vh;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

.building-base {
    fill: #1e293b;
    stroke: #334155;
    stroke-width: 2;
}

.building-window {
    fill: #334155;
    transition: fill 0.3s ease;
}

.building-window.active {
    fill: #60a5fa;
    filter: drop-shadow(0 0 5px rgba(96, 165, 250, 0.6));
    animation: windowPulse 3s infinite alternate;
}

.connection-line {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-dasharray: 10;
    opacity: 0.6;
    animation: dashMove 30s linear infinite;
}

.data-particle {
    fill: #fff;
    filter: drop-shadow(0 0 3px #fff);
    animation: flowData 4s infinite linear;
}

.floating-icon {
    animation: float 6s ease-in-out infinite;
}

.shield-icon {
    transform-box: fill-box;
    transform-origin: center;
    animation: pulse 3s infinite;
}

@keyframes windowPulse {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes movePerson {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

@keyframes dashMove {
    to {
        stroke-dashoffset: -1000;
    }
}

@keyframes flowData {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(239, 68, 68, 0));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.4));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(239, 68, 68, 0));
    }
}

/* Comparison Table Icons */
.icon-check,
.icon-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.icon-check::before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #22c55e;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
}

.icon-cross::before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #ef4444;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
}

.logos .logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logos .logo-item span {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    opacity: 0.8;
}

.logos img:hover {
    opacity: 1;
}

.cta-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.875rem 2.25rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px var(--primary-glow);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-btn.secondary-text {
    background: transparent !important;
    color: var(--text-light) !important;
    box-shadow: none !important;
    padding: 0 !important;
    text-decoration: none;
    font-weight: 500;
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: auto !important;
    margin-top: 1rem;
}

.cta-btn.secondary-text:hover {
    background: transparent !important;
    color: var(--secondary) !important;
    transform: translateX(5px);
    text-decoration: underline;
    box-shadow: none !important;
}

.cta-btn:hover,
.cta-btn:focus-visible {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 15px 35px var(--primary-glow);
    color: white;
}

section {
    padding: 4rem 2rem;
    position: relative;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

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

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

.section-subtitle {
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
    text-align: center;
    line-height: 1.7;
    color: var(--muted);
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    flex: 0 1 340px;
    background: var(--glass-bg);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    border-color: rgba(232, 39, 42, 0.2);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: var(--glass-shadow);
}

.step-card {
    background: var(--glass-bg);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--glass-shadow);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(203, 27, 14, 0.1);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 5px 15px rgba(203, 27, 14, 0.4);
}

.step-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Feature Grid Layout */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* How It Works - Force Horizontal 3 columns */
#how-it-works .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    #how-it-works .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.feature {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: left;
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
}

.feature .icon {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-link {
    margin-top: auto;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.service-link:hover {
    gap: 0.75rem;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature.project-card {
    position: relative;
    padding-top: 3.5rem;
}

.project-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(203, 27, 14, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.project-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem;
}

.badge-quant {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
    background: #f3f4f6;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.project-cta {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.project-cta:hover {
    transform: translateX(5px);
}

.service-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.service-link:hover {
    transform: translateX(5px);
}

/* About section */
.about {
    background-color: var(--bg-light);
    color: var(--text-dark);
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--muted);
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.about-card {
    background-color: var(--bg-medium);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.about-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-icon {
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    line-height: 1;
    color: var(--primary);
}

.about-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-card ul {
    list-style: disc;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    line-height: 1.6;
    color: var(--muted);
}

.about-card li {
    margin-left: 0.25rem;
}

.about-conclusion {
    margin-top: 3rem;
    font-weight: 500;
}

/* Founders Section */
.founders-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem auto;
    max-width: 900px;
    flex-wrap: wrap;
}

.founder-card {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.founder-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-bio {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

/* CTA band */
.cta-band {
    background: linear-gradient(120deg, #0b1224, #111827);
    color: var(--text-light);
    padding: 3.5rem 2rem;
}

.cta-band-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-band-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #cbd5e1;
    display: block;
    margin-bottom: 0.5rem;
}

.cta-band h2 {
    color: var(--text-light);
    text-align: left;
    margin: 0;
}

.cta-band p {
    color: #e5e7eb;
    max-width: 640px;
    line-height: 1.7;
}

#cta_band_body:empty {
    display: none;
}

/* Contact section */
.contact {
    background-color: var(--bg-light);
    text-align: center;
}

.contact form {
    margin: 0 auto;
    max-width: 650px;
    /* Increased slightly for rows */
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
    background: var(--bg-medium);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.form-row .form-field {
    flex: 1;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 1.25rem;
    }
}

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

.contact label {
    font-weight: 600;
    color: var(--text-dark);
}

.contact input,
.contact select,
.contact textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fff;
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact input:focus,
.contact select:focus,
.contact textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(203, 27, 14, 0.1);
}

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

.contact button {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 0.5rem;
}

.contact button:hover,
.contact button:focus-visible {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

.contact button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-trust {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: var(--muted);
}

.form-feedback {
    min-height: 1.4rem;
    font-weight: 600;
}

.contact-note,
.contact-privacy {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.contact-privacy a {
    color: var(--text-dark);
    font-weight: 700;
}

.contact-privacy a:hover,
.contact-privacy a:focus-visible {
    color: var(--primary);
}

/* Remove body copy link styling */
.feature p a,
.about-card p a,
.about-card li a {
    color: inherit;
    text-decoration: none;
    pointer-events: none;
    /* Disable if not intended as real links */
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1f2937;
    color: #ffffff;
    padding: 1rem 2rem;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    font-size: 0.9rem;
    max-width: 800px;
}

.cookie-content a {
    color: #fca5a5;
    text-decoration: underline;
}

.cookie-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: var(--secondary);
}

/* Legal pages */
.legal-page {
    padding: 7rem 1.5rem 4rem;
    background: var(--bg-light);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.legal-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.legal-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.legal-content {
    background: var(--bg-medium);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

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

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-dark);
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: var(--text-light);
    padding: 3rem 1.5rem;
    font-size: 0.95rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    align-items: start;
}

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

.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #fff;
}

.footer-company ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-company li,
#footer_details {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.lang-block,
[data-lang-block] {
    display: none;
}

.lang-block[data-lang-block="en"],
[data-lang-block="en"] {
    display: block;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.3s, transform 0.2s;
    z-index: 40;
}

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

.back-to-top:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        border-radius: 0 0 0.75rem 0.75rem;
        min-width: 250px;
        gap: 1.25rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .nav-links.show {
        display: flex;
    }

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

    .lang-selector {
        margin-left: 1rem;
    }

    .feature,
    .about-card {
        width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3.2rem);
    }

    .hero-content p {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }

    .cta-band-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        text-align: center;
    }
}

/* Reviews Section */
.reviews {
    padding: 6rem 2rem;
    background-color: var(--white);
    text-align: center;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.review-card {
    background-color: var(--bg-medium);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: left;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.review-header {
    margin-bottom: 1.5rem;
}

.review-author h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.review-author span {
    color: var(--muted);
    font-size: 0.9rem;
}

.review-card p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.reviews-cta-container {
    margin-top: 4rem;
}

/* Pricing Section */
.pricing {
    background-color: var(--bg-medium);
}

/* Pricing Segmentation */
.pricing-segmentation {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.segment-option {
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    width: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.segment-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.segment-option.active {
    background-color: var(--bg-light);
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}

.segment-option h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.segment-option.active h3 {
    color: var(--primary);
}

.segment-option p {
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0;
}

/* Pricing Footer */
.pricing-footer {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.pricing-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 9999px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

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

.pricing-tab:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(203, 27, 14, 0.2);
    z-index: 10;
}

.pricing-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 6px rgba(203, 27, 14, 0.2);
}

.pricing-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.pricing-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

.pricing-grid.hidden {
    display: none;
}

.pricing-card {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.recommended {
    border: 2px solid var(--primary);
    transform: scale(1.03);
    z-index: 1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.pricing-card.recommended:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.project-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    /* Round 35: Force consistent height for alignment */
    min-height: 160px;
    /* Adjusted to fit the longest description */
    display: flex;
    flex-direction: column;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 1rem 0 0.5rem;
}

.pricing-card .target {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.reviews-cta-container {
    text-align: center;
    margin-top: 4rem;
}

#reviews_cta {
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

#reviews_cta::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    animation: ctaShimmer 4s infinite linear;
}

#reviews_cta:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(232, 39, 42, 0.4);
}

#reviews_cta:hover::after {
    animation-duration: 1.5s;
}

@keyframes ctaShimmer {
    0% {
        left: -150%;
    }

    30% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

@media (max-width: 768px) {
    .reviews {
        padding: 4rem 1.5rem;
    }

    .review-grid {
        gap: 1.5rem;
    }
}

.features-list {
    text-align: left;
    list-style: none;
    /* margin-top: auto; Removed to align list start positions */
    padding: 0;
    margin-top: 1.5rem;
}

.features-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    text-indent: -1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Feature List Bullets */
.features-list li {
    padding-left: 1.25rem;
    text-indent: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.features-list li::before {
    content: '';
    display: block;
    min-width: 6px;
    height: 6px;
    margin-top: 0.6em;
    border-radius: 50%;
    background-color: var(--primary);
}

/* Infrastructure Section */
.infra-section {
    max-width: 1100px;
    margin: 4rem auto 0;
}

.infra-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.infra-title .note {
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 400;
    margin-top: 0.25rem;
}

.infra-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.infra-card .focus {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* Infra Note Box */
.infra-note-box {
    margin-top: 2rem;
    background-color: #fffbeb;
    /* Light yellow background */
    border: 1px solid #fcd34d;
    color: #92400e;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Security Audit CTA */
/* Security Audit CTA */
.audit-section {
    background-color: #0f172a;
    width: 100%;
    /* Dark Navy Background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 6rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.audit-content {
    flex: 1;
    text-align: left;
}

.audit-content h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.audit-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.audit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.audit-list li {
    margin-bottom: 0.5rem;
    color: #e2e8f0;
    font-size: 1rem;
}

.audit-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(203, 27, 14, 0.2);
}

.audit-btn:hover {
    background: #b91c0e;
    /* Darker Red on hover */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(203, 27, 14, 0.3);
}

@media (max-width: 768px) {
    .audit-section {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

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

    .audit-btn {
        width: 100%;
        text-align: center;
    }
}

/* Disclaimer */
.pricing-disclaimer {
    text-align: center;
    margin-top: 3rem;
    color: var(--muted);
    font-size: 0.85rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-card.recommended {
        transform: none;
    }

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

/* Refinements from verification */
.pricing-card .price small {
    font-size: 0.4em;
    font-weight: 600;
    color: var(--muted);
    display: block;
    /* Force unit to new line */
    margin-top: 0.25rem;
    line-height: 1.2;
}

/* Web Development Tab Styles */
.web-plans {
    display: flex;
    justify-content: center;
}

.web-card {
    max-width: 500px;
    width: 100%;
    border-top: 4px solid var(--primary);
}

/* Sticky Audit Notification (Toast style) */
.sticky-audit {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 400px;
    background: white;
    color: var(--text-dark);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    border-left: 5px solid var(--primary);
    transform: translateX(120%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.sticky-audit.visible {
    transform: translateX(0);
}

.sticky-audit-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.popup-form {
    display: flex;
    gap: 0.5rem;
}

.popup-form input {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.85rem;
    flex: 1;
}

.urgency-text {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    margin: 0;
}

.sticky-audit-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.sticky-audit-btn {
    background-color: var(--primary);
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.sticky-audit-btn:hover {
    background-color: var(--secondary);
}

.sticky-audit-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--muted);
}

.sticky-audit-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .sticky-audit {
        padding: 1rem;
    }

    .sticky-audit-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .sticky-audit-btn {
        width: 100%;
        text-align: center;
    }
}

.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

/* Secondary Filled Button */
.cta-btn.secondary-filled {
    background-color: #f3f4f6;
    color: var(--text-dark);
    border: 1px solid #e5e7eb;
}

.cta-btn.secondary-filled:hover {
    background-color: #e5e7eb;
    transform: translateY(-2px);
    color: var(--text-dark);
}

/* Hero Social Proof */
.hero-social-proof {
    margin-top: 4rem;
    text-align: center;
}

.hero-social-proof p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.hero-social-proof .logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-social-proof img {
    height: 24px;
    width: auto;
    opacity: 0.7;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.hero-social-proof img:hover {
    opacity: 1;
}

/* Pricing Card Buttons - Full Width & Solid */
.pricing-card .cta-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Trust Strip (About Section) */
.trust-strip {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.fallback-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin: 0;
    display: inline-block;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--primary);
}

.trust-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.trust-item h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-mute);
    /* Use text-mute or text-light based on var availability, usually text-muted/gray */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    /* Safe fallback */
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.sticky-cta {
    flex: 1;
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}

.sticky-cta.tel {
    background: var(--primary);
    color: #fff !important;
}

.sticky-cta.mail {
    background: #fff;
    color: var(--text-dark) !important;
}

@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: flex;
    }

    footer {
        padding-bottom: 5rem !important;
    }
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-social a:hover {
    color: #fff;
}

/* Pricing Table Styles */
.pricing-table-container {
    display: none;
    width: 100%;
    max-width: 1000px;
    margin: 3rem auto;
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-table-container.active {
    display: block;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.pricing-table th {
    padding: 1.25rem 1rem;
    background: #f9fafb;
    font-weight: 700;
    color: var(--text-dark);
    border-bottom: 2px solid #eee;
}

.pricing-table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    color: var(--text-dark);
}

.pricing-table tr:hover {
    background: #fffafa;
}

.pricing-table td:nth-child(n+2) {
    text-align: center;
    font-size: 1.1rem;
}

/* Custom Fallback Logo */
.fallback-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 1.1rem;
}

/* Sticky Audit Popup */
.sticky-audit {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0f172a;
    /* Dark Navy for contrast */
    color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    width: 320px;
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(56, 189, 248, 0.2);
    /* Subtle blue border */
}

.sticky-audit.visible {
    transform: translateY(0);
}

.sticky-audit-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sticky-audit-text {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
    color: #38bdf8;
    /* Light Blue */
}

.urgency-text {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

#countdown {
    color: #fb7185;
    /* Rose 400 */
    font-weight: 700;
    font-family: monospace;
    font-size: 1rem;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.popup-form input {
    padding: 0.6rem;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #1e293b;
    color: #fff;
    font-size: 0.9rem;
}

.popup-form input::placeholder {
    color: #94a3b8;
}

.sticky-audit-btn {
    background: #e11d48;
    /* Rose 600 */
    color: white;
    border: none;
    padding: 0.7rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.sticky-audit-btn:hover {
    background: #be123c;
    /* Rose 700 */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.sticky-audit-close {
    position: absolute;
    top: -1.25rem;
    right: -1rem;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    transition: color 0.2s;
}

.sticky-audit-close:hover {
    color: #fff;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0f172a;
    padding: 1rem;
    z-index: 9998;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.sticky-cta {
    flex: 1;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 8px;
    margin: 0 0.5rem;
}

.sticky-cta.tel {
    background: #2563eb;
    /* Blue */
}

.sticky-cta.mail {
    background: #e11d48;
    /* Red */
}

@media (max-width: 600px) {
    .sticky-audit {
        display: none !important;
        /* Hide popup on mobile to prefer sticky bar */
    }

    .mobile-sticky-bar {
        display: flex;
    }

    .cookie-banner {
        bottom: 70px !important;
        /* Raised to clear the sticky bar */
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 12px;
}

.whatsapp-btn svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 80px;
        /* Above sticky bar */
        left: 20px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .whatsapp-btn {
        width: 48px;
        height: 48px;
        bottom: 70px;
        left: 15px;
        padding: 10px;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        margin: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    .nav-links .nav-cta {
        display: inline-block;
        width: auto;
        margin: 1rem auto;
    }

    .lang-selector {
        display: none;
        /* Hide in nav, maybe add to menu if needed, or keep external */
    }
}

/* Round 15 Delta Patch: Stats Strip Redesign */
.stats-strip {
    display: flex;
    justify-content: center;
    gap: 3rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stats-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stats-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    font-weight: 600;
}

/* Round 15 Delta Patch: Pricing Comparison */
.pricing-comparison-wrapper {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 4rem;
    /* Generous spacing to prevent collision */
    position: relative;
    z-index: 5;
}

/* Round 18: Projects Section */
.projects {
    padding: 6rem 1.5rem;
    background-color: var(--bg-medium);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 3rem auto 0;
    align-items: stretch;
}

.project-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.project-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Section Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    /* Increased from 4rem for separation */
    align-items: center;
    max-width: 1400px;
    /* Increased from 1200px */
    margin: 0 auto;
    text-align: left;
}

.about-story-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ensure paragraph text is left-aligned in grid */
.about-story-col p.about-story-text {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    /* Darker for better contrast */
    /* Ensure readability */
    line-height: 1.8;
    font-weight: 400;
}

.about-value-col {
    background: var(--bg-medium);
    padding: 3rem;
    border-radius: 1.5rem;
    border-left: 5px solid var(--primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    text-align: left;
    /* Explicit text alignment */
}

/* Value Prop Title */
.about-value-col h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-align: left;
}

/* Value Prop Description */
.about-value-col p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
    opacity: 0.9;
    text-align: left;
}

/* Stats alignment in grid context */
.stats-strip.aligned-left {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 0;
}

.stats-item {
    text-align: left;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-story-col p.about-story-text {
        text-align: center;
    }

    .stats-strip.aligned-left {
        justify-content: center;
    }

    .about-value-col {
        padding: 2rem;
        text-align: center;
    }

    .about-value-col h3,
    .about-value-col p {
        text-align: center;
    }

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

.project-result {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================================
   MOBILE & TABLET RESPONSIVE OPTIMIZATION
   ============================================================ */

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
        max-width: 100%;
    }

    .hero-content {
        min-width: 350px;
        max-width: 480px;
    }

    .hero-visual {
        flex: 1.2;
    }

    .hero-scene {
        min-height: 400px;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

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

    section h2 {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
    }
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {

    /* Hero: stack vertical, SVG below text */
    .hero {
        padding: 6rem 1.25rem 2rem;
        min-height: auto;
    }

    .hero-container {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        min-width: unset;
        max-width: 100%;
        text-align: center;
        order: 1;
    }

    .hero-visual {
        width: 100%;
        justify-content: center;
        order: 2;
    }

    .hero-scene {
        min-height: 280px;
        max-height: 350px;
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        max-width: 100%;
    }

    .hero p {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero-kicker {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
    }

    /* CTA buttons centered on mobile */
    .cta-group {
        align-items: center;
        justify-content: center;
    }

    .cta-btn.primary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Section headings */
    section h2 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        line-height: 1.3;
    }

    /* About section */
    .about {
        padding: 3rem 1.25rem;
    }

    .about-story-col p.about-story-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Services / Features */
    .services {
        padding: 3rem 1.25rem;
    }

    .feature {
        padding: 1.5rem;
    }

    /* Projects */
    .projects {
        padding: 3rem 1.25rem;
    }

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

    /* Reviews */
    .review-card {
        padding: 1.5rem;
    }

    /* Pricing */
    .pricing {
        padding: 3rem 1.25rem;
    }

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

    /* Contact */
    .contact {
        padding: 3rem 1.25rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* WhatsApp button: above sticky CTA bar */
    .whatsapp-float,
    .whatsapp-btn {
        bottom: 7rem;
        z-index: 10001;
    }

    /* Cookie banner spacing */
    .cookie-banner {
        bottom: 4rem;
    }
}

/* --- Small Mobile (≤480px) --- */
@media (max-width: 480px) {
    .hero {
        padding: 5rem 1rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .hero p {
        font-size: 0.875rem;
    }

    .hero-scene {
        min-height: 220px;
        max-height: 280px;
    }

    section h2 {
        font-size: 1.3rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .feature {
        padding: 1.25rem;
    }

    .about-value-col {
        padding: 1.5rem;
    }

    .stats-strip.aligned-left {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-btn.secondary-text {
        font-size: 0.85rem;
    }
}