/* ===================================================================
   Autom84You - Main Stylesheet with Dual Theme System
   =================================================================== */

/* ===== BRAND CONSTANTS (same across themes) ===== */
:root {
    --brand-primary: #6366f1;
    --brand-secondary: #8b5cf6;
    --brand-accent: #ec4899;
    --brand-success: #10b981;
    --brand-danger: #ef4444;
    --brand-warning: #f59e0b;
    --brand-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --brand-gradient-video: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* ===== LIGHT THEME (Apple-inspired, clean) ===== */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-navbar: rgba(255, 255, 255, 0.95);
    --bg-navbar-scrolled: rgba(255, 255, 255, 0.98);
    --bg-footer: #1e293b;
    --bg-hero: var(--brand-gradient);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-on-dark: #ffffff;
    --text-on-brand: #ffffff;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
    --shadow-primary: 0 10px 30px rgba(99,102,241,0.2);
    --shadow-card-hover: 0 20px 60px rgba(99,102,241,0.15);
    --navbar-shadow: 0 2px 20px rgba(0,0,0,0.1);
    --scrollbar-track: #f1f5f9;
    --scrollbar-thumb: var(--brand-gradient);
    --input-bg: #ffffff;
    --input-border: #e2e8f0;
    --input-focus-border: var(--brand-primary);
    --modal-bg: #ffffff;
    --dropdown-bg: #ffffff;
    --glass-bg: transparent;
    --glass-border: transparent;
    --glass-blur: none;
    --nav-link-color: #1e293b;
    --navbar-collapse-bg: white;
    --alert-success-bg: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(52,211,153,0.1) 100%);
    --alert-info-bg: rgba(99,102,241,0.05);
    --table-stripe-bg: rgba(99,102,241,0.03);
    --section-alt-bg: #f8fafc;
}

/* ===== DARK THEME (SaaS/tech, frosted glass) ===== */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: rgba(30, 41, 59, 0.8);
    --bg-navbar: rgba(15, 23, 42, 0.9);
    --bg-navbar-scrolled: rgba(15, 23, 42, 0.95);
    --bg-footer: #0f172a;
    --bg-hero: var(--brand-gradient);
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-on-dark: #ffffff;
    --text-on-brand: #ffffff;
    --border-color: rgba(148, 163, 184, 0.15);
    --border-light: rgba(148, 163, 184, 0.08);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 10px 40px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
    --shadow-primary: 0 10px 30px rgba(99,102,241,0.3);
    --shadow-card-hover: 0 20px 60px rgba(99,102,241,0.25);
    --navbar-shadow: 0 2px 20px rgba(0,0,0,0.3);
    --scrollbar-track: #1e293b;
    --scrollbar-thumb: var(--brand-gradient);
    --input-bg: rgba(30, 41, 59, 0.6);
    --input-border: rgba(148, 163, 184, 0.2);
    --input-focus-border: var(--brand-primary);
    --modal-bg: #1e293b;
    --dropdown-bg: #1e293b;
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(148, 163, 184, 0.12);
    --glass-blur: blur(16px);
    --nav-link-color: #e2e8f0;
    --navbar-collapse-bg: #1e293b;
    --alert-success-bg: rgba(16,185,129,0.15);
    --alert-info-bg: rgba(99,102,241,0.15);
    --table-stripe-bg: rgba(255,255,255,0.03);
    --section-alt-bg: #1e293b;
}

/* ===== GLOBAL RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    min-width: 320px;
    transition: background 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container, .container-fluid {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--brand-gradient); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-secondary); }

/* ===== NAVBAR ===== */
.navbar {
    background: var(--bg-navbar);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: none;
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: var(--bg-navbar-scrolled);
    box-shadow: var(--navbar-shadow);
    border-bottom-color: var(--border-color);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    max-width: 100%;
    display: none;
}

[data-theme="dark"] .navbar-brand .logo-dark { display: block; }
[data-theme="dark"] .navbar-brand .logo-light { display: none; }
[data-theme="light"] .navbar-brand .logo-dark { display: none; }
[data-theme="light"] .navbar-brand .logo-light { display: block; }

.nav-link {
    font-weight: 500;
    color: var(--nav-link-color) !important;
    margin: 0 0.5rem;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--brand-primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--brand-gradient);
    transition: transform 0.3s;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active-link {
    color: var(--brand-primary) !important;
}

.nav-link.active-link::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 10px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    background: var(--dropdown-bg);
    border: 1px solid var(--border-color);
}

.dropdown-item {
    border-radius: 5px;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
    color: var(--text-primary);
}

.dropdown-item:hover {
    background: var(--brand-gradient);
    color: white !important;
}

.navbar-collapse {
    background: var(--navbar-collapse-bg);
}

[data-theme="dark"] .navbar-toggler-icon {
    filter: invert(1);
}

/* Sign Up Button in Navbar */
.btn-nav-signup {
    background: var(--brand-gradient);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    margin-left: 1rem;
    display: inline-block;
}

.btn-nav-signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99,102,241,0.3);
    color: white !important;
}

/* Login Button */
.btn-nav-login {
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color);
    padding: 0.4rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-nav-login:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary) !important;
    transform: translateY(-1px);
}

/* ===== THEME TOGGLE (iOS-style) ===== */
.theme-toggle {
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.theme-toggle-track {
    width: 52px;
    height: 28px;
    background: #e2e8f0;
    border-radius: 14px;
    position: relative;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.theme-toggle.dark .theme-toggle-track {
    background: #4338ca;
}

.theme-toggle-thumb {
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.theme-toggle.dark .theme-toggle-thumb {
    transform: translateX(24px);
}

.theme-icon-light,
.theme-icon-dark {
    font-size: 0.7rem;
    z-index: 1;
    transition: opacity 0.3s;
}

.theme-icon-light { color: #f59e0b; opacity: 1; }
.theme-icon-dark { color: #e2e8f0; opacity: 0.5; }

.theme-toggle.dark .theme-icon-light { opacity: 0.5; }
.theme-toggle.dark .theme-icon-dark { color: #fbbf24; opacity: 1; }

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: var(--brand-gradient);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 90px;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,154.7C672,160,768,192,864,197.3C960,203,1056,181,1152,154.7C1248,128,1344,96,1392,80L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') repeat;
    animation: wave 30s linear infinite;
    opacity: 0.2;
}

@keyframes wave {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-50%) translateY(-50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 15px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.02em;
}

.hero .lead {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Page Hero (for features.php, services.php) */
.page-hero {
    padding: 140px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
}

[data-theme="light"] .page-hero {
    background: var(--brand-gradient);
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(99,102,241,0.2);
    filter: blur(100px);
    top: -200px;
    right: -100px;
}

.page-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(236,72,153,0.12);
    filter: blur(100px);
    bottom: -150px;
    left: -100px;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.page-hero .hero-tagline {
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.page-hero p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    line-height: 1.7;
}

.page-hero .container {
    position: relative;
    z-index: 3;
}

.page-hero .btn-outline-light {
    border-radius: 8px;
    font-weight: 500;
    border-width: 1px;
}

/* Video Slider */
.video-slider-container {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
    padding: 0 15px;
}

.video-slider-wrapper {
    position: relative;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 1rem;
    overflow: hidden;
    width: 100%;
}

.video-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
}

.video-slide {
    flex: 0 0 100%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(0,0,0,0.5);
}

.video-slide video {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 0.5rem;
    z-index: 10;
}

.slider-btn {
    background: rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.slider-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-indicator.active {
    background: white;
    width: 25px;
    border-radius: 5px;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.6s both;
    justify-content: center;
}

.badge-hero {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 1rem);
    white-space: nowrap;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    animation: fadeInUp 0.8s ease 0.8s both;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    width: auto;
    min-width: 200px;
}

.btn-primary-hero {
    background: white;
    color: var(--brand-primary);
    border: none;
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: white;
    color: var(--brand-secondary);
}

.btn-outline-hero {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-hero:hover {
    background: white;
    color: var(--brand-primary);
    transform: translateY(-3px);
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    margin-bottom: 3rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ===== SERVICES PREVIEW (Landing Page) ===== */
.services-preview {
    padding: 80px 0;
    background: var(--bg-primary);
    width: 100%;
}

.service-preview-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .service-preview-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.service-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-preview-card:hover::before {
    opacity: 1;
}

.service-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.service-preview-icon {
    width: 60px;
    height: 60px;
    background: var(--brand-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: white;
}

.service-preview-icon.video {
    background: var(--brand-gradient-video);
}

.service-preview-icon.accent {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

.service-preview-icon.emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.service-preview-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.15rem;
}

.service-preview-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-preview-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.btn-read-more {
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-read-more:hover {
    color: var(--brand-secondary);
    gap: 0.75rem;
}

/* ===== AUTOMATION VALUE PROPOSITION ===== */
.automation-value {
    padding: 80px 0;
    background: var(--section-alt-bg);
    width: 100%;
}

.value-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    height: 100%;
}

[data-theme="dark"] .value-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.value-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== PRICING TEASER ===== */
.pricing-teaser {
    padding: 80px 0;
    background: var(--bg-primary);
    width: 100%;
}

.pricing-teaser-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

[data-theme="dark"] .pricing-teaser-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.pricing-teaser-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.pricing-teaser-card .price,
.pricing-teaser-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0;
}

.pricing-teaser-amount span {
    font-size: 1rem;
    font-weight: 600;
}

.pricing-teaser-card .price-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-teaser-card h4 {
    color: var(--text-primary);
    font-weight: 700;
}

.pricing-teaser-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.pricing-teaser-content {
    max-width: 100%;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 100px 0;
    background: var(--section-alt-bg);
    position: relative;
    width: 100%;
}

.feature-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .feature-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--brand-gradient);
}

.feature-card.video-feature::before {
    background: var(--brand-gradient-video);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--brand-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: white;
}

.feature-icon.video {
    background: var(--brand-gradient-video);
}

.feature-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-card .btn-outline-primary {
    border-radius: 20px;
    border-width: 2px;
    font-weight: 600;
    transition: all 0.3s;
}

.feature-card .btn-outline-primary:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-primary);
}

/* Service Tab Navigation */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.service-tab {
    padding: 0.75rem 2rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-primary);
}

.service-tab:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.service-tab.active {
    background: var(--brand-gradient);
    color: white;
    border-color: transparent;
}

.service-tab.active.video {
    background: var(--brand-gradient-video);
}

/* ===== SERVICES SHOWCASE ===== */
.services-showcase {
    padding: 100px 0;
    background: var(--bg-primary);
    width: 100%;
}

.service-showcase-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    height: 100%;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .service-showcase-card {
    border: 1px solid var(--glass-border);
}

.service-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.service-showcase-header {
    padding: 2rem;
    color: white;
}

.service-showcase-header.qr { background: var(--brand-gradient); }
.service-showcase-header.video { background: var(--brand-gradient-video); }

.service-showcase-body { padding: 2rem; }

.service-feature-list {
    list-style: none;
    padding: 0;
}

.service-feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.service-feature-list li:last-child { border-bottom: none; }
.service-feature-list i { color: var(--brand-success); margin-right: 0.5rem; }

/* ===== COMPARISON TABLE ===== */
.comparison-section {
    padding: 100px 0;
    background: var(--section-alt-bg);
    width: 100%;
}

.comparison-table {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 3rem;
    overflow-x: auto;
    border: 1px solid var(--border-color);
}

.comparison-table thead { background: var(--brand-gradient); color: white; }
.comparison-table th { padding: 1.5rem; font-weight: 700; white-space: nowrap; }
.comparison-table td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
    color: var(--text-primary);
}
.comparison-table .check { color: var(--brand-success); font-size: 1.5rem; }
.comparison-table .times { color: var(--brand-danger); font-size: 1.5rem; }

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 100px 0;
    background: var(--bg-primary);
    width: 100%;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.pricing-tab {
    padding: 0.75rem 2rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-primary);
}

.pricing-tab:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.pricing-tab.active { background: var(--brand-gradient); color: white; border-color: transparent; }

.pricing-content { display: none; }
.pricing-content.active { display: block; }

.pricing-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .pricing-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.pricing-card.featured {
    transform: scale(1.02);
    box-shadow: var(--shadow-primary);
    border-color: var(--brand-primary);
}

.pricing-card.featured::before {
    content: 'BEST VALUE';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-gradient);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-header { text-align: center; margin-bottom: 2rem; }

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-period { color: var(--text-muted); font-size: 1rem; }

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features i { color: var(--brand-success); margin-right: 0.5rem; }

/* Video Generator Pricing Card */
.video-pricing-card {
    background: linear-gradient(135deg, rgba(240,147,251,0.1) 0%, rgba(245,87,108,0.1) 100%);
    border: 2px solid var(--brand-accent);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(236,72,153,0.2);
    transition: all 0.3s;
    color: var(--text-primary);
}

.video-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(236,72,153,0.3);
}

/* ===== ADDITIONAL SERVICES ===== */
.services {
    padding: 100px 0;
    background: var(--section-alt-bg);
    width: 100%;
}

.service-item {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    margin-bottom: 1.5rem;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .service-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.service-item h5 { color: var(--text-primary); margin-bottom: 0.5rem; font-weight: 700; }
.service-price { color: var(--brand-primary); font-weight: 700; font-size: 1.2rem; }

/* ===== SERVICE DETAIL (services.php) ===== */
.service-detail {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.service-detail:nth-child(even) {
    background: var(--section-alt-bg);
}

.service-detail:last-of-type {
    border-bottom: none;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: var(--brand-gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.service-icon-large.video { background: var(--brand-gradient-video); }
.service-icon-large.accent { background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%); }
.service-icon-large.emerald { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }

.service-detail h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.service-tagline {
    color: var(--brand-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-highlights {
    list-style: none;
    padding: 0;
}

.service-highlights li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.service-highlights li i {
    color: var(--brand-success);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.service-pricing-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--brand-primary);
    text-align: center;
}

[data-theme="dark"] .service-pricing-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.service-pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.service-pricing-card .price-detail {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Services quick nav */
.services-nav {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 72px;
    z-index: 1020;
}

[data-theme="dark"] .services-nav {
    background: var(--bg-secondary);
}

.services-nav-links {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0 15px;
    list-style: none;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}

.services-nav-links li a {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s;
    display: block;
}

.services-nav-links li a:hover,
.services-nav-links li a.active {
    background: var(--brand-gradient);
    color: white;
}

/* Service Detail Page Styles */
.service-detail.alt-bg {
    background: var(--section-alt-bg);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: var(--brand-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.service-detail-icon.video {
    background: var(--brand-gradient-video);
}

.service-detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.service-detail-tagline {
    color: var(--brand-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.service-detail p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.service-detail-features {
    margin-top: 2rem;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

[data-theme="dark"] .service-feature-item {
    background: var(--glass-bg);
    border-color: var(--glass-border);
}

.service-feature-item:hover {
    transform: translateX(5px);
    border-color: var(--brand-primary);
}

.service-feature-item i {
    color: var(--brand-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.service-feature-item span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.service-detail-pricing-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--brand-primary);
    text-align: center;
    position: sticky;
    top: 100px;
}

[data-theme="dark"] .service-detail-pricing-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.service-detail-pricing-card h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service-pricing-options {
    margin-bottom: 1.5rem;
}

.service-price-option {
    padding: 1.25rem;
    border-radius: 12px;
    background: var(--bg-secondary);
    margin-bottom: 0.75rem;
    position: relative;
}

[data-theme="dark"] .service-price-option {
    background: rgba(255,255,255,0.05);
}

.service-price-option.featured {
    background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(139,92,246,0.1) 100%);
    border: 1px solid var(--brand-primary);
}

.service-price-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--brand-gradient);
    color: white;
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.service-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.service-price-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-price-option p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-price-perks {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1rem 0;
}

.service-price-perks li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-price-perks li i {
    color: var(--brand-success);
    margin-right: 0.5rem;
}

.dual-model-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.dual-model-list li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dual-model-list li i {
    color: rgba(255,255,255,0.8);
}

.dual-model-card.featured {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.4);
}

/* Dual Model Section */
.dual-model {
    padding: 80px 0;
    background: var(--brand-gradient);
    color: white;
}

.dual-model .section-title,
.dual-model .section-subtitle {
    color: white;
}

.dual-model .section-subtitle {
    opacity: 0.9;
}

.dual-model-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s;
}

.dual-model-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.dual-model-card h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.dual-model-card p { opacity: 0.9; line-height: 1.7; }

/* ===== PARALLAX ===== */
.parallax {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.parallax-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 100%;
}

/* ===== REVIEWS ===== */
.reviews {
    padding: 80px 0;
    background: var(--bg-primary);
    width: 100%;
}

.review-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .review-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.review-stars { color: #fbbf24; margin-bottom: 1rem; }

.review-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.reviewer { display: flex; align-items: center; gap: 1rem; }

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.reviewer-info h6 { margin: 0; color: var(--text-primary); font-weight: 700; }
.reviewer-info small { color: var(--text-muted); }

/* ===== ABOUT ===== */
.about {
    padding: 80px 0;
    background: var(--section-alt-bg);
    width: 100%;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 15px;
}

.about-content p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item { text-align: center; }

.stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-footer);
    color: white;
    padding: 50px 0 30px;
    width: 100%;
}

footer .text-muted {
    color: #94a3b8 !important;
}

footer h5 {
    color: white;
    font-weight: 700;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover { color: white; }

.social-links { display: flex; gap: 1rem; margin-top: 1rem; }

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--brand-gradient);
    transform: translateY(-3px);
}

/* ===== MODALS ===== */
.modal-content {
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--modal-bg);
    color: var(--text-primary);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.modal-header {
    background: var(--brand-gradient);
    color: white;
    border-radius: 16px 16px 0 0;
    border: none;
}

.modal-header .btn-close { filter: brightness(0) invert(1); }

.modal-body { background: var(--modal-bg); color: var(--text-primary); }
.modal-footer { background: var(--modal-bg); border-top: 1px solid var(--border-color); }

/* ===== LOADING ANIMATION ===== */
.loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s, visibility 0.4s;
}

.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-color);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }


/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: var(--brand-gradient);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-section .section-title,
.cta-section .section-subtitle {
    color: white;
}

/* ===== DARK THEME OVERRIDES FOR BOOTSTRAP ===== */
[data-theme="dark"] .text-muted { color: #a1afc4 !important; }
[data-theme="dark"] .text-dark { color: var(--text-primary) !important; }
[data-theme="dark"] .bg-light { background: var(--bg-tertiary) !important; }
[data-theme="dark"] .card { background: var(--bg-card); border-color: var(--border-color); color: var(--text-primary); }
[data-theme="dark"] .card-body { color: var(--text-primary); }
[data-theme="dark"] .card-title { color: var(--text-primary); }
[data-theme="dark"] .table { color: var(--text-primary); }
[data-theme="dark"] .table-hover tbody tr:hover { background: var(--table-stripe-bg); }
[data-theme="dark"] .form-control { background: var(--input-bg); border-color: var(--input-border); color: var(--text-primary); }
[data-theme="dark"] .form-control:focus { border-color: var(--input-focus-border); color: var(--text-primary); }
[data-theme="dark"] .form-label { color: var(--text-primary); }
[data-theme="dark"] .form-check-label { color: var(--text-primary); }
[data-theme="dark"] .alert { color: var(--text-primary); }
[data-theme="dark"] .alert-success { background: var(--alert-success-bg); border-color: var(--brand-success); }
[data-theme="dark"] .alert-info { background: var(--alert-info-bg); border-color: var(--brand-primary); }
[data-theme="dark"] .alert-warning { background: rgba(245,158,11,0.15); border-color: var(--brand-warning); }
[data-theme="dark"] .alert-danger { background: rgba(239,68,68,0.15); border-color: var(--brand-danger); }
[data-theme="dark"] .accordion-item { background: var(--bg-card); border-color: var(--border-color); }
[data-theme="dark"] .accordion-button { background: var(--bg-card); color: var(--text-primary); }
[data-theme="dark"] .accordion-button:not(.collapsed) { background: rgba(99,102,241,0.1); color: var(--brand-primary); }
[data-theme="dark"] .accordion-body { background: var(--bg-card); color: var(--text-secondary); }
[data-theme="dark"] .lead { color: var(--text-secondary); }
[data-theme="dark"] hr { border-color: var(--border-color); }
[data-theme="dark"] .btn-outline-primary { color: #a5b4fc; border-color: #a5b4fc; }
[data-theme="dark"] .btn-outline-primary:hover { background: #6366f1; border-color: #6366f1; color: white; }
[data-theme="dark"] .btn-primary { background: #6366f1; border-color: #6366f1; }
[data-theme="dark"] .btn-primary:hover { background: #4f46e5; border-color: #4f46e5; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar { padding: 0.75rem 0; }
    .navbar-brand { font-size: 1.2rem; }
    .navbar-toggler { border: none; padding: 0.25rem 0.5rem; }

    .navbar-collapse {
        padding: 1rem 0;
        margin-top: 1rem;
        border-radius: 10px;
        box-shadow: var(--shadow-md);
    }

    .hero { padding-top: 80px; padding-bottom: 20px; min-height: auto; }
    .hero h1 { font-size: 2rem; margin-top: 1rem; }
    .hero .lead { font-size: 1rem; padding: 0 1rem; }

    .video-slider-container { padding: 0; }
    .video-slider-wrapper { padding: 0.5rem; }
    .video-slide video { max-height: 250px; }
    .slider-btn { width: 35px; height: 35px; font-size: 1rem; }

    .hero-badges { justify-content: center; padding: 0 1rem; }
    .badge-hero { font-size: 0.8rem; padding: 0.4rem 0.8rem; }

    .hero-buttons { padding: 0 1rem; }
    .btn-hero { font-size: 0.9rem; padding: 0.8rem 1.5rem; min-width: auto; width: 100%; max-width: 300px; }

    .section-title { font-size: 1.8rem; padding: 0 1rem; }
    .section-subtitle { padding: 0 1rem; }

    .pricing-card.featured { transform: scale(1); }
    .parallax { background-attachment: scroll; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }

    .btn-nav-signup { margin-left: 0; margin-top: 0.5rem; display: block; text-align: center; }
    .btn-nav-login { margin-left: 0; margin-top: 0.5rem; display: block; text-align: center; }

    .service-item { padding: 1.5rem; }
    .service-item h5 { font-size: 1rem; }
    .service-price { font-size: 1rem; }

    footer { padding: 30px 0 20px; }

    .services-showcase, .features, .pricing, .services, .reviews, .about,
    .services-preview, .automation-value, .pricing-teaser { padding: 50px 0; }

    .comparison-table { overflow-x: auto; }
    .comparison-table table { min-width: 500px; }
    .comparison-section { padding: 60px 0; }
    .comparison-table { font-size: 0.9rem; }
    .comparison-table th, .comparison-table td { padding: 0.8rem; }

    .page-hero { padding: 120px 0 60px; }

    .service-detail { padding: 60px 0; }

    .services-nav { top: 60px; }
    .services-nav-links { gap: 0.25rem; }

    .dual-model-card { margin-bottom: 1rem; }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 1.8rem; }
    .btn-hero { font-size: 0.85rem; padding: 0.75rem 1.25rem; }
    .pricing-card { padding: 1.5rem; }
    .plan-price { font-size: 2rem; }
}

/* ===== UTILITIES ===== */
.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-video {
    background: var(--brand-gradient-video);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-section-alt { background: var(--section-alt-bg); }

/* =======================================================================
   HOMEPAGE V2 - Redesigned Landing Page
   ======================================================================= */

/* ===== HERO V2 ===== */
.hero-v2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

[data-theme="dark"] .hero-v2 {
    background: #0b1120;
}

[data-theme="light"] .hero-v2 {
    background: #f8fafc;
}

/* Animated background shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

[data-theme="dark"] .shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(102, 126, 234, 0.35);
    top: -150px;
    right: -100px;
    animation: heroFloat1 18s ease-in-out infinite;
}

[data-theme="dark"] .shape-2 {
    width: 450px;
    height: 450px;
    background: rgba(118, 75, 162, 0.3);
    bottom: -100px;
    left: -80px;
    animation: heroFloat2 22s ease-in-out infinite;
}

[data-theme="dark"] .shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(236, 72, 153, 0.2);
    top: 40%;
    left: 40%;
    animation: heroFloat3 20s ease-in-out infinite;
}

[data-theme="light"] .shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(102, 126, 234, 0.12);
    top: -150px;
    right: -100px;
    animation: heroFloat1 18s ease-in-out infinite;
}

[data-theme="light"] .shape-2 {
    width: 450px;
    height: 450px;
    background: rgba(118, 75, 162, 0.1);
    bottom: -100px;
    left: -80px;
    animation: heroFloat2 22s ease-in-out infinite;
}

[data-theme="light"] .shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(236, 72, 153, 0.08);
    top: 40%;
    left: 40%;
    animation: heroFloat3 20s ease-in-out infinite;
}

.hero-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 50%, rgba(99,102,241,0.08) 0%, transparent 70%);
}

[data-theme="dark"] .hero-glow {
    background: radial-gradient(ellipse at 50% 50%, rgba(99,102,241,0.15) 0%, transparent 70%);
}

@keyframes heroFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 40px) scale(1.05); }
    66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes heroFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.08); }
    66% { transform: translate(-20px, 30px) scale(0.92); }
}

@keyframes heroFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -40px) scale(1.1); }
}

/* Floating product cards */
.hero-floating-cards {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

[data-theme="dark"] .floating-card {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
}

[data-theme="light"] .floating-card {
    background: rgba(255,255,255,0.7);
    color: var(--text-primary);
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.floating-card i {
    color: var(--brand-primary);
    font-size: 1rem;
}

.fc-1 {
    top: 25%;
    left: 8%;
    animation: cardFloat1 8s ease-in-out infinite;
}

.fc-2 {
    top: 35%;
    right: 6%;
    animation: cardFloat2 9s ease-in-out infinite 1s;
}

.fc-3 {
    bottom: 25%;
    left: 12%;
    animation: cardFloat3 7s ease-in-out infinite 0.5s;
}

@keyframes cardFloat1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes cardFloat2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes cardFloat3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

/* Hero content */
.hero-v2-content {
    position: relative;
    z-index: 5;
    max-width: 720px;
    margin: 0 auto;
}

.hero-pill {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border: 1px solid rgba(99,102,241,0.3);
    color: var(--brand-primary);
    background: rgba(99,102,241,0.08);
}

[data-theme="dark"] .hero-pill {
    border-color: rgba(165,180,252,0.3);
    color: #a5b4fc;
    background: rgba(99,102,241,0.15);
}

.hero-v2-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .hero-v2-content h1 {
    color: white;
}

.text-rotate {
    display: inline-block;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.text-rotate.rotate-out {
    opacity: 0;
    transform: translateY(10px);
}

.hero-v2-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

[data-theme="dark"] .hero-v2-sub {
    color: #94a3b8;
}

.hero-v2-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Glow button */
.btn-glow {
    display: inline-block;
    padding: 14px 32px;
    background: var(--brand-gradient);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
    border: none;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99,102,241,0.45);
    color: white;
}

/* Ghost button */
.btn-ghost {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

[data-theme="dark"] .btn-ghost {
    border-color: rgba(148,163,184,0.25);
    color: #cbd5e1;
}

.btn-ghost:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    transform: translateY(-2px);
}

.btn-ghost-dark {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    border: 2px solid rgba(99,102,241,0.3);
    color: var(--brand-primary);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-ghost-dark:hover {
    border-color: var(--brand-primary);
    background: rgba(99,102,241,0.08);
    color: var(--brand-primary);
    transform: translateY(-2px);
}

/* ===== SECTION TYPOGRAPHY V2 ===== */
.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}

[data-theme="dark"] .section-eyebrow {
    color: #a5b4fc;
}

.section-headline {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ===== FOUNDER INTRO ===== */
.founder-intro {
    padding: 80px 0;
    background: var(--bg-primary);
}

.founder-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .founder-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: var(--glass-border);
}

.founder-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-gradient);
}

.founder-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

[data-theme="dark"] .founder-eyebrow {
    color: #a5b4fc;
}

.founder-headline {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.founder-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.founder-text strong {
    color: var(--text-primary);
}

/* Credentials */
.credentials-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    transition: all 0.3s;
}

[data-theme="dark"] .credential {
    background: rgba(255,255,255,0.04);
    border-color: var(--glass-border);
}

.credential:hover {
    border-color: var(--brand-primary);
    transform: translateX(4px);
}

.credential-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.credential-icon.cred-purple {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.credential-icon.cred-pink {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.credential-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 700;
}

.credential-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== TRANSFORMATION SECTION ===== */
.transformation {
    padding: 80px 0;
    background: var(--section-alt-bg);
}

.transform-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .transform-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--glass-border);
}

.transform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.transform-before {
    padding: 1.25rem;
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
}

[data-theme="dark"] .transform-before {
    background: rgba(255,255,255,0.04);
}

.transform-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.transform-label-after {
    color: var(--brand-success);
}

.transform-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0;
    color: var(--brand-primary);
    font-size: 1.2rem;
}

.transform-after {
    padding: 1.25rem;
    border-radius: 12px;
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.15);
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
    position: relative;
}

[data-theme="dark"] .transform-after {
    background: rgba(99,102,241,0.1);
    border-color: rgba(99,102,241,0.2);
}

.transform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1.25rem;
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.3s;
}

[data-theme="dark"] .transform-link {
    color: #a5b4fc;
}

.transform-link:hover {
    gap: 0.75rem;
    color: var(--brand-primary);
}

/* ===== HIGHLIGHTS SECTION ===== */
.highlights {
    padding: 80px 0;
    background: var(--bg-primary);
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.highlight-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .highlight-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--glass-border);
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.highlight-featured {
    grid-row: 1 / 3;
    border-color: var(--brand-primary);
}

[data-theme="dark"] .highlight-featured {
    border-color: rgba(99,102,241,0.4);
    background: rgba(99,102,241,0.08);
}

.highlight-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--brand-gradient);
    color: white;
    margin-bottom: 1.25rem;
    width: fit-content;
}

.highlight-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.highlight-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.highlight-meta {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

[data-theme="dark"] .highlight-meta {
    color: #a5b4fc;
}

.highlight-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.3s;
}

[data-theme="dark"] .highlight-link {
    color: #a5b4fc;
}

.highlight-link:hover {
    gap: 0.75rem;
    color: var(--brand-primary);
}

.btn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: gap 0.3s;
}

[data-theme="dark"] .btn-see-all {
    color: #a5b4fc;
}

.btn-see-all:hover {
    gap: 0.75rem;
    color: var(--brand-primary);
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
    padding: 80px 0;
    background: var(--section-alt-bg);
}

.proof-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .proof-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--glass-border);
}

.proof-stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    display: flex;
    gap: 2px;
}

.proof-quote {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    font-style: italic;
    flex: 1;
    margin-bottom: 1.5rem;
}

.proof-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.proof-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.proof-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.proof-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== FINAL CTA ===== */
.final-cta {
    padding: 80px 0;
    background: var(--bg-primary);
}

.cta-v2-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .cta-v2-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: var(--glass-border);
}

.cta-v2-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.15) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="dark"] .cta-v2-glow {
    background: radial-gradient(ellipse, rgba(99,102,241,0.2) 0%, transparent 70%);
}

.cta-v2-card h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.cta-v2-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.cta-v2-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* ===== HOMEPAGE V2 RESPONSIVE ===== */
@media (max-width: 991px) {
    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .highlight-featured {
        grid-row: auto;
    }

    .hero-v2 {
        padding: 100px 0 60px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .hero-v2 {
        padding: 90px 0 50px;
    }

    .hero-v2-content h1 {
        font-size: 2.2rem;
    }

    .hero-v2-sub {
        font-size: 1rem;
    }

    .btn-glow, .btn-ghost, .btn-ghost-dark {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .founder-card {
        padding: 2rem;
    }

    .founder-headline {
        font-size: 1.5rem;
    }

    .transform-card {
        padding: 1.5rem;
    }

    .highlight-card {
        padding: 2rem;
    }

    .cta-v2-card {
        padding: 2.5rem 1.5rem;
    }

    .section-headline {
        font-size: 1.6rem;
    }

    .transformation, .highlights, .social-proof,
    .final-cta, .founder-intro {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-v2-content h1 {
        font-size: 1.8rem;
    }

    .hero-pill {
        font-size: 0.7rem;
        padding: 6px 16px;
    }
}

/* ===== Instagram DM Button ===== */
.btn-instagram-dm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1.25rem;
    margin-top: 0.75rem;
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-instagram-dm::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 9px;
}

.btn-instagram-dm .ig-icon {
    font-size: 1.1rem;
    background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.btn-instagram-dm .ig-divider {
    width: 1px;
    height: 14px;
    background: var(--border-color);
    transition: background 0.4s ease;
}

.btn-instagram-dm:hover {
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(225, 48, 108, 0.3);
}

.btn-instagram-dm:hover::before {
    opacity: 1;
}

.btn-instagram-dm:hover .ig-icon {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    background-clip: unset;
}

.btn-instagram-dm:hover .ig-divider {
    background: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .btn-instagram-dm {
    border-color: rgba(148, 163, 184, 0.2);
    color: var(--text-muted);
}

[data-theme="dark"] .btn-instagram-dm:hover {
    color: #ffffff;
    box-shadow: 0 6px 28px rgba(225, 48, 108, 0.35);
}
