/* ============================================================
   IDEATIONS ID — Landing Page Styles
   Clean Corporate Minimalism
   ============================================================ */

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(8, 6, 8, 0.9);
    border-bottom-color: var(--glass-border);
    box-shadow: none;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
}

.navbar-brand img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.navbar-brand .logo-dark { display: none; }
.navbar-brand .logo-light { display: block; }
[data-theme="dark"] .navbar-brand .logo-dark { display: block; }
[data-theme="dark"] .navbar-brand .logo-light { display: none; }

.navbar-brand span {
    color: var(--text-primary);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--text-primary);
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s var(--ease);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
    width: 100%;
}

/* --- Navbar Dropdown --- */
.nav-dropdown {
    position: relative;
    padding-bottom: 24px;
    margin-bottom: -24px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -10px;
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    z-index: 100;
}

[data-theme="dark"] .dropdown-menu {
    background: var(--bg-surface);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block !important;
    padding: 10px 20px;
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.dropdown-item:hover, .dropdown-item.active {
    color: var(--primary) !important;
}

.dropdown-item::after { display: none !important; }

.navbar-actions { display: flex; align-items: center; gap: 12px; }

/* --- Lang Switcher --- */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-surface, #ffffff);
    border: 1px solid var(--glass-border, rgba(0, 0, 0, 0.08));
    border-radius: 24px;
    padding: 3px;
    gap: 2px;
}

[data-theme="dark"] .lang-switcher {
    border-color: var(--glass-border, rgba(255, 255, 255, 0.1));
    background-color: transparent;
}

.lang-btn {
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background-color: #115e41; /* Dark green for light mode */
    color: #ffffff !important;
}

[data-theme="dark"] .lang-btn.active {
    background-color: var(--primary); /* Primary color for dark mode to match theme */
    color: #ffffff !important;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: var(--bg-primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(157, 9, 0, 0.06), transparent 60%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100, 6, 0, 0.04), transparent 60%);
}

[data-theme="dark"] .hero-bg::before {
    background: radial-gradient(circle, rgba(157, 9, 0, 0.15), transparent 60%);
    animation: float 8s ease-in-out infinite;
}

[data-theme="dark"] .hero-bg::after {
    background: radial-gradient(circle, rgba(100, 6, 0, 0.1), transparent 60%);
    animation: float 10s ease-in-out infinite reverse;
}

.hero-grain { display: none; }
[data-theme="dark"] .hero-grain {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
    z-index: 1;
}

.hero .container { position: relative; z-index: 2; }

.hero-content {
    animation: fadeInUp 0.8s var(--ease);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text-content {
    max-width: 600px;
}

.hero-stats {
    grid-column: 1 / -1;
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(157, 9, 0, 0.06);
    border: 1px solid rgba(157, 9, 0, 0.12);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 560px;
    line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stat { text-align: center; }

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === SERVICES === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(157, 9, 0, 0.15);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(157, 9, 0, 0.06);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-features li {
    padding: 4px 10px;
    background: rgba(157, 9, 0, 0.05);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--primary);
}

/* === PROCESS / HOW IT WORKS === */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .process-steps::before {
    background: var(--glass-border);
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.08);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

[data-theme="dark"] .process-number {
    background: var(--bg-surface);
    border-color: var(--glass-border);
}

.process-step:hover .process-number {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.process-step h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* === STATS === */
.stats-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    padding: 30px 0;
}

.stat-item h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary);
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* === PRICING === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    padding: 36px 30px;
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--primary);
    position: relative;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'POPULER';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 0 0 8px 8px;
    letter-spacing: 1px;
}

.pricing-tier {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.pricing-price span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li svg { color: var(--success); flex-shrink: 0; }

/* === TESTIMONIALS === */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s var(--ease);
}

.testimonial-card {
    min-width: calc(33.333% - 16px);
    margin: 0 12px;
    padding: 30px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #f39c12;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.testimonial-info h4 { font-size: 0.95rem; }
.testimonial-info p { font-size: 0.8rem; color: var(--text-muted); }

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.testimonial-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.testimonial-nav button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-primary);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition);
}

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

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
}

.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === CTA === */
.cta-section {
    background: linear-gradient(135deg, #9d0900, #7a0700);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}
[data-theme="dark"] .cta-section {
    background: var(--bg-secondary);
}

.cta-img {
    position: absolute;
    bottom: 0;
    max-height: 90%;
    width: auto;
    max-width: 25%;
    z-index: 1;
    pointer-events: none;
    display: none;
}

@media (min-width: 992px) {
    .cta-img { display: block; }
}

.cta-img-left { left: 4%; }
.cta-img-right { right: 4%; }

.cta-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.116) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
}

[data-theme="dark"] .cta-pattern {
    opacity: 0.2;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.cta-shape {
    position: absolute;
    z-index: 0;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: floatShape 8s ease-in-out infinite;
    pointer-events: none;
}

[data-theme="dark"] .cta-shape {
    border-color: rgba(255, 255, 255, 0.05);
}

.shape-1 { width: 60px; height: 60px; top: 15%; left: 20%; }
.shape-2 { width: 100px; height: 100px; bottom: 20%; right: 25%; animation-duration: 12s; }
.shape-3 { width: 40px; height: 40px; top: 40%; right: 15%; border-radius: 4px; animation: spinShape 10s linear infinite; }

@keyframes floatShape {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes spinShape {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
}
[data-theme="dark"] .cta-content h2 {
    color: var(--text-primary);
}

.cta-content h2 .gradient-text {
    background: none;
    -webkit-text-fill-color: #ffca28;
    color: #ffca28;
}
[data-theme="dark"] .cta-content h2 .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    font-size: 1.05rem;
}
[data-theme="dark"] .cta-content p {
    color: var(--text-secondary);
}

.cta-section .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}
.cta-section .btn-outline:hover {
    background: #ffffff;
    color: #9d0900;
}
[data-theme="dark"] .cta-section .btn-outline {
    border-color: var(--glass-border);
    color: var(--text-primary);
    background: transparent;
}
[data-theme="dark"] .cta-section .btn-outline:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* === CONTACT FORM === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

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

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(157, 9, 0, 0.06);
    border-radius: var(--radius-sm);
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.9rem; color: var(--text-secondary); }

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.order-form { padding: 36px; }

.form-steps {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
}

.form-step-indicator {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--glass-border);
    transition: background 0.3s var(--ease);
}

.form-step-indicator.active { background: var(--gradient-primary); }

.form-step-content { display: none; }
.form-step-content.active { display: block; animation: fadeIn 0.3s var(--ease); }

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

.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

/* === FOOTER === */
.footer {
    background: #1a1a2e;
    padding: 60px 0 24px;
    color: #ccc;
}

.footer a { color: #aaa; }
.footer a:hover { color: #fff; }
.footer h4 { color: #fff; }

[data-theme="dark"] .footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-brand img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #777;
}

/* === CLIENTS MARQUEE === */
.clients-marquee-section {
    padding: 40px 0 32px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #9d0900, #7a0700);
}

.clients-marquee-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
}

[data-theme="dark"] .clients-marquee-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

[data-theme="dark"] .clients-marquee-section::before {
    display: block;
    opacity: 0.2;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.clients-label {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

[data-theme="dark"] .clients-label {
    color: var(--text-muted);
}

.marquee-wrapper {
    position: relative;
    width: 100%;
}

.marquee-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, #9d0900, transparent);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, #7a0700, transparent);
}

[data-theme="dark"] .marquee-fade-left {
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}

[data-theme="dark"] .marquee-fade-right {
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.marquee-track {
    display: flex;
    width: fit-content;
    animation: marqueeScroll 25s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-around;
    min-width: 100vw;
    gap: 56px;
    padding: 0 28px;
}

.client-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: all 0.3s var(--ease);
}

.client-logo-item img {
    height: 64px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: all 0.3s var(--ease);
}

.client-logo-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

[data-theme="dark"] .client-logo-item img {
    filter: grayscale(100%);
    opacity: 0.5;
}

[data-theme="dark"] .client-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo-item a {
    display: flex;
    align-items: center;
}

/* === PORTFOLIO === */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s var(--ease);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h3 { font-size: 1.1rem; margin-bottom: 4px; }
.portfolio-overlay p { font-size: 0.85rem; opacity: 0.8; }

.portfolio-category {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(157, 9, 0, 0.8);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* --- Theme Toggle Button --- */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Light mode (default): show sun icon */
.theme-toggle .icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.theme-toggle .icon-moon {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* === WHY CHOOSE US === */
.wcu-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.wcu-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
}

[data-theme="dark"] .wcu-pattern {
    opacity: 0.3;
}

.wcu-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(157, 9, 0, 0.08);
    border: 1px solid rgba(157, 9, 0, 0.15);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

[data-theme="dark"] .wcu-badge {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-border);
    color: var(--text-primary);
}

.wcu-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.wcu-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.wcu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.wcu-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s var(--ease);
}

.wcu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(157, 9, 0, 0.08);
    border-color: rgba(157, 9, 0, 0.2);
}

[data-theme="dark"] .wcu-card {
    background: var(--bg-secondary);
}

[data-theme="dark"] .wcu-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.wcu-card-featured {
    background: rgba(157, 9, 0, 0.03);
    border-color: rgba(157, 9, 0, 0.1);
}

[data-theme="dark"] .wcu-card-featured {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.wcu-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(157, 9, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

[data-theme="dark"] .wcu-icon-wrapper {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.wcu-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.wcu-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.wcu-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.wcu-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
}

[data-theme="dark"] .wcu-benefit-item {
    background: var(--bg-secondary);
}

.wcu-benefit-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.wcu-benefit-item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.wcu-benefit-item span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.featured { transform: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { gap: 30px; }
    .hero-content { gap: 30px; }
}

@media (max-width: 768px) {
    .navbar-nav { display: none; }
    .navbar-toggle { display: flex; }

    .navbar-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 24px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        gap: 16px;
        animation: fadeIn 0.25s ease;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    }

    [data-theme="dark"] .navbar-nav.open {
        background: rgba(8, 6, 8, 0.95);
        backdrop-filter: blur(20px);
        border-bottom-color: var(--glass-border);
        box-shadow: none;
    }

    .navbar-nav.open a {
        font-size: 1rem;
        padding: 8px 0;
    }

    .hero { min-height: auto; padding-top: 100px; padding-bottom: 40px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text-content { max-width: 100%; }
    .hero-description { margin-left: auto; margin-right: auto; font-size: 1rem; }
    .hero-buttons { justify-content: center; }
    .hero-image-content { margin-top: 24px; order: -1; }
    .hero-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    .hero-stats { gap: 20px; justify-content: center; flex-wrap: wrap; }
    .hero-stat-value { font-size: 1.4rem; }
    .hero-badge { font-size: 0.8rem; }

    .services-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .process-steps::before { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .form-row { grid-template-columns: 1fr; }

    .testimonial-card { min-width: calc(100% - 24px); }

    .marquee-fade { width: 40px; }
    .marquee-content { gap: 36px; min-width: 100vw; justify-content: space-around; }
    .client-logo-item { height: 60px; }
    .client-logo-item img { height: 44px; max-width: 160px; }

    .navbar-actions { gap: 8px; }
    .navbar-actions .btn-sm { padding: 6px 12px; font-size: 0.78rem; }

    .section-header { margin-bottom: 40px; }
    .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .section-subtitle { font-size: 0.95rem; }

    .cta-content h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
    .cta-content p { font-size: 0.95rem; }

    .order-form { padding: 24px; }

    .footer { padding: 40px 0 20px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .process-number { width: 64px; height: 64px; font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 300px; }
    .process-steps { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; align-items: center; gap: 16px; }
    .hero-stat { width: 100%; }

    .navbar-brand span { font-size: 1rem; }
    .pricing-card { padding: 24px 20px; }
    .service-card { padding: 24px 20px; }
    .contact-social { justify-content: center; }
}

@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .navbar-brand img { width: 32px; height: 32px; }
    .navbar-brand span { font-size: 0.9rem; }
    .hero-title { font-size: 1.6rem; }

    .navbar-actions .btn-sm:not(.theme-toggle) {
        padding: 4px 8px;
        font-size: 0.72rem;
    }
}

/* === FLOATING WA BUTTON === */
.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #115e41; /* Dark green matching reference */
    color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(17, 94, 65, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-wa-btn:hover {
    background: #0d4a33;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(17, 94, 65, 0.5);
}

.floating-wa-btn svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .floating-wa-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}
