/* =====================================================
   AT DIGITAL LLC - Main Stylesheet v2.0
   Dark/Light Mode | Futuristic Design
   ===================================================== */

/* ===== CSS VARIABLES (DARK MODE - DEFAULT) ===== */
:root, [data-theme="dark"] {
    --bg-primary: #0a0a1a;
    --bg-secondary: #0f0f2a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-navbar: rgba(10, 10, 26, 0.9);
    --bg-footer: #050510;
    --bg-input: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    --gradient-card: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    --indigo: #6366f1;
    --violet: #8b5cf6;
    --pink: #ec4899;
    --green: #10b981;
    --blue: #3b82f6;
    --amber: #f59e0b;
    --red: #ef4444;
    --overlay: rgba(0, 0, 0, 0.5);
    --theme-color: #0a0a1a;
}

/* ===== LIGHT MODE ===== */
[data-theme="light"] {
    --bg-primary: #f8f9fc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(0, 0, 0, 0.02);
    --bg-card-hover: rgba(0, 0, 0, 0.05);
    --bg-navbar: rgba(255, 255, 255, 0.95);
    --bg-footer: #1a1a2e;
    --bg-input: rgba(0, 0, 0, 0.04);
    --text-primary: #1a1a2e;
    --text-secondary: rgba(26, 26, 46, 0.7);
    --text-muted: rgba(26, 26, 46, 0.5);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    --shadow-color: rgba(0, 0, 0, 0.08);
    --gradient-card: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.04));
    --overlay: rgba(255, 255, 255, 0.5);
    --theme-color: #f8f9fc;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* AOS Fallback */
body:not(.aos-ready) [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

a {
    color: var(--indigo);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--violet);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== SECTION ===== */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--indigo);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--indigo);
    background: var(--gradient-card);
    color: var(--indigo);
}

.btn-sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px var(--shadow-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: baseline;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    gap: 2px;
}

.logo-text {
    color: var(--text-primary);
}

.logo-dot {
    color: var(--indigo);
    font-size: 2rem;
}

.logo-sub {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 1rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--indigo);
    color: var(--indigo);
    background: var(--bg-card-hover);
}

.theme-icon-light,
.theme-icon-dark {
    position: absolute;
    transition: all 0.3s ease;
}

[data-theme="dark"] .theme-icon-light {
    opacity: 1;
    transform: rotate(0);
}

[data-theme="dark"] .theme-icon-dark {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="light"] .theme-icon-light {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="light"] .theme-icon-dark {
    opacity: 1;
    transform: rotate(0);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    text-decoration: none;
}

.nav-phone.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--indigo);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-illustration i {
    font-size: 8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

/* Floating elements */
.float-element {
    position: absolute;
    padding: 0.75rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    animation: floatY 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.float-element:nth-child(2) { top: 15%; right: -10%; animation-delay: 0.5s; }
.float-element:nth-child(3) { bottom: 25%; left: -15%; animation-delay: 1s; }
.float-element:nth-child(4) { bottom: 10%; right: 5%; animation-delay: 1.5s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--indigo);
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--indigo);
}

.service-card .service-link:hover {
    gap: 0.75rem;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--indigo);
    background: var(--gradient-card);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.35rem 1.25rem;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.pricing-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin: 1rem 0;
}

.pricing-price .currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--green);
    width: 16px;
}

/* ===== ABOUT / PROCESS ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--border-hover);
}

.testimonial-stars {
    color: var(--amber);
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-role {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--indigo);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.cta-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--indigo);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.contact-info-item i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--indigo);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-footer);
    padding: 4rem 0 0;
    margin-top: 4rem;
    color: #fff;
}

[data-theme="light"] .footer {
    color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer .logo-text {
    color: #fff;
}

.footer .logo-sub {
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--indigo);
    border-color: var(--indigo);
    color: #fff;
    transform: translateY(-2px);
}

.footer-links h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--indigo);
    padding-left: 5px;
}

.footer-contact h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #fff;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--indigo);
}

.footer-cta {
    margin-top: 1.5rem;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-badges .badge {
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: var(--indigo);
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 0.5rem 0;
    padding-bottom: env(safe-area-inset-bottom, 0.5rem);
}

.mobile-bottom-nav-list {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.mobile-bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.3s ease;
}

.mobile-bottom-nav-link i {
    font-size: 1.2rem;
}

.mobile-bottom-nav-link.active,
.mobile-bottom-nav-link:hover {
    color: var(--indigo);
}

.nav-cta .mobile-bottom-nav-link {
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    margin-top: -1.5rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.nav-cta .mobile-bottom-nav-link span {
    display: none;
}

/* Mobile Submenu */
.mobile-submenu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.mobile-submenu-overlay.active {
    display: block;
}

.mobile-submenu-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-radius: 20px 20px 0 0;
    padding: 1rem 1.5rem 2rem;
    z-index: 1002;
    transition: bottom 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-submenu-panel.active {
    bottom: 0;
}

.mobile-submenu-handle {
    width: 40px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 4px;
    margin: 0 auto 1.5rem;
}

.mobile-submenu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mobile-submenu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-submenu-item i { font-size: 1.25rem; color: var(--indigo); }

.mobile-submenu-item:hover {
    border-color: var(--indigo);
    color: var(--indigo);
}

.mobile-submenu-section-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    padding-left: 0.25rem;
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

.mobile-submenu-link i:first-child {
    color: var(--indigo);
    width: 20px;
    text-align: center;
}

.mobile-submenu-link .link-arrow {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 1rem 0;
    margin-top: 70px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb-list a {
    color: var(--text-secondary);
}

.breadcrumb-list a:hover {
    color: var(--indigo);
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-illustration { max-width: 350px; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .mobile-bottom-nav { display: block; }
    body { padding-bottom: 70px; }

    .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .services-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .stat-item { flex: 0 0 calc(50% - 0.5rem); }
    .mobile-submenu-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== LIGHT MODE - SPECIFIC OVERRIDES ===== */
[data-theme="light"] .hero-illustration {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.03));
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .navbar {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .service-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .process-step,
[data-theme="light"] .faq-item,
[data-theme="light"] .contact-info-card {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .service-card:hover,
[data-theme="light"] .pricing-card:hover,
[data-theme="light"] .process-step:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .mobile-submenu-panel {
    background: #fff;
}

[data-theme="light"] .mobile-submenu-item {
    background: #f8f9fc;
}

[data-theme="light"] #blob-container {
    opacity: 0.3;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: var(--indigo);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--violet);
}

/* ===== SELECTION ===== */
::selection {
    background: var(--indigo);
    color: #fff;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================
   COMPREHENSIVE LIGHT MODE TEXT FIX
   Force ALL text to dark in light mode
   ============================================ */

/* Force dark text color on all card containers */
[data-theme="light"] .service-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .blog-card,
[data-theme="light"] .portfolio-card,
[data-theme="light"] .process-step,
[data-theme="light"] .value-card,
[data-theme="light"] .stat-card,
[data-theme="light"] .about-card,
[data-theme="light"] .contact-info-card,
[data-theme="light"] .group-card,
[data-theme="light"] .faq-item {
    color: #1a1a2e;
}

/* Force dark text on ALL headings */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #1a1a2e !important;
}

/* Force dark text on general content elements */
[data-theme="light"] p,
[data-theme="light"] li,
[data-theme="light"] span,
[data-theme="light"] label,
[data-theme="light"] td,
[data-theme="light"] th,
[data-theme="light"] strong,
[data-theme="light"] em,
[data-theme="light"] small,
[data-theme="light"] blockquote {
    color: #1a1a2e;
}

/* Force dark on links */
[data-theme="light"] a {
    color: #4a4a5a;
}

[data-theme="light"] a:hover {
    color: var(--indigo);
}

/* Force dark on specific components */
[data-theme="light"] .section-title,
[data-theme="light"] .section-subtitle,
[data-theme="light"] .section-tag,
[data-theme="light"] .hero-title,
[data-theme="light"] .hero-subtitle,
[data-theme="light"] .hero-description,
[data-theme="light"] .hero-stat-number,
[data-theme="light"] .hero-stat-label,
[data-theme="light"] .service-card h3,
[data-theme="light"] .service-card p,
[data-theme="light"] .pricing-card h3,
[data-theme="light"] .pricing-price,
[data-theme="light"] .pricing-period,
[data-theme="light"] .pricing-desc,
[data-theme="light"] .pricing-feature,
[data-theme="light"] .pricing-features li,
[data-theme="light"] .testimonial-text,
[data-theme="light"] .testimonial-name,
[data-theme="light"] .testimonial-role,
[data-theme="light"] .testimonial-card p,
[data-theme="light"] .process-step h3,
[data-theme="light"] .process-step p,
[data-theme="light"] .faq-question,
[data-theme="light"] .faq-answer,
[data-theme="light"] .contact-info-card p,
[data-theme="light"] .contact-info-card a,
[data-theme="light"] .stat-number,
[data-theme="light"] .stat-label,
[data-theme="light"] .counter-number,
[data-theme="light"] .counter-label {
    color: #1a1a2e;
}

/* Secondary/muted text */
[data-theme="light"] .service-card p,
[data-theme="light"] .pricing-desc,
[data-theme="light"] .testimonial-text,
[data-theme="light"] .hero-description,
[data-theme="light"] .process-step p,
[data-theme="light"] .faq-answer,
[data-theme="light"] .contact-info-card p,
[data-theme="light"] .testimonial-role,
[data-theme="light"] .pricing-period,
[data-theme="light"] .section-subtitle {
    color: #4a4a5a;
}

/* Links with primary color */
[data-theme="light"] .contact-info-card a:hover,
[data-theme="light"] .pricing-features li i {
    color: var(--indigo);
}

/* Light mode - Navbar specific */
[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .logo-text {
    color: #1a1a2e;
}

[data-theme="light"] .logo-sub {
    color: #4a4a5a;
}

[data-theme="light"] .nav-link {
    color: #4a4a5a;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--indigo);
}

/* Light mode - Hero */
[data-theme="light"] .hero {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef0f5 50%, #f8f9fc 100%);
}

/* Light mode - Forms */
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
    color: #1a1a2e;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
    color: #9ca3af;
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
    border-color: var(--indigo);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Light mode - FAQ */
[data-theme="light"] .faq-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Light mode - Breadcrumb */
[data-theme="light"] .breadcrumb {
    background: rgba(255, 255, 255, 0.7);
}

/* Light mode - Page header */
[data-theme="light"] .page-header {
    background: linear-gradient(135deg, #eef0f5 0%, #f8f9fc 100%);
}

/* Light mode - CTA */
[data-theme="light"] .cta-section {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

/* Light mode - Mobile nav */
@media (max-width: 992px) {
    [data-theme="light"] .nav-menu {
        background: rgba(255, 255, 255, 0.98) !important;
        border-left: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    [data-theme="light"] .nav-link {
        color: #4a4a5a !important;
    }
    
    [data-theme="light"] .nav-link:hover,
    [data-theme="light"] .nav-link.active {
        color: var(--indigo) !important;
    }
    
    [data-theme="light"] .nav-list .nav-item {
        border-bottom-color: rgba(0, 0, 0, 0.06);
    }
    
    [data-theme="light"] .hamburger,
    [data-theme="light"] .hamburger::before,
    [data-theme="light"] .hamburger::after {
        background: #1a1a2e !important;
    }
}

/* Light mode - Mobile bottom nav */
[data-theme="light"] .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mobile-bottom-nav-link {
    color: #6b7280;
}

[data-theme="light"] .mobile-bottom-nav-link.active {
    color: var(--indigo);
}

[data-theme="light"] .mobile-submenu-panel {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mobile-submenu-item {
    background: #f3f4f6;
    color: #1a1a2e;
}

[data-theme="light"] .mobile-submenu-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--indigo);
}

[data-theme="light"] .mobile-submenu-link {
    color: #4a4a5a;
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mobile-submenu-section-title {
    color: #6b7280;
}

/* Light mode - Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f0f1f5;
}

/* Light mode - Selection */
[data-theme="light"] ::selection {
    background: rgba(99, 102, 241, 0.2);
    color: #1a1a2e;
}

/* KEEP WHITE - Elements on gradient/dark backgrounds */
[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-primary:hover,
[data-theme="light"] .nav-phone,
[data-theme="light"] .nav-phone span,
[data-theme="light"] .nav-phone i,
[data-theme="light"] .pricing-card.featured::before,
[data-theme="light"] .cta-section,
[data-theme="light"] .cta-section *,
[data-theme="light"] .whatsapp-float,
[data-theme="light"] .whatsapp-float i,
[data-theme="light"] .phone-float,
[data-theme="light"] .phone-float i {
    color: white !important;
}

/* KEEP - Footer stays on dark background */
[data-theme="light"] .footer,
[data-theme="light"] .footer p,
[data-theme="light"] .footer span,
[data-theme="light"] .footer li,
[data-theme="light"] .footer small,
[data-theme="light"] .footer strong {
    color: #e5e7eb;
}

[data-theme="light"] .footer h4,
[data-theme="light"] .footer h3 {
    color: #ffffff !important;
}

[data-theme="light"] .footer a {
    color: #d1d5db;
}

[data-theme="light"] .footer a:hover {
    color: var(--indigo);
}

[data-theme="light"] .footer .logo-text {
    color: #ffffff;
}

[data-theme="light"] .footer .logo-sub {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .footer-brand p {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .footer-badges .badge {
    color: #d1d5db;
}