/* =========================================================================
   VARIABLES & DESIGN SYSTEM
   ========================================================================= */
   :root {
    --font-primary: 'Outfit', sans-serif;
    
    /* Colors - Premium Dark Mode B2B */
    --bg-base: #050505;
    --bg-surface: #111111;
    --bg-glass: rgba(25, 25, 25, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --text-main: #fbfbfb;
    --text-muted: #a1a1aa;
    
    --brand-primary: #0070f3; /* Trustworthy blue */
    --brand-accent: #7928ca; /* Innovative purple */
    --brand-gradient: linear-gradient(135deg, #0070f3 0%, #7928ca 100%);
    
    --semantic-success: #10b981;
    --semantic-error: #ef4444;
    --semantic-warning: #f59e0b;
    
    /* Spacing & Utilities */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================================================
   GLOBAL RESET
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

ul {
    list-style: none;
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-red {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-green { color: var(--semantic-success); }
.text-red { color: var(--semantic-error); }
.text-center { text-align: center; }

/* =========================================================================
   LAYOUT & CONTAINERS
   ========================================================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 100px 0;
    position: relative;
}

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mt-4 { margin-top: 2rem; }
.relative { position: relative; }

/* =========================================================================
   COMPONENTS
   ========================================================================= */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 112, 243, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 112, 243, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 112, 243, 0.1);
    border: 1px solid rgba(0, 112, 243, 0.2);
    border-radius: var(--radius-pill);
    color: #60a5fa;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #60a5fa;
    box-shadow: 0 0 10px #60a5fa;
    animation: pulse 2s infinite;
}

/* Form Input Glass */
.input-glass {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-pill);
    padding: 1rem 1.5rem;
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.input-glass:focus {
    border-color: var(--brand-primary);
    background: rgba(0, 112, 243, 0.05);
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: auto;
    width: auto;
    border: none;
    border-radius: 0;
    outline: none;
    background: transparent;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-main);
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn {
        display: none;
    }
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
}

.hero-glow.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--brand-primary);
    top: -100px;
    left: -100px;
}

.hero-glow.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--brand-accent);
    bottom: -100px;
    right: -100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Visual (Dashboard Mockup) */
.main-dashboard {
    padding: 1.5rem;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.main-dashboard:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.traffic-lights {
    display: flex;
    gap: 6px;
}

.traffic-lights span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.traffic-lights span:nth-child(1) { background: #ff5f56; }
.traffic-lights span:nth-child(2) { background: #ffbd2e; }
.traffic-lights span:nth-child(3) { background: #27c93f; }

.dashboard-title {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.data-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 0.5rem;
}

.node {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.node.raw-data {
    color: var(--text-muted);
    border-style: dashed;
}

.node.cleaning {
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.3);
}

.node.ai-ready.active-glow {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--semantic-success);
    color: var(--semantic-success);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.connection {
    color: var(--text-muted);
    opacity: 0.5;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.metric-card {
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--brand-primary);
}
.progress.bg-green { background: var(--semantic-success); }


@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }
    .badge { margin: 0 auto 2rem; }
    .main-dashboard { transform: none; margin-top: 2rem;}
}

@media (max-width: 576px) {
    .hero-actions { flex-direction: column; }
    .data-flow { flex-direction: column; }
    .connection i { transform: rotate(90deg); }
}

/* =========================================================================
   PROBLEM / SOLUTION SECTION
   ========================================================================= */
.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.highlight-text {
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 500;
    border-left: 3px solid var(--semantic-error);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.comparison-card {
    display:flex;
    flex-direction: column;
    gap: 1rem;
}

.card-half {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.card-half.before {
    background: rgba(30, 20, 20, 0.4);
    border-color: rgba(239, 68, 68, 0.2);
}

.card-half.after {
    background: rgba(20, 30, 25, 0.4);
    border-color: rgba(16, 185, 129, 0.2);
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.error { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.status-badge.success { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }

.chaos-visual, .organized-visual {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.chaos-lines {
    flex: 1;
    height: 40px;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(239, 68, 68, 0.2) 10px, rgba(239, 68, 68, 0.2) 20px);
    border-radius: var(--radius-sm);
}

.chart-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 60px;
}

.bar {
    flex: 1;
    background: var(--semantic-success);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    opacity: 0.8;
}

.bar.h-40 { height: 40%; }
.bar.h-70 { height: 70%; }
.bar.h-100 { height: 100%; box-shadow: 0 0 15px rgba(16, 185, 129, 0.4); }

@media (max-width: 992px) {
    .split-container { grid-template-columns: 1fr; }
}

/* =========================================================================
   SERVICES SECTION
   ========================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(0, 112, 243, 0.1);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon.microsoft-icon {
    background: rgba(255, 255, 255, 0.05);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 0;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   DIFFERENTIATORS SECTION
   ========================================================================= */
.differentiators {
    background: linear-gradient(to bottom, transparent, rgba(0, 112, 243, 0.03), transparent);
}

.bg-glow.absolute-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: var(--brand-primary);
    filter: blur(150px);
    border-radius: 50%;
    opacity: 0.15;
    z-index: -1;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    text-align: center;
}

.diff-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition);
}

.diff-item:hover .diff-icon-wrapper {
    background: var(--brand-gradient);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(121, 40, 202, 0.4);
    transform: scale(1.05);
}

.diff-item p {
    font-size: 1rem;
}

@media (max-width: 992px) {
    .diff-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   NEWS SECTION
   ========================================================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: rgba(35, 35, 35, 0.7);
}

.news-card:hover .news-thumbnail img {
    transform: scale(1.05);
}

.news-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-glass);
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-content {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-source {
    background: rgba(0, 112, 243, 0.1);
    color: #60a5fa;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.news-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.news-relevant {
    font-size: 0.85rem;
    color: var(--brand-primary);
    background: rgba(0, 112, 243, 0.05);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    border-left: 2px solid var(--brand-primary);
    flex-grow: 1;
}

.news-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.news-card:hover .news-footer {
    gap: 0.75rem;
}

@media (max-width: 992px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .news-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   CTA SECTION & FOOTER
   ========================================================================= */
.cta-box {
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.premium-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--brand-primary), transparent 30%);
    animation: rotate 10s linear infinite;
    z-index: -1;
    opacity: 0.15;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-form {
    margin-top: 2rem;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 576px) {
    .input-group { flex-direction: column; }
    .cta-box { padding: 2rem 1.5rem; }
}

.footer {
    border-top: 1px solid var(--border-glass);
    padding: 4rem 0 2rem;
    margin-top: 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.link-col h5 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.link-col ul li {
    margin-bottom: 0.75rem;
}

.link-col a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.link-col a:hover {
    color: var(--brand-primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
}

/* =========================================================================
   ANIMATIONS
   ========================================================================= */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(96, 165, 250, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.icon-spin {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.icon-shake {
    animation: shake 2.5s cubic-bezier(.36,.07,.19,.97) infinite;
    transform: translate3d(0, 0, 0);
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.icon-pulse {
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); color: var(--semantic-success); }
    100% { transform: scale(1); }
}

/* Reveal Animations Classes (Triggered via JS) */
.fade-in-up, .reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up, .reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.active.fade-in-up, 
.active.reveal-up, 
.active.reveal-left, 
.active.reveal-right {
    opacity: 1;
    transform: translate(0);
}
