/* -------------------------------------------------------------------------- */
/* INFIEARTH V5 - CORPORATE REDESIGN (FULL MOBILE + HAMBURGER) */
/* Colors: Green (#10b981), Lime (#84cc16), Silver, White */
/* -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@200;400;600;800&display=swap');

:root {
    /* BASE - LIGHT MODE */
    --bg-body: #ffffff;
    --bg-surface: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    /* BRAND (Green/Lime/Silver) */
    --brand-primary: #10b981;
    --brand-secondary: #84cc16;
    --brand-dark: #065f46;
    --brand-silver: #94a3b8;
    --brand-light-blue: #7dd3fc;
    
    --brand-gradient: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --nav-height: 80px;
    --radius: 12px;
}

[data-theme="dark"] {
    --bg-body: #0f172a;
    --bg-surface: #1e293b;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --brand-primary: #34d399;
    --brand-secondary: #a3e635;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: all 0.2s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* UTILITIES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-surface { background-color: var(--bg-surface); }
.text-brand { color: var(--brand-primary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }

.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === BUTTONS (GREEN) === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s;
    border: none;
    text-align: center;
}
.btn-primary {
    background: var(--brand-primary); /* GREEN */
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.5);
    background: var(--brand-dark);
}

.btn-hosting {
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff;
}
.btn-hosting:hover { opacity: 0.9; }

.btn-outline {
    border: 2px solid var(--brand-primary); /* GREEN BORDER */
    background: transparent;
    color: var(--brand-primary); /* GREEN TEXT */
}
.btn-outline:hover {
    background: var(--brand-primary);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
    padding: 8px 16px;
}
.btn-ghost:hover { color: var(--brand-primary); }

/* === NAVBAR V5 (WITH HAMBURGER) === */
.navbar {
    height: var(--nav-height);
    background: var(--bg-body);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo img { height: 55px; width: auto; }

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-primary); }

.nav-actions { display: flex; gap: 12px; align-items: center; }

/* Theme Toggle - HIGHLY VISIBLE */
.theme-toggle {
    background: linear-gradient(135deg, #10b981, #84cc16) !important;
    border: none !important;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    color: #ffffff !important;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
.theme-toggle:hover { 
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
}

[data-theme="dark"] .theme-toggle {
    background: linear-gradient(135deg, #1e293b, #334155) !important;
    color: #fbbf24 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
    background: var(--bg-surface);
    border: 2px solid var(--brand-primary);
    border-radius: 8px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--brand-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.hamburger.active span:nth-child(1) { 
    transform: rotate(45deg) translate(5px, 5px); 
}
.hamburger.active span:nth-child(2) { 
    opacity: 0; 
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) { 
    transform: rotate(-45deg) translate(5px, -5px); 
}

/* Mobile Nav Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-body);
    z-index: 1050;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.mobile-nav.active { display: flex; opacity: 1; pointer-events: all; }
.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
}
.mobile-nav a:hover { color: var(--brand-primary); }

/* Mobile Nav Close Button (X) */
.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ef4444;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}
.mobile-nav-close:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* === HERO === */
.hero {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    z-index: -1;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(132, 204, 22, 0.1), transparent 70%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.hero-label {
    display: inline-block;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--brand-primary);
}
.hero-title { font-size: clamp(2.5rem, 5vw, 3.8rem); margin-bottom: 24px; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 32px; max-width: 540px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual img { border-radius: var(--radius); box-shadow: var(--shadow-xl); }

/* === STATS === */
.stats-section { padding: 48px 0; border-bottom: 1px solid var(--border-color); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item h3 {
    font-size: 2.5rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}
.stat-item p { color: var(--text-muted); font-size: 0.9rem; }

/* === CARDS === */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--brand-primary); }
.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--brand-primary);
}
.card h4 { margin-bottom: 12px; font-size: 1.25rem; }
.card p { color: var(--text-muted); margin-bottom: 16px; }

/* === PROCESS === */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 48px; }
.process-step { text-align: center; position: relative; }
.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-primary);
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 0.9rem; }

/* === WHY US === */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why-item { display: flex; gap: 16px; margin-bottom: 24px; }
.why-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(132,204,22,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    font-size: 1.2rem;
}
.why-item h4 { margin-bottom: 4px; }
.why-item p { color: var(--text-muted); font-size: 0.9rem; }

/* === CTA === */
.cta-section {
    background: linear-gradient(135deg, var(--brand-dark), #0d9488);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { opacity: 0.9; max-width: 600px; margin: 0 auto 32px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-buttons .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: none; }
.cta-buttons .btn-primary:hover { background: #f0fdf4; }
.cta-buttons .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-buttons .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* === FOOTER === */
.footer { background: #0f172a; color: #f8fafc; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: #94a3b8; margin-top: 16px; font-size: 0.9rem; line-height: 1.6; }
.footer h4 { color: #fff; margin-bottom: 20px; font-size: 1rem; }
.footer a { color: #94a3b8; display: block; margin-bottom: 12px; font-size: 0.9rem; }
.footer a:hover { color: var(--brand-primary); }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 32px; display: flex; justify-content: space-between; align-items: center; color: #64748b; font-size: 0.85rem; flex-wrap: wrap; gap: 16px; }
.social-links { display: flex; gap: 16px; }
.social-links a { color: #94a3b8; font-size: 1.2rem; }
.social-links a:hover { color: var(--brand-primary); }

/* === MODAL === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content {
    background: var(--bg-card);
    width: 90%;
    max-width: 480px;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    text-align: center;
    color: var(--text-main);
}
.modal-icon { font-size: 3.5rem; color: #f97316; margin-bottom: 16px; }
.modal-content h3 { margin-bottom: 12px; }
.modal-content p { color: var(--text-muted); margin-bottom: 32px; }
.modal-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* === FLOATING (RIGHT) === */
.float-group {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    font-size: 1.3rem;
    transition: all 0.2s;
    cursor: pointer;
}
.float-btn:hover { transform: scale(1.1); border-color: var(--brand-primary); color: var(--brand-primary); }
.float-wa { background: #25D366; color: #fff; border-color: #25D366; }
.float-wa:hover { background: #1ebe5d; color: #fff; border-color: #1ebe5d; }

/* === RESPONSIVE (MOBILE) === */
@media (max-width: 992px) {
    .hero-grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .nav-links, .nav-actions .btn-hosting, .nav-actions .btn-primary { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 768px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: 1fr; }
    .section { padding: 48px 0; }
    .hero { padding: 40px 0; }
    .hero-title { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .stats-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; }
    .step-number { width: 60px; height: 60px; font-size: 1.4rem; }
    .container { padding: 0 16px; }
}
