/* ==========================================================================
   CSS VARIABLES & TOKENS
   ========================================================================== */
:root {
    --color-bg-base: #101010;
    --color-surface: #1E1E1E;
    --color-surface-glass: rgba(30, 30, 30, 0.4);
    --color-accent: #00f160;
    --color-accent-hover: #00d554;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #9CA3AF;
    --color-text-tertiary: #6B7280;

    --glow-warm: #00f160;
    --glow-amber: #FFB03A;

    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 40px;
    --radius-pill: 100px;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--color-bg-base);
    color: var(--color-text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* ==========================================================================
   GLOBAL EFFECTS, REVEAL ANIMATIONS & UTILITIES
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

.glow-1 {
    top: -10%;
    right: -5%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--glow-warm) 0%, transparent 70%);
}

.glow-2 {
    bottom: 20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--glow-amber) 0%, transparent 60%);
    opacity: 0.2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
}

.glass-panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   BUTTONS & FLOATING ELEMENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    outline: none;
    position: relative;
    z-index: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: linear-gradient(45deg, #00f160, #00d554, #00f1a0, #FFB03A, #00f160, #00d554, #00f1a0, #FFB03A, #00f160);
    background-size: 400%;
    border-radius: var(--radius-pill);
    z-index: -1;
    filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    animation: btn-glowing 20s linear infinite;
}

.btn:hover::before {
    opacity: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-pill);
    z-index: -1;
}

@keyframes btn-glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

.btn-primary {
    color: #000;
}

.btn-primary::after {
    background-color: var(--color-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 241, 96, 0.4);
}

.btn-primary:active::after {
    background: var(--color-accent-hover);
}

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

.btn-glass::after {
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-glass:hover {
    transform: translateY(-2px);
}

.btn-glass:active::after {
    background: rgba(50, 50, 50, 0.95);
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    color: #000;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(0, 241, 96, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-5px);
}

/* ==========================================================================
   BRAND LOGO (HEADER & FOOTER)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    background: transparent;
}

.header-spacer {
    height: 88px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 5%;
    display: flex;
    align-items: center;
}

.site-header.scrolled {
    background: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.brand-logo,
.footer-logo {
    display: inline-block;
    line-height: 0;
    transition: var(--transition-smooth);
}

.brand-logo:hover,
.footer-logo:hover {
    opacity: 0.8;
    transform: scale(0.98);
}

.header-img-logo {
    height: 48.15px;
    width: auto;
    max-width: 267.5px;
    object-fit: contain;
}

.footer-img-logo {
    height: 58.85px;
    width: auto;
    max-width: 267.5px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   SECTIONS & COMMON LAYOUT
   ========================================================================== */
.section-padding {
    padding: 65px 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   SERVICE PAGE STYLES
   ========================================================================== */
.service-hero {
    padding: 60px 0 40px;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    opacity: 0.35;
    mask-image: linear-gradient(to left, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 50%, transparent 100%);
    mix-blend-mode: luminosity;
    z-index: 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.service-hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.service-hero-icon {
    font-size: 3.5rem;
    color: var(--color-accent);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 241, 96, 0.1);
    border: 1px solid rgba(0, 241, 96, 0.2);
    border-radius: var(--radius-md);
}

.service-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.service-hero-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    max-width: 650px;
}

.service-hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-tertiary);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--color-text-secondary);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb-separator {
    color: var(--color-text-tertiary);
}

/* Includes Grid */
.includes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.include-card {
    background: rgba(30, 30, 30, 0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.include-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    background: rgba(40, 40, 40, 0.4);
}

.include-icon {
    font-size: 1.8rem;
    color: var(--color-accent);
}

.include-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.include-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.process-step {
    background: rgba(30, 30, 30, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    counter-increment: step;
}

.process-step:hover {
    border-color: var(--color-accent);
    background: rgba(0, 241, 96, 0.03);
    transform: translateY(-3px);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 241, 96, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Why Choose Me */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why-card {
    background: rgba(30, 30, 30, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.why-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.why-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.why-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.why-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Service CTA */
.service-cta {
    text-align: center;
    padding: 80px 0;
}

.service-cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.service-cta-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 120px 0 120px;
    text-align: center;
    position: relative;
}

.footer-cta {
    margin-bottom: 5rem;
}

.footer-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 50vh;
    background: radial-gradient(circle, rgba(0, 241, 96, 0.15) 0%, transparent 60%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.footer-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 4rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--color-text-primary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--color-text-primary);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-tertiary);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--color-text-tertiary);
}

.legal-links a:hover {
    color: var(--color-text-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 60px;
        padding-bottom: 140px;
    }

    .header-container {
        padding: 20px 5%;
        justify-content: center;
    }

    .header-img-logo {
        height: 37.45px;
    }

    .header-spacer {
        height: 77px;
    }

    .includes-grid,
    .process-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .service-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-hero-bg {
        width: 100%;
        opacity: 0.15;
        mask-image: none;
        -webkit-mask-image: none;
        border-radius: var(--radius-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-link:hover {
        padding-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .back-to-top {
        bottom: 30px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-hero-title {
        font-size: 2.2rem;
    }
}
