/* ============================================
   SMART SITE GURU - COMMON STYLES
   ============================================ */

:root {
    --primary: #0a1e3d;
    --primary-light: #132d5e;
    --primary-dark: #061428;
    --accent: #f5a623;
    --accent-dark: #d48e1a;
    --accent-gradient: linear-gradient(135deg, #f5a623, #f7c948);
    --dark-bg: #0a1e3d;
    --gray-bg: #f0f4fe;
    --light-bg: #f8faff;
    --text-dark: #0f1724;
    --text-muted: #4a5568;
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.04);
    --shadow-md: 0 12px 40px rgba(0,0,0,0.06);
    --shadow-lg: 0 30px 60px -16px rgba(0,0,0,0.12);
    --shadow-xl: 0 40px 80px -20px rgba(0,0,0,0.16);
    --radius: 20px;
    --radius-sm: 14px;
    --radius-full: 60px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    --bg-primary: #f8faff;
    --bg-secondary: #f0f4fe;
    --bg-card: rgba(255,255,255,0.6);
    --bg-card-hover: rgba(255,255,255,0.85);
    --border-color: rgba(255,255,255,0.6);
    --text-primary: #0f1724;
    --text-secondary: #4a5568;
    --navbar-bg: rgba(255,255,255,0.78);
    --navbar-border: rgba(255,255,255,0.4);
    --input-bg: #f8faff;
    --input-border: #e8ecf5;
}

[data-theme="dark"] {
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-card: rgba(255,255,255,0.05);
    --bg-card-hover: rgba(255,255,255,0.1);
    --border-color: rgba(255,255,255,0.08);
    --text-primary: #f0f2f6;
    --text-secondary: #94a3b8;
    --navbar-bg: rgba(10, 15, 26, 0.85);
    --navbar-border: rgba(255,255,255,0.05);
    --input-bg: #1a2234;
    --input-border: #2a3348;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.4s, color 0.4s;
}

::selection { background: var(--accent); color: white; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.2rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.5rem; }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.2rem; }

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(245, 166, 35, 0.10);
    padding: 6px 18px;
    border-radius: 40px;
    margin-bottom: 14px;
    border: 1px solid rgba(245, 166, 35, 0.15);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    padding: 16px 38px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--primary);
    color: white;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px -6px rgba(10, 30, 61, 0.25);
}
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s;
    transform: scale(0.5);
}
.btn:hover::after { opacity: 1; transform: scale(1); }
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 40px -8px rgba(10, 30, 61, 0.35); }

.btn-accent {
    background: var(--accent-gradient);
    color: #0a1e3d;
    box-shadow: 0 8px 28px -6px rgba(245, 166, 35, 0.4);
}
.btn-accent:hover { box-shadow: 0 16px 48px -8px rgba(245, 166, 35, 0.55); }

.btn-outline-dark {
    background: transparent;
    border: 2px solid rgba(10, 30, 61, 0.15);
    color: var(--text-primary);
    box-shadow: none;
}
.btn-outline-dark:hover { background: var(--primary); color: white; border-color: var(--primary); }

.btn-sm { padding: 10px 24px; font-size: 0.9rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--navbar-border);
    transition: all 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.05); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}
.logo span { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-dot { width: 8px; height: 8px; background: var(--accent-gradient); border-radius: 50%; display: inline-block; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { width: 100%; }

.hamburger { display: none; font-size: 1.8rem; cursor: pointer; color: var(--text-primary); }

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 8px;
    border-radius: 50%;
    transition: 0.3s;
}
.theme-toggle:hover { background: rgba(245,166,35,0.1); }

/* ===== HERO ===== */
.hero {
    padding: 30px 0 70px;
    background: linear-gradient(160deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    padding: 8px 20px 8px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}
.hero-content .badge i { color: var(--accent); }
.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 34px;
    line-height: 1.7;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

/* ===== CAROUSEL ===== */
.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
    background: var(--primary);
}
.carousel-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    width: 100%;
}
.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--primary), var(--primary-light));
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}
.carousel-slide .slide-icon {
    font-size: 4.5rem;
    background: rgba(255,255,255,0.06);
    padding: 20px;
    border-radius: 60px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.06);
}
.carousel-slide .slide-icon i { color: var(--accent); }
.carousel-slide h3 { color: white; font-size: 1.8rem; margin-bottom: 6px; }
.carousel-slide p { opacity: 0.7; font-size: 1rem; color: white; }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}
.carousel-btn:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.1); }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
}
.dot.active { background: var(--accent); width: 32px; box-shadow: 0 0 20px rgba(245,166,35,0.4); }

/* ===== STATS ===== */
.stats {
    background: var(--primary);
    padding: 50px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.stat-label { opacity: 0.6; font-weight: 500; margin-top: 2px; font-size: 0.95rem; color: white; }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 24px;
}
.section-title h2 { margin-bottom: 14px; }
.section-title p { color: var(--text-secondary); font-size: 1.1rem; }
.bg-gray { background: var(--bg-secondary); }

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(160deg, var(--bg-secondary), var(--bg-primary));
}
.page-header h1 { margin-bottom: 8px; }
.page-header p { color: var(--text-secondary); font-size: 1.15rem; }

/* ===== GLASS CARDS ===== */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.glass:hover {
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.service-card {
    padding: 32px 24px;
    text-align: center;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    display: block;
}
.service-card .icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 60px;
    background: rgba(10, 30, 61, 0.04);
    margin-bottom: 18px;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.4s;
    border: 1px solid rgba(10, 30, 61, 0.04);
}
.service-card:hover .icon-wrap {
    background: var(--accent-gradient);
    color: white;
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 8px 30px rgba(245,166,35,0.3);
}
.service-card h4 { font-size: 1.2rem; margin-bottom: 8px; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ===== WHY CHOOSE ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.why-item {
    padding: 30px 26px;
    border-radius: var(--radius-sm);
    border-left: 5px solid var(--accent);
}
.why-item .num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.15;
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
}
.why-item h4 { font-size: 1.15rem; margin-bottom: 6px; }
.why-item p { color: var(--text-secondary); }

/* ===== PORTFOLIO ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.portfolio-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition);
}
.portfolio-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.portfolio-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.portfolio-img .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,30,61,0.7));
}
.portfolio-img .category {
    position: absolute;
    bottom: 16px;
    left: 20px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    background: var(--accent);
    padding: 4px 16px;
    border-radius: 40px;
    color: #0a1e3d;
}
.portfolio-body { padding: 22px 24px 26px; }
.portfolio-body h4 { margin-bottom: 2px; }
.portfolio-body p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== CASE STUDIES ===== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.case-card {
    padding: 32px 28px;
    border-radius: var(--radius-sm);
    border-top: 5px solid var(--primary);
}
.case-card h4 { font-size: 1.3rem; margin-bottom: 12px; }
.case-card p { color: var(--text-secondary); margin-bottom: 8px; }
.case-card .result {
    background: rgba(245,166,35,0.08);
    padding: 10px 18px;
    border-radius: 40px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
    border: 1px solid rgba(245,166,35,0.1);
}

/* ===== INDUSTRIES ===== */
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 20px;
    margin-top: 24px;
}
.industry-tag {
    padding: 14px 30px;
    border-radius: var(--radius-full);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    transition: all var(--transition);
    background: var(--bg-card);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border-color);
}
.industry-tag:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-md);
}
.industry-tag i { color: var(--accent); font-size: 1.3rem; }

/* ===== PROCESS ===== */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 30px;
    margin-top: 30px;
}
.step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition);
    background: var(--bg-card);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border-color);
}
.step:hover { background: var(--bg-card-hover); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step .step-num {
    background: var(--accent-gradient);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

/* ===== TECH ===== */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 22px;
    margin-top: 20px;
}
.tech-item {
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 500;
    transition: all var(--transition);
    background: var(--bg-card);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
}
.tech-item:hover { background: var(--bg-card-hover); border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 30px;
}
.about-content p { color: var(--text-secondary); margin-bottom: 16px; font-size: 1.05rem; }
.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

/* ===== TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.team-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-sm);
}
.team-card .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--accent-gradient);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: white;
    font-weight: 700;
}
.team-card h4 { margin-bottom: 2px; }
.team-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.pricing-card {
    padding: 40px 30px;
    border-radius: var(--radius-sm);
    text-align: center;
    position: relative;
    transition: all var(--transition);
}
.pricing-card.popular {
    border: 2px solid var(--accent);
    transform: scale(1.03);
}
.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    margin: 16px 0;
}
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--text-secondary); }
.pricing-card ul { list-style: none; margin: 20px 0; text-align: left; }
.pricing-card ul li { padding: 8px 0; display: flex; align-items: center; gap: 10px; color: var(--text-secondary); }
.pricing-card ul li i { color: var(--accent); }
.pricing-card .badge-popular {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-gradient);
    color: white;
    padding: 4px 20px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.testimonial {
    padding: 32px 28px;
    border-radius: var(--radius-sm);
    position: relative;
}
.testimonial::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    right: 24px;
    font-family: Georgia, serif;
}
.testimonial p { font-size: 1rem; font-style: italic; margin-bottom: 18px; line-height: 1.7; }
.testimonial .client { font-weight: 700; font-size: 1.05rem; }
.testimonial .company { color: var(--text-secondary); font-size: 0.85rem; }

/* ===== BLOG ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.blog-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.blog-body { padding: 22px 24px 26px; }
.blog-body .meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    gap: 16px;
}
.blog-body .meta span { display: flex; align-items: center; gap: 4px; }
.blog-body .meta i { color: var(--accent); }
.blog-body h4 { margin-bottom: 8px; }
.blog-body p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 12px; }
.blog-body .read-more {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.blog-body .read-more:hover { gap: 12px; }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}
.contact-info h4 { margin-bottom: 8px; }
.contact-info p { color: var(--text-secondary); margin-bottom: 4px; }
.contact-info .info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.contact-info .info-item i {
    font-size: 1.4rem;
    color: var(--accent);
    width: 40px;
    text-align: center;
    margin-top: 4px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1.5px solid var(--input-border);
    border-radius: 40px;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: 0.3s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 5px rgba(245,166,35,0.06);
}
.contact-form textarea { min-height: 120px; border-radius: 20px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; }

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
    background: var(--bg-secondary);
    margin-top: 30px;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 30px auto 0;
}
.faq-item {
    padding: 18px 26px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--bg-card);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border-color);
}
.faq-item:hover { background: var(--bg-card-hover); box-shadow: var(--shadow-sm); }
.faq-item i { color: var(--accent); font-size: 1.1rem; transition: 0.3s; }
.faq-item.active i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 26px;
    color: var(--text-secondary);
}
.faq-answer.open {
    max-height: 300px;
    padding: 16px 26px 20px;
}

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(145deg, var(--primary), var(--primary-light));
    color: white;
    text-align: center;
    padding: 80px 0;
    border-radius: 40px;
    margin: 30px auto 60px;
    position: relative;
    overflow: hidden;
}
.cta-section .glow-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,166,35,0.06), transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}
.cta-section h2 { margin-bottom: 16px; color: white; }
.cta-section p { font-size: 1.2rem; opacity: 0.8; position: relative; z-index: 2; }
.cta-section .btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 28px;
    position: relative;
    z-index: 2;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.75);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.03);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 40px;
}
.footer h4 { color: white; margin-bottom: 16px; font-size: 1.1rem; }
.footer a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 0.95rem;
    transition: 0.3s;
}
.footer a:hover { color: var(--accent); transform: translateX(4px); }
.footer .social i {
    font-size: 1.4rem;
    margin-right: 14px;
    color: rgba(255,255,255,0.4);
    transition: 0.3s;
    cursor: pointer;
}
.footer .social i:hover { color: var(--accent); transform: translateY(-3px); }
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 30px;
    margin-top: 40px;
    font-size: 0.9rem;
    opacity: 0.4;
}

/* ===== STICKY CTA ===== */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sticky-cta .btn-whatsapp {
    background: #25D366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
    text-decoration: none;
    transition: all 0.3s;
}
.sticky-cta .btn-whatsapp:hover { transform: scale(1.1); }

.back-to-top {
    background: var(--accent-gradient);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(245,166,35,0.3);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: scale(1.1); }

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 21, 43, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
    background: var(--bg-primary);
    max-width: 540px;
    width: 92%;
    padding: 44px 40px;
    border-radius: 32px;
    box-shadow: var(--shadow-xl);
    transform: scale(0.92) translateY(30px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.modal-overlay.active .modal-box { transform: scale(1) translateY(0); }
.modal-box .close-modal {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 1.6rem;
    cursor: pointer;
    color: #b0b8c8;
    transition: 0.3s;
    background: none;
    border: none;
}
.modal-box .close-modal:hover { color: var(--text-primary); transform: rotate(90deg); }
.modal-box .modal-icon { font-size: 3rem; color: var(--accent); margin-bottom: 8px; }
.modal-box h3 { font-family: 'Poppins', sans-serif; font-size: 1.8rem; margin-bottom: 6px; }
.modal-box p { color: var(--text-secondary); margin-bottom: 22px; }
.modal-box input,
.modal-box select,
.modal-box textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1.5px solid var(--input-border);
    border-radius: 40px;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: 0.3s;
}
.modal-box input:focus,
.modal-box select:focus,
.modal-box textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 5px rgba(245,166,35,0.06);
}
.modal-box textarea { min-height: 80px; border-radius: 20px; resize: vertical; }
.modal-box .btn { width: 100%; justify-content: center; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.9rem; color: var(--text-secondary); }
.cookie-banner .btn-group { display: flex; gap: 12px; }
.cookie-banner .btn-sm { padding: 8px 20px; font-size: 0.85rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .carousel-wrapper { max-width: 420px; }
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-image { height: 280px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--bg-primary);
        backdrop-filter: blur(20px);
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 24px 28px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 28px 28px;
        gap: 16px;
    }
    .nav-links.show { display: flex; }
    .hamburger { display: block; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .cta-section { margin: 20px 16px 40px; border-radius: 28px; padding: 50px 20px; }
    .modal-box { padding: 32px 22px; }
    section { padding: 50px 0; }
    .pricing-card.popular { transform: scale(1); }
    .sticky-cta { bottom: 16px; right: 16px; }
    .sticky-cta .btn-whatsapp { width: 48px; height: 48px; font-size: 1.6rem; }
    .back-to-top { width: 40px; height: 40px; font-size: 1rem; }
    .page-header { padding: 40px 0 30px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero { padding: 20px 0 50px; }
    .btn { width: 100%; justify-content: center; padding: 14px 28px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .carousel-wrapper { max-width: 100%; aspect-ratio: 4/3; }
    .carousel-btn { width: 36px; height: 36px; font-size: 0.9rem; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
}