/* style.css - Responsive Layout Engine for Landing Page */
:root {
    --bg-gradient: linear-gradient(135deg, #040814 0%, #060a14 100%);
    --panel-glass: rgba(255, 255, 255, 0.03);
    --panel-border: rgba(255, 122, 0, 0.15);
    --primary-text: #FFFFFF;
    --muted-text: #8A99AD;
    --accent: #FF7A00;
    --accent-hover: #E06B00;
    --radius: 12px;
}

/* ==========================================================================
   1. CORE GLOBAL STYLES & MIDNIGHT BLUE BACKDROP (WITH HERO BACKGROUND IMAGE)
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, rgba(4, 8, 20, 0.541) 0%, rgba(6, 10, 20, 0.98) 100%), 
                url('baki.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   2. HERO CONTAINER BAR AREA (ADAPTIVE ALIGNMENT STRUCTURE)
   ========================================================================== */
.hero-section { 
    padding: 10rem 1.5rem 4rem 1.5rem; 
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    
    /* Default layout mechanics: centers everything on mobile devices */
    display: flex;
    justify-content: center; 
    align-items: center;
}

.hero-content { 
    max-width: 480px; /* Tight compact sizing layout */
    width: 100%;
    text-align: center; /* Center-aligned for touch viewports */
}

.badge {
    background: rgba(255, 122, 0, 0.12);
    color: var(--accent);
    border: 1px solid rgba(255, 122, 0, 0.3);
    padding: 0.4rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.72rem; 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.hero-content h1 {
    font-size: 1.85rem; 
    font-weight: 900;
    line-height: 1.2;
    margin: 1.25rem 0 0.85rem 0;
    letter-spacing: -0.5px;
}

.hero-content h1 span { color: var(--accent); }

.hero-content p { 
    font-size: 0.95rem; 
    color: var(--muted-text); 
    margin-bottom: 2rem; 
}

.cta-group { display: flex; gap: 1rem; justify-content: center; }

.btn-primary-solid, .btn-secondary {
    padding: 0.75rem 1.75rem; 
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.btn-primary-solid { background: var(--accent); color: #FFF; }
.btn-primary-solid:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 122, 0, 0.3); }
.btn-secondary { border: 2px solid #3a506b; color: #FFF; background: transparent; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: rgba(255, 122, 0, 0.02); }

/* ==========================================================================
   3. SECTIONS & GRID CARD MODULES
   ========================================================================== */
.stats-section, .process-section { padding: 4rem 0; }

.stat-card, .process-card {
    background: var(--panel-glass);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    border: 1px solid var(--panel-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.stat-card:hover, .process-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.stat-number { font-size: 3rem; font-weight: 900; color: var(--accent); margin-bottom: 0.25rem; }
.stat-card p { color: var(--muted-text); font-size: 0.95rem; font-weight: 600; }
.section-title { text-align: center; font-size: 2rem; font-weight: 800; margin-bottom: 3rem; }
.step-num { font-size: 1.25rem; font-weight: 900; color: var(--accent); margin-bottom: 0.75rem; }
.process-card h4 { font-size: 1.25rem; margin-bottom: 0.5rem; font-weight: 700; }
.process-card p { color: var(--muted-text); font-size: 0.9rem; }

/* ==========================================================================
   4. ANIMATIONS & SCROLL ENGINE TRACKERS
   ========================================================================== */
.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.scroll-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.scroll-reveal.active { opacity: 1; transform: translateY(0); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   5. CROSS-DEVICE RESPONSIVE OVERRIDES
   ========================================================================== */
/* ==========================================================================
   5. CROSS-DEVICE RESPONSIVE OVERRIDES
   ========================================================================== */
/* 💻 Large Screens & Laptops: Shifts content beautifully to the left track */
@media (min-width: 992px) {
    .hero-section {
        justify-content: flex-start; /* Snaps block container to the left side */
        padding-left: 2.5rem;
    }
    .hero-content {
        text-align: left; /* Elegant left-aligned text */
    }
    .cta-group {
        justify-content: flex-start; /* Aligns row with text flow */
    }
}

/* 📶 Tablets & Mobile Phones: Shrunk buttons aligned in a HORIZONTAL ROW */
@media (max-width: 768px) {
    .hero-section { 
        padding-top: 14rem; /* Keeps content pushed down below the header */
    }
    
    .hero-content h1 { 
        font-size: 1.65rem; 
    }
    
    .cta-group { 
        display: flex;
        flex-direction: row; /* FIXED: Forces buttons to align side-by-side in a row */
        justify-content: center;
        gap: 0.5rem;         /* Tighter spacing between the two horizontal elements */
        width: 100%;
        max-width: 100%; 
    }
    
    /* SHRUNK BUTTON FOOTPRINT FOR ROW LAYOUT ACCORDANCE */
    .btn-primary-solid, .btn-secondary {
        flex: 1;                  /* Forces both buttons to split the horizontal track evenly */
        padding: 0.55rem 0.75rem; /* Tightened side padding to prevent screen overflow edge text clipping */
        font-size: 0.72rem;       /* Scaled text font size down for sharp inline layout look */
        border-radius: 6px;
        text-align: center;
        white-space: nowrap;      /* Prevents button words from awkwardly snapping down onto a second line */
    }
}

/* ==========================================================================
   STATISTICS CARD TRANSLUCENT OUTLINE BUTTONS
   ========================================================================== */
.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Ensures buttons line up perfectly at the bottom */
    position: relative;
    padding: 2.25rem 1.5rem 1.5rem 1.5rem !important; /* Balanced layout cushion */
    min-height: 200px; /* Gives all cards a uniform structural height tracking layout */
}

.btn-stat-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    width: 100%; /* Spans the full inner width of the card footprint */
    max-width: 180px; /* Keeps the outline button compact and sleek */
    
    /* ENFORCED FIXED: Transparent base with high-end border frame outlines */
    background: transparent;
    border: 2.5px solid rgba(255, 122, 0, 0.3); /* Subtle orange trace outline */
    color: #FFFFFF;
    
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Micro-interaction: Solid border swap with subtle glow on hover state tracking loops */
.btn-stat-action:hover {
    border-color: #FF7A00; /* Crisp vibrant orange highlight outline */
    color: #FF7A00;
    background: rgba(255, 122, 0, 0.02); /* Very faint background sheen */
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.15);
    transform: translateY(-1px);
}

.arrow-icon {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8rem;
}

/* Smooth forward nudge animation on the arrow indicator symbol */
.btn-stat-action:hover .arrow-icon {
    transform: translateX(2px);
}

/* Responsive adjustment padding parameters for small smartphones */
@media (max-width: 520px) {
    .stat-card {
        min-height: auto; /* Dissolves fixed heights on mobile stacks for clean flow */
        padding: 1.5rem !important;
    }
    .btn-stat-action {
        max-width: 100%; /* Stretches button wide for easy thumb-tapping access */
        font-size: 0.75rem;
        padding: 0.55rem;
    }
}

