:root {
    /* Light Mode (Default) */
    --bg-color: #f3f4f6;
    --bg-secondary: #ffffff;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --accent-color: #8b5cf6;
    --gradient-main: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --card-header-bg: #e0e7ff;
    /* Light Blue/Indigo for Header */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.6);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --border-radius: 16px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

[data-theme="dark"] {
    --bg-color: #0d0e12;
    --bg-secondary: #16181d;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --card-header-bg: #1e2533;
    /* Dark Blue/Gray for Header */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bg-darker {
    background-color: var(--bg-secondary);
}

/* Buttons & Nav */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
    background: transparent;
}

[data-theme="dark"] .btn-outline {
    border-color: var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-text {
    color: var(--text-secondary);
    background: transparent;
}

.btn-text:hover {
    color: var(--text-primary);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.navbar {
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(13, 14, 18, 0.8);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo .dot {
    color: var(--primary-color);
}

.nav-logo {
    height: 40px;
    width: auto;
    display: block;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-logo {
        height: 32px;
    }
}

.theme-switch {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-switch:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .theme-switch:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.centered-hero {
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}

.hero-container-centered {
    position: relative;
    z-index: 10;
}

#typewriter-title {
    min-height: 1.2em;
    display: inline-block;
}

#typewriter-title::after {
    content: '|';
    animation: blink 0.7s infinite;
    margin-left: 5px;
    color: var(--primary-color);
}

#typewriter-title.typing-complete::after {
    display: none;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.feature-pills {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pill {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.pill:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.glowing-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--primary-color);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    animation: pulse 5s infinite alternate;
}

[data-theme="dark"] .glowing-orb {
    opacity: 0.25;
}

/* Hero Card - V5 (Result Based & Two Tone) */
.glass-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.carousel-card-v5 {
    width: 380px;
    display: flex;
    flex-direction: column;
}

.card-header-v5 {
    background: var(--card-header-bg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .card-header-v5 {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.card-header-v5 i {
    font-size: 24px;
    color: var(--primary-color);
}

#carousel-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.card-body-v5 {
    padding: 24px;
    background: var(--glass-bg);
    flex: 1;
    backdrop-filter: blur(10px);
}

.carousel-visual-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-visual-content.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.benefit-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-weight: 500;
}

.visual-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

/* Result Box */
.result-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.result-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #059669;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 1rem;
    color: #059669;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Services Detail (Zig Zag) */
.section {
    padding: 100px 0;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section p {
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-text p {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-icon-wrapper.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.feature-icon-wrapper.email {
    background: rgba(234, 67, 53, 0.1);
    color: #ea4335;
}

.feature-checklist {
    list-style: none;
}

.feature-checklist li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.feature-checklist i {
    color: #10b981;
    margin-top: 4px;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* CSS Mockups */
.mockup-card {
    width: 380px;
    background: var(--bg-secondary);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.mockup-header {
    height: 40px;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 6px;
}

[data-theme="dark"] .mockup-header {
    background: rgba(255, 255, 255, 0.05);
}

.mockup-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.mockup-body {
    padding: 24px;
}

.mockup-search-bar {
    background: rgba(0, 0, 0, 0.05);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    gap: 8px;
    align-items: center;
}

.mockup-profile-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
}

.lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.line {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    width: 100%;
}

.line.short {
    width: 60%;
}

.btn-xs {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    opacity: 0.8;
}

/* Email/Phone Mockups */
.email-chart {
    height: 100px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.bar {
    flex: 1;
    background: #ddd;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.bar.active {
    background: var(--primary-color);
}

.mockup-phone {
    width: 260px;
    height: 450px;
    background: #111;
    border-radius: 30px;
    border: 8px solid #333;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.phone-screen {
    background: #f0f2f5;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 40px;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    max-width: 80%;
    line-height: 1.4;
}

.chat-bubble.left {
    background: white;
    color: #333;
    border-bottom-left-radius: 2px;
    align-self: flex-start;
}

.chat-bubble.right {
    background: #dcf8c6;
    color: #333;
    border-bottom-right-radius: 2px;
    align-self: flex-end;
}

.chat-options {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    justify-content: center;
}

.chat-options span {
    font-size: 0.75rem;
    padding: 6px 12px;
    background: white;
    border: 1px solid #ddd;
    color: var(--primary-color);
    border-radius: 12px;
}

/* Why Us - Enhanced Cards (V5) */
.benefits-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.benefit-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.benefit-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    position: relative;
    margin-bottom: 0px;
    max-width: 100%;
    top: auto;
    bottom: auto;
}

/* How It Works Steps (Small Updates) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step-card {
    padding: 40px;
    border-radius: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    font-size: 24px;
    margin-bottom: 24px;
}

/* Contact Form */
.glass-form {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
}

[data-theme="dark"] .glass-form {
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.floating-input,
.phone-number-input {
    width: 100%;
    padding: 16px 16px 6px;
    background: var(--bg-color);
    border: 1px solid transparent;
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    height: 56px;
}

[data-theme="dark"] .floating-input,
[data-theme="dark"] .phone-number-input {
    border-color: var(--glass-border);
}

.floating-input:focus {
    border-color: var(--primary-color);
    outline: none;
    background: var(--bg-secondary);
}

.floating-label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: 0.2s ease all;
    font-size: 1rem;
}

.floating-input:focus~.floating-label,
.floating-input:not(:placeholder-shown)~.floating-label {
    top: 6px;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

.phone-input-group {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
}

.country-select {
    height: 56px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: var(--bg-color);
    color: var(--text-primary);
    padding: 0 10px;
}

[data-theme="dark"] .country-select {
    border-color: var(--glass-border);
}

.static-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.form-feedback.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .footer {
    border-color: var(--glass-border);
}

/* Responsive */
@media (max-width: 900px) {
    .navbar .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        display: none;
    }

    .hero-container,
    .feature-row,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .feature-row {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    .hero {
        padding-top: 180px;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-bg-viz {
        height: 60vh;
    }

    .feature-pills {
        gap: 10px;
    }
}