/* === NIXVIA PROFESSIONAL THEME === */
:root {
    --bg: #050510;
    --bg-2: #0a0a1a;
    --fg: #f0f0f5;
    --primary: #4f8fff;
    --primary-light: #7aadff;
    --primary-dark: #2d6fe0;
    --primary-glow: rgba(79, 143, 255, 0.12);
    --primary-20: rgba(79, 143, 255, 0.15);
    --secondary: rgba(255, 255, 255, 0.08);
    --muted: #7a7a95;
    --border: rgba(255, 255, 255, 0.07);
    --card: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(79, 143, 255, 0.06);
    --gradient: linear-gradient(135deg, #4f8fff 0%, #845ef7 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(79,143,255,0.1) 0%, rgba(132,94,247,0.1) 100%);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg); color: var(--fg); line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* NAV */
nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.875rem; font-weight: 500; padding: 8px 16px; border-radius: 8px; transition: all 0.2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.hamburger { display: none; background: none; border: none; color: var(--fg); cursor: pointer; padding: 8px; }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: 12px; font-weight: 600; font-size: 0.875rem;
    transition: all 0.25s; border: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 20px rgba(79,143,255,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(79,143,255,0.4); }
.btn-secondary { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid var(--border); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.15); }
.btn-outline { border: 1px solid rgba(255,255,255,0.15); color: var(--fg); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: var(--primary); color: #fff; }
.btn-nav { padding: 10px 24px; border-radius: 10px; background: var(--gradient); color: #fff; box-shadow: 0 2px 12px rgba(79,143,255,0.25); }
.btn-nav:hover { box-shadow: 0 4px 20px rgba(79,143,255,0.4); }
.btn-full { width: 100%; }

/* HERO */
.hero { padding: 160px 0 100px; position: relative; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79,143,255,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 70% 10%, rgba(132,94,247,0.08) 0%, transparent 50%);
}
.hero::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 800px; height: 800px; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,143,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 740px; margin: 0 auto; text-align: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    border-radius: 100px; background: var(--primary-20); border: 1px solid rgba(79,143,255,0.2);
    font-size: 0.8rem; color: var(--primary-light); font-weight: 500; margin-bottom: 28px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.1;
    letter-spacing: -0.03em; color: #fff; margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,0.6) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin: 0 auto 40px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-contact { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--border); max-width: 400px; margin-left: auto; margin-right: auto; }
.hero-contact .label { font-size: 0.8rem; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-contact .name { color: #fff; font-weight: 600; }
.hero-contact .email { color: var(--muted); }

/* SECTIONS */
section { padding: 100px 0; position: relative; }
section:nth-child(even) { background: var(--bg-2); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: #fff;
    margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-header p { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin: 0 auto; }

/* SERVICES */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
    background: var(--card); border: 1px solid var(--border); border-radius: 16px;
    padding: 28px; transition: all 0.35s; position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}
.card::before {
    content: ''; position: absolute; inset: 0; border-radius: 16px; opacity: 0;
    background: var(--gradient-subtle); transition: opacity 0.35s; pointer-events: none;
}
.card:hover { border-color: rgba(79,143,255,0.2); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--primary-20); display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; color: var(--primary); flex-shrink: 0;
}
.card h3 { font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.card .tag { font-size: 0.78rem; color: var(--primary-light); font-weight: 500; display: block; margin-bottom: 12px; }
.card p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
.card-featured { border-color: rgba(79,143,255,0.15); background: rgba(79,143,255,0.04); }
.card-featured .card-icon { background: rgba(79,143,255,0.2); }

/* WHY */
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.why-left h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: -0.02em; }
.why-left > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 32px; line-height: 1.65; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.contact-card .label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.contact-card .name { font-size: 1.1rem; font-weight: 600; color: #fff; }
.contact-card .company { color: var(--primary-light); font-weight: 500; }
.contact-card .address { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.why-item {
    display: flex; align-items: flex-start; gap: 12px; padding: 16px;
    border-radius: 12px; border: 1px solid var(--border); background: var(--card);
    transition: all 0.25s; min-height: 80px;
}
.why-item:hover { border-color: rgba(79,143,255,0.15); background: var(--card-hover); }
.check-icon {
    width: 24px; height: 24px; min-width: 24px; border-radius: 50%;
    background: var(--primary-20); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 2px; color: var(--primary);
}
.why-title { font-weight: 600; font-size: 0.875rem; color: #fff; line-height: 1.4; }
.why-desc { font-size: 0.75rem; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* PROCESS - TIMELINE */
.timeline { max-width: 680px; margin: 0 auto; position: relative; padding-left: 48px; }
.timeline::before { content: ''; position: absolute; left: 19px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--primary), rgba(132,94,247,0.3), transparent); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-marker {
    position: absolute; left: -48px; top: 0; width: 40px; height: 40px;
    border-radius: 50%; background: var(--bg); border: 2px solid var(--primary);
    display: flex; align-items: center; justify-content: center; z-index: 2;
}
.timeline-marker span { font-size: 0.85rem; font-weight: 700; color: var(--primary); }
.timeline-content {
    background: var(--card); border: 1px solid var(--border); border-radius: 16px;
    padding: 28px; transition: all 0.3s;
}
.timeline-content:hover { border-color: rgba(79,143,255,0.2); background: var(--card-hover); }
.timeline-label { font-size: 0.75rem; font-weight: 600; color: var(--primary-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.timeline-content h3 { font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.timeline-content p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.timeline-tags span {
    font-size: 0.72rem; padding: 4px 12px; border-radius: 100px;
    background: var(--primary-20); color: var(--primary-light); font-weight: 500;
}

@media (max-width: 768px) {
    .timeline { padding-left: 40px; }
    .timeline::before { left: 15px; }
    .timeline-marker { left: -40px; width: 32px; height: 32px; }
    .timeline-marker span { font-size: 0.75rem; }
}

/* ABOUT */
.about-box { max-width: 720px; margin: 0 auto; text-align: center; }
.about-box h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: #fff; margin-bottom: 24px; letter-spacing: -0.02em; }
.about-desc { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 48px; }
.founder-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 36px; }
.founder-avatar {
    width: 84px; height: 84px; border-radius: 50%;
    background: var(--gradient); display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 700; color: #fff; margin: 0 auto 16px;
    box-shadow: 0 4px 24px rgba(79,143,255,0.25);
}
.founder-name { font-size: 1.2rem; font-weight: 600; color: #fff; }
.founder-role { color: var(--primary-light); font-weight: 500; margin-bottom: 24px; }
.founder-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.founder-detail { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; }
.founder-detail svg { color: var(--primary); flex-shrink: 0; }
.founder-detail a { color: var(--muted); transition: color 0.2s; }
.founder-detail a:hover { color: var(--primary-light); }

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--card); transition: border-color 0.25s; }
.faq-item:hover { border-color: rgba(79,143,255,0.15); }
.faq-q {
    width: 100%; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between;
    background: none; border: none; color: #fff; font-weight: 500; font-size: 0.95rem;
    cursor: pointer; text-align: left; font-family: inherit; transition: background 0.2s;
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-q svg { color: var(--muted); flex-shrink: 0; transition: transform 0.25s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 24px 18px; color: var(--muted); font-size: 0.875rem; line-height: 1.65; }
.faq-item.open .faq-a { max-height: 200px; }

/* CONTACT */
.contact-layout { display: grid; grid-template-columns: 2fr 3fr; gap: 24px; max-width: 960px; margin: 0 auto; align-items: start; }
.contact-info-box, .contact-form-box { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.contact-info-box h3, .contact-form-box h3 { font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 24px; }
.contact-row { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-row:last-child { margin-bottom: 0; }
.contact-icon-box {
    width: 42px; height: 42px; min-width: 42px; border-radius: 12px;
    background: var(--primary-20); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--primary);
}
.contact-name { font-weight: 500; color: #fff; font-size: 0.9rem; }
.contact-sub { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.contact-form-box form { display: flex; flex-direction: column; gap: 14px; }
.contact-form-box input, .contact-form-box textarea {
    width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.04);
    border: 1px solid var(--border); border-radius: 12px; color: var(--fg);
    font-size: 0.875rem; font-family: inherit; transition: all 0.25s;
}
.contact-form-box input:focus, .contact-form-box textarea:focus { outline: none; border-color: var(--primary); background: rgba(79,143,255,0.04); }
.contact-form-box input::placeholder, .contact-form-box textarea::placeholder { color: var(--muted); }
.contact-form-box textarea { resize: vertical; min-height: 100px; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 48px 0; background: var(--bg); position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; align-items: start; }
.footer-brand { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand .logo-img { height: 28px; width: auto; }
.footer-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
.footer-heading { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 16px; }
.footer-contact { display: flex; align-items: center; gap: 12px; }
.footer-contact svg { color: var(--primary); }
.footer-contact a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.footer-contact a:hover { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 10px; position: relative; }
.footer-links a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: center; }
.footer-bottom p { font-size: 0.85rem; color: var(--muted); }

/* MOBILE */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 72px; left: 0; width: 100%; background: rgba(5,5,16,0.95); backdrop-filter: blur(20px); flex-direction: column; padding: 20px; gap: 8px; border-bottom: 1px solid var(--border); }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .why-layout { grid-template-columns: 1fr; gap: 32px; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .hero { padding: 130px 0 70px; }
    section { padding: 72px 0; }
}
@media (max-width: 480px) {
    .why-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
}
