/* =========================================
   1. VARIABLES & SETUP (The Noir/Gold Palette)
   ========================================= */
:root {
    /* Colors - Noir Theme */
    --bg-dark: #050505;       /* Deepest Black */
    --bg-card: #0f0f0f;       /* Off-black for cards */
    --bg-card-hover: #161616; /* Slightly lighter for interaction */
    
    /* Colors - Gold Accents (Luxury Gold, not Yellow) */
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dim: #AA8C2C;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%);
    
    /* Text Colors */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #000000;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 100px 0;
    
    /* Borders & Effects */
    --border-subtle: 1px solid rgba(255, 255, 255, 0.1);
    --border-gold: 1px solid rgba(212, 175, 55, 0.3);
    --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.15);
}

/* =========================================
   2. GLOBAL RESET & TYPOGRAPHY
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif; /* Clean Tech Font */
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif; /* Premium Editorial Font */
    color: var(--text-main);
    font-weight: 700;
}

/* Utility Class for Gold Text */
.gold-text {
    color: var(--gold-primary);
    /* Optional: Add a subtle gradient text effect */
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

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

/* =========================================
   3. BUTTONS
   ========================================= */
.btn-primary {
    display: inline-block;
    background: var(--gold-gradient);
    color: var(--text-dark);
    padding: 14px 32px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    margin-left: 15px;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* =========================================
   4. NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.85); /* Semi-transparent black */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border-bottom: var(--border-subtle);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--gold-primary);
}

.nav-btn {
    padding: 10px 24px; /* Slightly smaller for nav */
    font-size: 0.9rem;
}

/* Mobile Hamburger (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
}
/* =========================================
   5. HERO SECTION
   ========================================= */
.hero-section {
    padding: 180px 0 100px 0; /* Space for fixed nav */
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-dark) 70%);
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--gold-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    background: rgba(212, 175, 55, 0.05);
}

.hero-title {
    font-size: 4rem; /* Big and Bold */
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.hero-actions {
    margin-bottom: 60px;
}

/* Tech Stack Proof (Logos) */
.tech-stack-proof {
    border-top: var(--border-subtle);
    padding-top: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.tech-stack-proof p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    opacity: 0.5; /* Muted look until hover (optional) */
}

.tech-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* =========================================
   6. PROBLEM SECTION
   ========================================= */
.section-problem {
    padding: var(--section-padding);
    background-color: #080808; /* Slightly lighter than main bg */
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    padding: 40px;
    text-align: center;
    border: var(--border-subtle);
    border-radius: 8px;
}

.stat-card h3 {
    font-size: 3.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif; /* Use tech font for numbers */
    margin-bottom: 10px;
}

/* =========================================
   7. BENEFITS GRID
   ========================================= */
.section-benefits {
    padding: var(--section-padding);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid transparent; /* Hidden border by default */
    transition: 0.3s ease;
}

.feature-card:hover {
    border-color: var(--gold-dim);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
/* =========================================
   8. COMPARISON TABLE (The Verdict)
   ========================================= */
.section-comparison {
    padding: var(--section-padding);
    background: #080808;
}

.comparison-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split 50/50 */
    gap: 0; /* Connected look, or use gap for separated cards */
    max-width: 900px;
    margin: 60px auto 0 auto;
    align-items: center;
}

.comparison-col {
    background: var(--bg-card);
    padding: 50px 40px;
    border: var(--border-subtle);
    position: relative;
}

/* Legacy Column - The "Bad" Option */
.comparison-col.legacy {
    border-right: none;
    border-radius: 8px 0 0 8px;
    opacity: 0.8;
}

.comparison-col.legacy h3 {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Premium Column - The "Good" Option */
.comparison-col.premium {
    background: #121212;
    border: 1px solid var(--gold-primary); /* Gold Border */
    border-radius: 8px; /* Rounded all around to stand out, or 0 8px 8px 0 */
    transform: scale(1.05); /* Make it pop out */
    box-shadow: var(--shadow-gold); /* Gold Glow */
    z-index: 2;
}

.comparison-col.premium h3 {
    font-size: 1.8rem;
    color: var(--text-main);
}

.badge-recommended {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-primary);
    color: #000;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.price-tag {
    font-size: 2rem;
    font-weight: 700;
    margin: 20px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.price-tag .small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.comparison-list {
    text-align: left;
    margin-top: 30px;
}

.comparison-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

/* Markers for Good/Bad list items */
.comparison-list li.bad::before {
    content: "✕";
    color: #ff4d4d; /* Red for bad */
    margin-right: 10px;
    font-weight: bold;
}

.comparison-list li.good::before {
    content: "✓";
    color: var(--gold-primary);
    margin-right: 10px;
    font-weight: bold;
}

/* =========================================
   9. TIMELINE (Process)
   ========================================= */
.section-process {
    padding: var(--section-padding);
}

.timeline-wrapper {
    max-width: 800px;
    margin: 60px auto 0 auto;
    position: relative;
}

/* The Vertical Line */
.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 24px; /* Align with the circles */
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-subtle);
}

.timeline-step {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 1; /* Sit on top of the line */
    flex-shrink: 0;
}

.step-content {
    padding-top: 10px;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.step-time {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    margin-bottom: 15px;
    color: var(--gold-light);
}

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

/* =========================================
   10. SECURITY SECTION
   ========================================= */
.section-security {
    padding: var(--section-padding);
    background: #080808;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.security-card {
    padding: 30px;
    border-left: 1px solid var(--gold-dim); /* Gold line on left */
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
}

.security-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.security-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   11. FAQ SECTION (Accordion)
   ========================================= */
.section-faq {
    padding: var(--section-padding);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for desktop */
    gap: 60px;
    margin-top: 60px;
}

.faq-category h3 {
    font-size: 1.1rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--gold-dim);
    padding-bottom: 10px;
    display: inline-block;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.faq-item summary {
    padding: 15px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    list-style: none; /* Hide default triangle */
    padding-right: 30px; /* Space for icon */
    transition: color 0.3s ease;
}

/* Remove default triangle in Webkit */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--gold-light);
}

/* Custom + Icon */
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 15px;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--gold-dim);
}

/* Change to - when open */
.faq-item[open] summary::after {
    content: '-';
    color: var(--gold-primary);
}

.faq-item[open] summary {
    color: var(--gold-primary);
}

.faq-item p {
    color: var(--text-muted);
    padding-bottom: 20px;
    line-height: 1.7;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   12. TESTIMONIALS
   ========================================= */
.section-testimonials {
    padding: var(--section-padding);
    background: #080808;
    border-top: var(--border-subtle);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    position: relative;
}

/* Add a gold quote icon */
.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
}

.stars {
    color: var(--gold-primary);
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.8;
}

.author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-main);
}

.author span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}
/* =========================================
   13. CONTACT SECTION (Estimate Form)
   ========================================= */
.section-contact {
    padding: var(--section-padding);
    background: radial-gradient(circle at top right, #1a1a1a 0%, var(--bg-dark) 60%);
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.contact-text {
    flex: 1;
    padding-top: 20px;
}

.contact-text h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.contact-benefits li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.contact-form-box {
    flex: 1;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: var(--border-subtle);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.contact-form-box h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 15px;
}

/* =========================================
   14. FOOTER
   ========================================= */
.footer {
    padding: 80px 0 30px 0;
    background: #000;
    border-top: var(--border-gold);
}

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

.footer-brand p {
    color: var(--text-muted);
    margin-top: 15px;
    margin-bottom: 20px;
    max-width: 300px;
}

.brand-context {
    font-size: 0.85rem;
    color: var(--gold-dim);
    border-left: 2px solid var(--gold-dim);
    padding-left: 10px;
}

.footer-links h4 {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px; /* Subtle movement */
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.85rem;
    color: #555;
}

/* =========================================
   15. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .comparison-wrapper {
        grid-template-columns: 1fr; /* Stack comparison */
        gap: 30px;
    }
    
    .comparison-col.legacy {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        opacity: 0.6;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .hamburger {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--gold-primary);
        margin-bottom: 6px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off screen */
        width: 80%;
        height: 100vh;
        background: #000;
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        border-left: var(--border-gold);
    }

    .nav-links.active {
        right: 0;
    }

    /* Hero Text */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .logos-wrapper {
        flex-wrap: wrap;
        gap: 20px;
    }

    /* Stack Grids */
    .stats-grid, .faq-grid, .footer-content {
        grid-template-columns: 1fr;
    }

    .timeline-step {
        gap: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .timeline-wrapper::before {
        left: 19px; /* Adjust line for smaller circles */
    }
    
    /* Hide specific non-critical elements on very small screens if needed */
    .testimonial-card::before {
        font-size: 3rem;
    }
}

/* =========================================
   16. MODAL POPUPS
   ========================================= */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Dark background dim */
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.modal-content {
    background: var(--bg-card);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--gold-primary);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow-y: auto; /* Scroll if content is long */
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--gold-primary);
}

.modal-content h2 {
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Icon Alignment tweaks */
.hero-badge i, .btn-primary i, .tech-logo i {
    margin-right: 8px;
    vertical-align: middle;
}

/* =========================================
   17. PREMIUM FLOATING WHATSAPP (Bottom Right)
   ========================================= */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px; /* Moved to Right */
    width: 65px;
    height: 65px;
    /* Noir & Gold Theme */
    background: #000; 
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px; /* Slightly smaller icon for elegance */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 2000;
    transition: all 0.3s ease;
    
    /* Gold Ripple Animation */
    animation: pulse-gold 2.5s infinite;
}

.whatsapp-float:hover {
    background: var(--gold-primary);
    color: #000; /* Invert colors on hover */
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* =========================================
   18. GLOBAL ICON TWEAKS (Phosphor)
   ========================================= */
i.ph-light, i.ph-fill {
    vertical-align: middle;
    margin-right: 8px;
    position: relative;
    top: -1px;
}

/* Make the checkmarks in the list pop */
.contact-benefits i {
    font-size: 1.2rem;
}

/* =========================================
   19. DELIVERABLES SECTION (New)
   ========================================= */
.section-deliverables {
    padding: var(--section-padding);
    background: #080808;
    border-top: var(--border-subtle);
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.deliverable-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-card);
    border: 1px solid transparent;
    border-radius: 8px;
    transition: 0.3s;
}

.deliverable-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-5px);
}

.del-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 25px;
    background: rgba(212, 175, 55, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px; /* Center vertical */
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.deliverable-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.deliverable-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
