/* Color Palette (Light Mode Default) */
:root {
    --primary-blue: #3B82F6;
    --primary-blue-hover: #2563EB;
    --bg-dark: #FFFFFF;
    --bg-darker: #F9FAFB;
    --bg-darkest: #F3F4F6;
    --bg-card: #FFFFFF;
    --text-white: #111827;
    --text-muted: #4B5563;
    --border-subtle: rgba(0, 0, 0, 0.1);
    --glow-blue: rgba(59, 130, 246, 0.15);
}

/* Dark Mode Theme overrides */
[data-theme="dark"] {
    --bg-dark: #050505;
    --bg-darker: #0A0A0A;
    --bg-darkest: #111111;
    --bg-card: #0A0A0A;
    --text-white: #FFFFFF;
    --text-muted: #888888;
    --border-subtle: #222222;
    --glow-blue: rgba(59, 130, 246, 0.2);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Typography Utilities */
.text-blue { color: var(--primary-blue); }
.text-white { color: var(--text-white); }

/* Buttons */
.cta-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background-color: var(--primary-blue);
    color: #ffffff;
    border: 1px solid var(--primary-blue);
    box-shadow: 0 0 15px var(--glow-blue);
}

.cta-btn.primary:hover {
    background-color: var(--primary-blue-hover);
    box-shadow: 0 0 25px var(--glow-blue);
    transform: translateY(-2px);
}

.cta-btn.ghost {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--text-white);
}

.cta-btn.ghost:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}
[data-theme="dark"] .cta-btn.ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cta-btn.lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.cta-btn.linear-btn {
    border-radius: 50px;
    padding: 14px 36px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

/* 1. Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .navbar {
    background-color: rgba(5, 5, 5, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.3px;
    white-space: nowrap;
}

[data-theme="dark"] .logo {
    color: #ffffff;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--text-white);
    background-color: rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .nav-links a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Custom button overrides inside the header to match production design */
.navbar .cta-btn {
    border-radius: 6px !important;
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.theme-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.theme-toggle-btn:hover {
    background-color: var(--border-subtle);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
}

/* 2. Hero Section */
.hero {
    position: relative;
    padding: 180px 24px 100px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
    z-index: -2;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
    z-index: -1;
    filter: blur(50px);
}

.hero-content {
    max-width: 1200px;
    width: 100%;
}

.industry-tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--bg-card);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-white);
}

.hero h1 span {
    /* Kept for backwards compatibility if needed, but no longer blue */
}

.hero .sub-headline {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 3. Social Proof Metrics */
.metrics-section {
    background-color: var(--bg-darker);
    padding: 60px 24px;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.metrics-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.metric-card {
    text-align: center;
    padding: 24px;
}

.metric-card h3 {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.metric-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.metric-card.highlight h3 {
    color: var(--primary-blue);
}

/* Generic Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-white);
}

/* 4. Core Features */
.features-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 40px 32px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background-color: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    opacity: 0.5;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 5. Process Section */
.process-section {
    padding: 100px 24px;
    background-color: var(--bg-darker);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 24px;
    height: 100%; width: 2px;
    background-color: var(--primary-blue);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    width: 50px;
    height: 50px;
    background-color: var(--bg-card);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-blue);
    z-index: 2;
    flex-shrink: 0;
}

.timeline-content {
    margin-left: 32px;
    padding-top: 10px;
}

.timeline-content h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-muted);
}

/* 6. Promise & Guarantees */
.promise-section {
    padding: 100px 24px;
    background-color: var(--bg-dark);
}

.promise-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.industry-tag.small {
    background-color: #000;
    color: #00FF88;
    border-color: #00FF88;
    font-size: 0.75rem;
    padding: 6px 16px;
}

.promise-header h2 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 16px;
}

.promise-header h2 span {
    color: var(--primary-blue);
}

.promise-subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.promise-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.promise-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.promise-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.promise-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.satisfaction-banner {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--bg-darker);
    color: var(--text-white);
    padding: 40px 60px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border: 1px solid var(--border-subtle);
}

.satisfaction-banner .banner-icon {
    font-size: 3rem;
    color: var(--primary-blue);
}

.satisfaction-banner .banner-text {
    flex-grow: 1;
}

.satisfaction-banner .banner-text h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.satisfaction-banner .banner-text p {
    color: var(--text-muted);
}

.satisfaction-banner .cta-btn.primary {
    background-color: var(--primary-blue);
    color: #FFFFFF;
    border-color: var(--primary-blue);
}
.satisfaction-banner .cta-btn.primary:hover {
    background-color: var(--primary-blue-hover);
}

/* 7. Calculator Section - Light UI Redesign */
.calculator-section {
    padding: 100px 24px;
    background-color: var(--bg-darker);
}

.calc-header {
    text-align: center;
    margin-bottom: 40px;
}
.calc-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.calc-steps .step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 1px solid var(--border-subtle);
}
.calc-steps .step.active {
    background-color: var(--primary-blue);
    color: #FFF;
    border-color: var(--primary-blue);
    box-shadow: 0 0 10px rgba(45, 136, 212, 0.4);
}
.calc-steps .step-line {
    width: 40px;
    height: 2px;
    background-color: var(--border-subtle);
}
.calc-steps .step-line.active {
    background-color: var(--primary-blue);
}
.calc-light-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    color: var(--text-white);
    transition: transform 0.3s ease;
}
.calc-light-container:hover {
    border-color: rgba(45, 136, 212, 0.3);
}
.calc-stats-bar {
    text-align: center;
    margin-bottom: 40px;
}
.stats-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.stats-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.stat-box {
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 16px;
    background-color: var(--bg-darker);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.stat-box .stat-num {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: bold;
}
.stat-box .stat-label {
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.light-input-group {
    margin-bottom: 24px;
}
.light-input-group .input-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
.light-input-group .input-header label {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.light-input-group .input-header .val-text {
    color: var(--primary-blue);
    font-weight: bold;
    font-family: 'Outfit', sans-serif;
}
.light-input-group input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: #E5E7EB;
    height: 6px;
    border-radius: 3px;
    outline: none;
}
.light-input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FFF;
    border: 2px solid var(--primary-blue);
    cursor: pointer;
    box-shadow: 0 0 10px var(--glow-blue);
}

.calc-results-light {
    background-color: var(--bg-darker);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 24px;
    margin-top: 32px;
}
.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.result-row .highlight-blue {
    color: var(--primary-blue);
    font-weight: bold;
}
.result-row.negative {
    color: #ef4444;
}
.result-row.total {
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
    margin-top: 16px;
    margin-bottom: 0;
    font-size: 1.2rem;
    color: var(--text-white);
    font-weight: bold;
}
.result-row.total span:last-child {
    color: var(--primary-blue);
}

/* 8. Footer */
.footer {
    background-color: var(--bg-darkest);
    border-top: 1px solid var(--border-subtle);
    padding: 60px 24px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 85px;
}

.footer-subtext {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.links-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.links-col a:hover {
    color: var(--primary-blue);
}

.copy-col {
    text-align: right;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* About Section */
.about-section {
    padding: 100px 24px;
    background-color: var(--bg-dark);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 60px;
}

.about-image-card {
    flex: 0 0 400px;
    background-color: #E5E5E5;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-image-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.about-content .about-role {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Responsive */
/* 8. FAQs Section */
.faq-section {
    padding: 100px 24px;
    background-color: var(--bg-card);
}

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

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 16px;
    padding-bottom: 8px;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    padding: 16px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    display: none;
}

/* 9. Platforms Section */
.platforms-section {
    padding: 100px 24px;
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.platforms-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.platforms-header h2 {
    font-size: 2.5rem;
    color: var(--text-white);
}

.platforms-header h2 span {
    color: var(--primary-blue);
}

.platforms-subtext {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 16px;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 20px rgba(45, 136, 212, 0);
    transition: box-shadow 0.4s ease;
    z-index: 1;
}

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

.platform-card:hover::before {
    box-shadow: inset 0 0 40px rgba(45, 136, 212, 0.15);
}

.platform-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--text-muted);
    transition: color 0.4s ease, transform 0.4s ease, filter 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-card:hover .platform-icon {
    color: var(--primary-blue);
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--glow-blue));
}

.platform-card h3 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.platform-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .platforms-grid {
        grid-template-columns: 1fr;
    }
}

/* 9. Contact / Lead Form Section */
.contact-form-section {
    padding: 100px 24px;
    background-color: var(--bg-darkest);
    color: var(--text-white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-content h2 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--text-white);
}

.contact-content h2 span {
    color: var(--primary-blue);
}

.contact-content > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 400px;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
}

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

.check-icon {
    background-color: var(--glow-blue);
    color: var(--primary-blue);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.benefit-text h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

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

.reviews-badge .stars {
    color: var(--primary-blue);
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.reviews-badge p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.reviews-badge p strong {
    color: var(--text-white);
}

.contact-form-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 40px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-blue);
}

.form-tag {
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-tag .dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-blue);
    border-radius: 50%;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-wrap label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
    width: 100%;
    background-color: transparent;
    border: 1px solid var(--border-subtle);
    padding: 12px 16px;
    border-radius: 4px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.input-wrap select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%232D88D4%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 16px top 50%;
    background-size: 10px auto;
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.submit-btn {
    background-color: var(--primary-blue);
    color: #FFFFFF;
    border: none;
    padding: 16px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

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

/* Responsive updates */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Services Section */
.services-section {
    padding: 100px 24px;
    background-color: var(--bg-dark);
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.services-subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-darker);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-white);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.learn-more {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.service-card:hover .learn-more {
    color: var(--primary-blue);
}

    .metrics-grid, .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .calc-container {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .copy-col {
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
}

/* Mobile Navigation base styles (hidden on desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 0;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

.mobile-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    .metrics-grid, .features-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive Header & Drawer styling */
    .nav-container {
        padding: 6px 16px;
    }
    
    .logo {
        font-size: 1.15rem;
        gap: 8px;
    }
    
    .logo img {
        height: 38px;
    }

    .navbar .cta-btn {
        padding: 8px 14px !important;
        font-size: 0.85rem !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-dark);
        border-left: 1px solid var(--border-subtle);
        padding: 90px 24px 40px;
        gap: 20px;
        z-index: 99;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        align-items: flex-start;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        width: 100%;
        padding: 10px 12px;
        border-radius: 6px;
    }

    /* Responsive Dropdown under Services inside Mobile menu */
    .dropdown {
        width: 100%;
    }
    
    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: transparent;
        padding: 0;
        margin-top: 5px;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        display: none;
        width: 100%;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        max-height: 500px;
        visibility: visible;
        opacity: 1;
    }

    .dropdown-menu a {
        font-size: 0.95rem !important;
        padding: 8px 16px !important;
        margin: 2px 0 2px 12px !important;
    }
    
    .dropdown::after {
        display: none; /* No hover bridge needed on mobile */
    }

    .hero-ctas {
        flex-direction: column;
    }
    .about-container {
        flex-direction: column;
        gap: 30px;
    }
    .about-image-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }
}

/* Animations & Interactions */
.fade-up, .fade-down, .fade-left, .fade-right {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up { transform: translateY(30px); }
.fade-down { transform: translateY(-30px); }
.fade-left { transform: translateX(30px); } /* element comes from right, moving left */
.fade-right { transform: translateX(-30px); } /* element comes from left, moving right */

.fade-up.visible, .fade-down.visible, .fade-left.visible, .fade-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.theme-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
}

/* --- Enterprise Hover Effects --- */
/* Nav Links animated underline */
.nav-links a {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-blue);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Primary Button Glow/Shine */
.cta-btn.primary {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background-color 0.3s ease;
}
.cta-btn.primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    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) translateY(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}
.cta-btn.primary:hover::after {
    transform: rotate(30deg) translateY(100%);
}
.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 136, 212, 0.3);
}

/* Card Shine Sweep */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(45,136,212,0) 0%, rgba(45,136,212,0.15) 50%, rgba(45,136,212,0) 100%);
    transform: rotate(30deg) translateY(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: 10;
}

.service-card:hover::after {
    transform: rotate(30deg) translateY(100%);
}

/* --- Hero Load Animations --- */
.hero-content > * {
    opacity: 0;
    animation: fadeUpHero 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.hero-content .industry-tag { animation-delay: 0.1s; }
.hero-content h1 { animation-delay: 0.3s; }
.hero-content .sub-headline { animation-delay: 0.5s; }
.hero-content .hero-ctas { animation-delay: 0.7s; }

/* --- Advanced Intersection Observer Staggering --- */
.services-grid .service-card:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.25s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.3s; }

.features-grid .feature-card:nth-child(1) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.3s; }

.promise-grid .promise-card:nth-child(1) { transition-delay: 0.1s; }
.promise-grid .promise-card:nth-child(2) { transition-delay: 0.2s; }
.promise-grid .promise-card:nth-child(3) { transition-delay: 0.3s; }
.promise-grid .promise-card:nth-child(4) { transition-delay: 0.4s; }

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    background-color: var(--bg-card);
    min-width: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    margin-top: 12px;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

/* Hover bridge to keep dropdown open */
.dropdown::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.dropdown-menu a {
    display: block !important;
    color: var(--text-white) !important;
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-align: left;
    border-radius: 4px !important;
    margin: 2px 8px !important;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: var(--border-subtle) !important;
    color: var(--primary-blue) !important;
    transform: translateX(4px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* Footer Social Link Hover */
.social-link:hover {
    color: var(--primary-blue) !important;
    transform: translateY(-3px);
}

/* Responsive updates for Contact Two-Column grid */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}
