@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --cream: #f4f7f9; 
    --ink: #111111;
    --accent: #ff4d00;
    --grey: #888;
}

/* --- BASE STYLES --- */
html { scroll-behavior: smooth; }
body { 
    margin: 0; 
    font-family: 'Inter', sans-serif; 
    background: var(--cream); 
    color: var(--ink); 
    overflow-x: hidden; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

h1, h2, h3, .code-text { 
    font-family: 'Playfair Display', serif !important; 
}

/* --- HERO SECTION --- */
.hero-v2 { padding: 40px 0; padding-bottom: 20px;}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

h1 { 
    font-size: clamp(2rem, 6vw, 3rem); 
    line-height: 1.2; 
    margin: 10px 0; 
}

/* Updated Logo Styling - Fixing the "bad" look */
.logo-inline {
    height: 1.3em !important; 
    width: auto;
    vertical-align: -0.25em;
    mix-blend-mode: multiply;
    background: transparent !important;
    display: inline-block;
    /* Removed the 12em and 1.5 scale which was distorting it */
}

.hero-desc { color: var(--grey); font-size: 1.1rem; line-height: 1.6; margin-bottom: 30px; max-width: 500px; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }

/* --- GLASS VISUALS --- */
.hero-visual-side {
    padding-top: 30px;
    display: flex;
    justify-content: center;
}

.glass-container { 
    position: relative; 
    width: 100%;
    max-width: 400px; 
    height: 400px;
}

.glass-doc { 
    position: absolute; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(12px); 
    border: 1px solid rgba(0, 0, 0, 0.05); 
    padding: 25px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
    box-sizing: border-box;
}

/* --- FUNCTIONAL HERO VISUALS (The Scanner) --- */
.hero-visual-side {
    padding-top: 30px;
    display: flex;
    justify-content: center;
    position: relative;
}

.glass-container { 
    position: relative; 
    width: 100%;
    max-width: 450px; 
    height: 400px;
}

/* The Main Document being 'Scanned' */
.doc-main {
    width: 280px;
    height: 350px;
    top: 0;
    left: 50px;
    z-index: 5;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden; /* Clips the scan-bar */
    position: absolute;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    padding: 30px;
}

/* The Animated Laser Scan Line */
.scan-bar {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(255, 77, 0, 0.15), 
        rgba(255, 77, 0, 0.4), 
        transparent);
    border-bottom: 3px solid var(--accent);
    z-index: 6;
    animation: scanMove 4s infinite ease-in-out;
}

@keyframes scanMove {
    0%, 100% { top: -10%; }
    50% { top: 90%; }
}

/* Floating Extraction Chips */
.data-chip {
    position: absolute;
    padding: 10px 18px;
    background: var(--ink);
    color: white;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.1);
}

.chip-1 { top: 40px; right: 0; animation: float 5s infinite ease-in-out; }
.chip-2 { top: 140px; right: -40px; animation: float 6s infinite ease-in-out 1s; }
.chip-3 { bottom: 80px; left: -20px; animation: float 5.5s infinite ease-in-out 0.5s; }

/* The Animated Checkmark Glow */
.doc-3 {
    width: 70px !important;
    height: 70px !important;
    top: 290px !important;
    left: 300px !important;
    background: var(--accent) !important;
    color: white !important;
    border: none !important;
    font-size: 1.8rem !important;
    z-index: 11 !important;
    animation: pulseCheck 2s infinite !important;
}

@keyframes pulseCheck {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.5); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(255, 77, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 0, 0); }
}
.doc-3 {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 240px;
    left: 280px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    border: 2px solid var(--accent);
    box-shadow: 0 10px 20px rgba(255, 77, 0, 0.2);
    animation: float 6s infinite ease-in-out 2s;
    color: var(--accent);
    font-weight: bold;
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- BEAUTIFIED CAPABILITIES GRID (No Numbers) --- */
.box-section { 
    padding: 100px 0; 
    background: radial-gradient(circle at top right, rgba(255,77,0,0.03), transparent 400px),
                radial-gradient(circle at bottom left, rgba(255,77,0,0.02), transparent 400px);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.creative-box {
    background: rgba(255, 255, 255, 0.6); /* Translucent glass */
    backdrop-filter: blur(10px);
    padding: 60px 45px;
    border: 1px solid rgba(0, 0, 0, 0.03); /* Extremely faint border */
    border-radius: 24px; /* More rounded, modern corners */
    position: relative;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
}

.creative-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px; /* The thickness of the 'inner glow' */
    background: linear-gradient(135deg, rgba(255,255,255,0.8), transparent, rgba(255,77,0,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Beautiful Accent Bar instead of Numbers */
.creative-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.creative-box:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 77, 0, 0.15);
}

.creative-box:hover::after {
    transform: scaleX(1);
}

.creative-box h3 {
    font-size: 1.85rem;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, var(--ink), #444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.creative-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
}

/* --- BUTTONS --- */
.btn-main, .btn-sub {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 35px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-main { background: var(--ink); color: white; border: 2px solid var(--ink); }
.btn-main:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.btn-sub { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-sub:hover { background: #fff; border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* --- LOGIN PAGE --- */
.entry-wrapper {
    min-height: 80vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.entry-card {
    background: white;
    padding: 50px;
    width: 100%;
    max-width: 420px;
    border: 1px solid #eee;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    text-align: center;
    border-radius: 8px;
}

.entry-input {
    width: 100%;
    height: 50px;
    margin-bottom: 15px;
    padding: 0 15px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    border-radius: 4px;
}

.captcha-box {
    background: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    border: 1px solid #eee;
}

.captcha-box .code-text{
    padding-bottom: 5px;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 30px; }
    .hero-btns { justify-content: center; }
}

@media (max-width: 768px) {
    .capabilities-grid { grid-template-columns: 1fr; }
    nav a:not([style*="background"]) { display: none; }
}