/* Global Design Tokens: SaaS Premium Cyber Aesthetic */
:root {
    --bg-main: #020617;      /* Deep Slate/Navy */
    --bg-alt: #0B1120;       /* Lighter Navy */
    --bg-card: #111827;      /* Deep Gray/Blue */
    --border: #1F2937;
    --border-light: #374151;
    --text-main: #F9FAFB;
    --text-muted: #9CA3AF;
    --accent: #38BDF8;       /* Vibrant Cyan */
    --accent-secondary: #818CF8; /* Indigo/Purple */
    --accent-glow: rgba(56, 189, 248, 0.15);
    
    --font-sans: 'Inter', system-ui, sans-serif;
    
    --radius-pill: 50px;
    --radius-card: 16px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Utilities */
* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
html { scroll-behavior: smooth; }

body { background-color: var(--bg-main); color: var(--text-main); font-family: var(--font-sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section { padding: 8rem 0; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.pb-xl { padding-bottom: 6rem; }
.mt-xl { margin-top: 5rem; }
.mt-lg { margin-top: 2.5rem; }
.mt-md { margin-top: 1.5rem; }
.mb-xl { margin-bottom: 5rem; }
.mb-lg { margin-bottom: 2.5rem; }
.mb-md { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.border-bottom { border-bottom: 1px solid var(--border); }
.border-top { border-top: 1px solid var(--border); }
.bg-alt { background-color: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.w-100 { width: 100%; display: block; text-align: center; }

/* Custom Cursor */
.cursor-dot, .cursor-outline { position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); border-radius: 50%; z-index: 9999; pointer-events: none; }
.cursor-dot { width: 6px; height: 6px; background-color: var(--accent); box-shadow: 0 0 10px var(--accent); }
.cursor-outline { width: 40px; height: 40px; border: 1px solid rgba(56, 189, 248, 0.3); transition: width 0.2s, height 0.2s; }
a:hover ~ .cursor-outline, button:hover ~ .cursor-outline, .bento-card:hover ~ .cursor-outline { width: 60px; height: 60px; background-color: var(--accent-glow); border-color: var(--accent); }

/* Typography */
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; }
.hero-title { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.05; margin-bottom: 1.5rem; letter-spacing: -0.03em; font-weight: 600; }
.hero-title span { 
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600; 
}
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 800px; margin: 0 auto 3rem; line-height: 1.5; }
.h2-clean { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.1; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { color: var(--text-muted); }
strong { color: var(--text-main); font-weight: 600; }
.muted-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; color: #555; margin-bottom: 1.5rem; }
.section-desc { font-size: 1.25rem; color: var(--text-muted); max-width: 700px; }

/* Buttons & Links */
.btn-primary, .btn-secondary, .nav-btn {
    display: inline-block; padding: 1.1rem 2.2rem; border-radius: var(--radius-pill);
    font-size: 1rem; font-weight: 500; text-decoration: none; transition: var(--transition); border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-secondary)); color: #ffffff; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px var(--accent-glow); }
.btn-secondary { background: rgba(255,255,255,0.03); color: var(--text-main); border-color: var(--border-light); }
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: var(--accent); }
.nav-btn { padding: 0.7rem 1.8rem; background: var(--text-main); color: var(--bg-main); font-size: 0.95rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; }

.link-arrow { color: var(--text-main); text-decoration: none; display: inline-block; font-weight: 500; transition: var(--transition); border-bottom: 1px solid transparent; }
.link-arrow:hover { padding-left: 5px; border-bottom-color: var(--text-main); }

/* Navigation */
.navbar { position: fixed; top: 1.5rem; left: 0; width: 100%; display: flex; justify-content: center; z-index: 100; }
.nav-container { 
    background: rgba(17, 17, 17, 0.6); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border); border-radius: var(--radius-pill);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.5rem 0.5rem 0.5rem 2rem; max-width: 1000px; width: 90%;
}
.logo { font-weight: 600; font-size: 1.1rem; color: var(--text-main); text-decoration: none; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--text-main); }

/* Layout Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-about { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; }

/* Bento Cards */
.bento-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 3rem; transition: var(--transition); display: flex; flex-direction: column; }
.bento-card:hover { border-color: var(--border-light); transform: translateY(-5px); }
.icon-circle { width: 50px; height: 50px; border-radius: 50%; background: var(--bg-main); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 2rem; }

/* Clean Lists */
.clean-list { list-style: none; margin-left: 0; padding-left: 0; }
.clean-list li { position: relative; padding: 1rem 0; border-bottom: 1px solid var(--border); color: var(--text-muted); line-height: 1.5; }
.clean-list li:last-child { border-bottom: none; }

/* Image Containers & Glows */
.p-0 { padding: 0 !important; }
.overflow-hidden { overflow: hidden !important; }
.about-visual-card { border-color: var(--accent-secondary); box-shadow: 0 10px 30px rgba(129, 140, 248, 0.1); }

/* Specific Components */
.hero-section {
    position: relative;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(2, 6, 23, 0.75) 0%, rgba(2, 6, 23, 0.98) 100%);
    z-index: -1;
}
.hero-section .container { position: relative; z-index: 2; }
.pt-header { padding-top: 14rem; }
.proof-logos { display: flex; justify-content: center; gap: 1.5rem; font-size: 1.1rem; font-weight: 500; color: #666; flex-wrap: wrap; }
.stat-block .stat-number { font-size: 5rem; font-weight: 600; color: var(--text-main); line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.05em; }
.stat-block .stat-label { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.quote { font-size: 1.5rem; line-height: 1.5; color: var(--text-main); margin-bottom: 1.5rem; font-style: italic; }

.cta-banner { background: var(--bg-card); padding: 4rem; border-radius: var(--radius-card); border: 1px solid var(--border); text-align: center; }

/* Flow Chart (Methodology) */
.flow-chart { display: flex; justify-content: space-between; position: relative; gap: 1rem; }
.flow-chart::before { content: ''; position: absolute; top: 25px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--bg-main), var(--border), var(--accent), var(--border), var(--bg-main)); z-index: 0; }
.flow-step { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 1rem; }
.step-num { width: 50px; height: 50px; margin: 0 auto 1.5rem; background: var(--bg-card); border: 2px solid var(--border-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 600; color: var(--text-main); transition: var(--transition); }
.flow-step:hover .step-num { border-color: var(--accent); box-shadow: 0 0 20px var(--accent-glow); color: var(--accent); }
.flow-step h4 { margin-bottom: 0.5rem; letter-spacing: 0.1em; }
.flow-step p { font-size: 0.95rem; }

/* About Quote */
.about-quote { border-left: 2px solid var(--border-light); padding-left: 2rem; font-size: 1.4rem; font-style: italic; color: var(--text-main); margin: 3rem 0; }

/* Web Forms Config */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.5rem; }
.form-control { width: 100%; background: var(--bg-main); border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.5rem; color: var(--text-main); font-family: var(--font-sans); font-size: 1rem; transition: var(--transition); }
.form-control:focus { outline: none; border-color: #555; background: #000; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 3rem; padding-bottom: 3rem; text-align: center; color: #555; font-size: 0.9rem; }
.hover-scale { transition: var(--transition); display: inline-block; }
.hover-scale:hover { transform: scale(1.05); }

/* Animations */
.fade-up { opacity: 1; transform: translateY(0); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Responsive adjustments */
@media (max-width: 1000px) {
    .nav-links { display: none; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-about { grid-template-columns: 1fr; }
    .flow-chart { flex-direction: column; }
    .flow-chart::before { display: none; }
    .flow-step { text-align: left; display: flex; align-items: flex-start; gap: 2rem; margin-bottom: 2rem; }
    .step-num { margin: 0; flex-shrink: 0; }
}
