/* ==========================================================================
   CSS Variables & Design Tokens (Prota2Go B2B Premium Theme)
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary: #0395d8; /* Prota2Go Blue */
    --primary-hover: #0277ad;
    
    /* Dark Theme Surface Colors (Zinc scale) */
    --bg-base: #09090b; 
    --bg-surface: #18181b;
    --border-subtle: #27272a;
    --border-hover: rgba(3, 149, 216, 0.5);
    
    /* Typography Colors */
    --text-main: #fafafa;
    --text-muted: #a1a1aa;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing (8pt Grid System) */
    --space-sm: 0.5rem;   /* 8px */
    --space-md: 1.5rem;   /* 24px */
    --space-lg: 3rem;     /* 48px */
    --space-xl: 6rem;     /* 96px */
    --space-2xl: 10rem;   /* 160px */
    
    /* UI Adjustments */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--border-subtle) var(--bg-base);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-subtle); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section { padding: var(--space-2xl) 0; }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.p-0 { padding: 0 !important; }
.overflow-hidden { overflow: hidden; }

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
}

h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
h3 { font-size: 1.75rem; }

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    max-width: 65ch;
}

.text-brand { color: var(--primary); }

/* ==========================================================================
   Components (Solid B2B Elements)
   ========================================================================== */
.solid-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: var(--transition);
}

.solid-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px -10px rgba(3, 149, 216, 0.15);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
}
.btn-outline:hover { background: var(--bg-surface); border-color: var(--primary); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
    background: rgba(3, 149, 216, 0.1);
    color: var(--primary);
    border: 1px solid rgba(3, 149, 216, 0.2);
}

/* ==========================================================================
   Layout Sections
   ========================================================================== */
/* Navigation */
.solid-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.25rem 0;
    transition: var(--transition);
}

.nav-content { display: flex; justify-content: space-between; align-items: center; }

.brand-logo { max-height: 48px; width: auto; transition: var(--transition); }
.brand-logo:hover { opacity: 0.8; }
.footer-logo { max-height: 56px; margin-bottom: 1.5rem; opacity: 0.5; filter: grayscale(100%); transition: var(--transition); }
.footer-logo:hover { opacity: 1; filter: none; }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); }
.nav-links a:hover { color: var(--text-main); }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; width: 32px; height: 24px; position: relative; z-index: 1001; }
.mobile-menu-btn span { position: absolute; width: 100%; height: 2px; background: var(--text-main); transition: var(--transition); }
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 11px; }
.mobile-menu-btn span:nth-child(3) { top: 22px; }

/* Asymmetrical Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 120px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.hero-text { position: relative; z-index: 2; }
.hero-buttons { display: flex; gap: 1.5rem; margin-top: var(--space-lg); }
.hero-visual { position: relative; z-index: 1; }

.hero-img {
    width: 100%; height: auto; object-fit: cover;
    transform: scale(1.1);
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.8));
}

.floating-badge {
    position: absolute; bottom: -2rem; left: -2rem;
    background: var(--bg-surface); border: 1px solid var(--border-subtle);
    padding: 1.5rem; border-radius: var(--radius-md);
    display: flex; align-items: center; gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.floating-badge .icon { font-size: 1.5rem; color: var(--primary); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: rgba(3, 149, 216, 0.1); }
.floating-badge div { display: flex; flex-direction: column; }
.floating-badge strong { font-size: 1rem; color: var(--text-main); }
.floating-badge span { font-size: 0.85rem; color: var(--text-muted); }

/* Showcase Section */
.showcase-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: center; }
.specs-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1rem; margin-top: var(--space-lg); }
.spec-item { padding: 1.5rem; background: transparent; border-left: 2px solid var(--border-subtle); transition: var(--transition); }
.spec-item:hover { border-color: var(--primary); background: var(--bg-surface); }
.spec-item strong { display: block; font-size: 1.5rem; color: var(--text-main); font-family: var(--font-heading); }
.spec-item span { font-size: 0.95rem; color: var(--text-muted); }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); filter: contrast(1.1) brightness(0.9); }

.feature-list { margin-top: var(--space-lg); display: flex; flex-direction: column; gap: 2rem; }
.feature-list li { display: flex; gap: 1.5rem; align-items: flex-start; }
.feature-list .icon-wrapper { min-width: 32px; height: 32px; border-radius: var(--radius-sm); background: rgba(3, 149, 216, 0.1); display: flex; align-items: center; justify-content: center; color: var(--primary); border: 1px solid rgba(3, 149, 216, 0.2); }
.feature-list p { font-size: 1rem; margin-bottom: 0; }
.feature-list strong { font-size: 1.2rem; color: var(--text-main); display: block; margin-bottom: 0.25rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: var(--space-xl); }
.service-icon { width: 56px; height: 56px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--primary); background: rgba(3, 149, 216, 0.1); margin-bottom: 2rem; }

/* Contact Section */
.contact-box { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6rem; padding: var(--space-xl); background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.contact-details { margin-top: var(--space-lg); display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; color: var(--text-muted); }
.contact-item .icon-wrapper { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: var(--bg-base); border: 1px solid var(--border-subtle); color: var(--text-main); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.form-group input, .form-group textarea { width: 100%; padding: 1.25rem; border-radius: var(--radius-sm); background: var(--bg-base); border: 1px solid var(--border-subtle); color: var(--text-main); font-family: inherit; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }

/* Footer */
footer { border-top: 1px solid var(--border-subtle); padding: var(--space-xl) 0 var(--space-md); background: var(--bg-surface); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; margin-bottom: var(--space-xl); }
.footer-links { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-links a { font-weight: 500; color: var(--text-muted); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding-top: var(--space-lg); border-top: 1px solid var(--border-subtle); color: var(--text-muted); display: flex; justify-content: space-between; align-items: center;}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { opacity: 0; animation: fadeInUp 0.8s ease-out forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .showcase-grid, .contact-box { grid-template-columns: 1fr; gap: 3rem; }
    .contact-box { padding: var(--space-lg); }
    .hero { text-align: left; padding-top: 140px; }
    .hero-visual, .about-visual { order: -1; }
    .specs-grid { grid-template-columns: repeat(3, 1fr); border-left: none; }
    .spec-item { border-left: none; border-top: 2px solid var(--border-subtle); padding: 1.5rem 0; }
    .floating-badge { bottom: -1rem; left: 1rem; right: 1rem; }
}
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--bg-base); flex-direction: column; justify-content: center; align-items: center; transition: var(--transition); }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 2rem; font-family: var(--font-heading); }
    .nav-cta { display: none; }
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg); top: 11px; }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg); top: 11px; }
    .specs-grid { grid-template-columns: 1fr; }
    .contact-box { padding: var(--space-md); gap: 2rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; flex-direction: column; }
    .footer-bottom { flex-direction: column; gap: 1rem; }
    h1 { font-size: 3rem; }
}
