/* =========================================
   CSS Reset & Variables
   ========================================= */
:root {
    /* Colors */
    --bg-darker: #020617; /* Slate 950 */
    --bg-dark: #0f172a; /* Slate 900 */
    --bg-element: #1e293b; /* Slate 800 */
    --bg-element-hover: #334155; /* Slate 700 */
    
    --text-white: #ffffff;
    --text-light: #f8fafc; /* Slate 50 */
    --text-muted: #94a3b8; /* Slate 400 */
    --text-dark: #cbd5e1; /* Slate 300 */
    
    --accent-gold: #d97706; /* Amber 600 */
    --accent-gold-hover: #b45309; /* Amber 700 */
    --accent-gold-light: #f59e0b;
    --accent-red: #ef4444; /* Red 500 */
    --accent-red-muted: rgba(239, 68, 68, 0.15);

    /* Fonts */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-darker);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* =========================================
   Typography & Utilities
   ========================================= */
h1, h2, h3, h4, h5 {
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.2;
}

.text-white { color: var(--text-white); }
.text-gold { color: var(--accent-gold-light); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
}

.bg-dark { background-color: var(--bg-dark); }
.bg-darker { background-color: var(--bg-darker); }

.eyebrow {
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
}
.eyebrow.fade {
    color: var(--text-muted);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.highlight-underline {
    position: relative;
    display: inline-block;
    z-index: 1;
}
.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--accent-gold);
    z-index: -1;
    opacity: 0.5;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-darker);
    border-color: var(--accent-gold);
}
.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-muted);
}
.btn-outline:hover {
    border-color: var(--text-light);
    color: var(--text-white);
}

.btn-whatsapp {
    gap: 0.5rem;
    border-color: #25D366;
    color: #25D366;
}
.btn-whatsapp:hover {
    background-color: rgba(37, 211, 102, 0.1);
    border-color: #25D366;
    color: #25D366;
}

/* =========================================
   Header
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(2, 6, 23, 0.85); /* Darker backdrop */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    letter-spacing: 0.05em;
}

.logo-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/factory_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.85) 40%, rgba(2, 6, 23, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text-wrapper {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(to right, var(--accent-gold-light), #fca5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-bullet-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.hero-bullet-list .separator {
    color: var(--text-muted);
    font-weight: 300;
}

.hero-bullet-list .highlight {
    color: var(--accent-red);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.sub-cta {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* =========================================
   What I Do Section
   ========================================= */
.what-i-do {
    padding: 6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.lead-text {
    font-size: 2.25rem;
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.sub-lead-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* =========================================
   Services Section
   ========================================= */
.services {
    padding: 8rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-element);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-element-hover);
    border-color: rgba(255,255,255,0.1);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

.risk-card {
    border-color: var(--accent-red-muted);
    background: linear-gradient(180deg, var(--bg-element) 0%, rgba(239, 68, 68, 0.05) 100%);
}
.risk-card .risk-icon {
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

/* =========================================
   Process & Why Me
   ========================================= */
.process-why {
    padding: 8rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.process-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-list li {
    display: flex;
    gap: 1.5rem;
}

.step-num {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.1);
}

.step-content strong {
    display: block;
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.step-content p {
    color: var(--text-muted);
}

.why-me-box {
    background-color: var(--bg-element);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.why-list {
    margin-bottom: 2.5rem;
}

.why-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.why-list .bullet {
    color: var(--accent-gold);
    font-weight: 700;
}

.why-list strong {
    color: var(--text-white);
}

.quote-box {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-style: italic;
    font-size: 1.125rem;
}

/* =========================================
   Problems Section
   ========================================= */
.problems-cases {
    padding: 8rem 0;
    background-color: #0d1323; /* slightly varied tone */
}

.problems-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tag {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-weight: 500;
}

.problems-solution {
    font-size: 1.5rem;
    margin-bottom: 4rem;
    color: var(--text-muted);
    font-weight: 400;
}

.real-case-box {
    background-color: var(--bg-element);
    padding: 3rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
    text-align: left;
    margin: 0 auto;
}

.case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.badge {
    background-color: rgba(217, 119, 6, 0.2);
    color: var(--accent-gold-light);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.case-industry {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.case-desc {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.result {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 4px;
    color: #4ade80; /* emerald 400 */
}

.result-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
}

/* =========================================
   Pricing & CTA
   ========================================= */
.pricing-cta {
    padding: 8rem 0;
}

.price-box {
    background: linear-gradient(145deg, var(--bg-element) 0%, var(--bg-dark) 100%);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    margin: 4rem auto;
    position: relative;
    max-width: 600px;
}
.price-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--accent-gold), var(--accent-red));
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.price-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-gold-light);
    margin-bottom: 1.5rem;
}

.cta-wrap {
    margin-top: 4rem;
}

.cta-text {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    line-height: 1.5;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #000;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left strong {
    font-size: 1.5rem;
    color: var(--text-white);
    display: block;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.footer-logo .logo-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
}

.footer-left p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-right a:hover {
    color: var(--text-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .lead-text {
        font-size: 1.75rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .contact-methods {
        flex-direction: column;
    }
    .hero-background {
        background-position: 70% center; 
    }
}
