/* RESET & BASE VARIABLES */
:root {
    --bg-color: #030712;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --accent-primary: #6366f1;
    --accent-secondary: #ec4899;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', sans-serif;
    --max-width: 1100px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* UTILITIES */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, #a5b4fc 0%, #e879f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* BACKGROUND EFFECTS */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -100px;
    left: -100px;
    animation: flow 20s infinite alternate;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -100px;
    right: -100px;
    animation: flow 25s infinite alternate-reverse;
}

@keyframes flow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

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

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

.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--text-primary);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px; /* Pill shape */
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
    position: relative;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.headline {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* SECTIONS COMMON */
.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* GRID LAYOUTS */
.grid {
    display: grid;
    gap: 2rem;
}

.col-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.col-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* CARDS */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* WARNING BOX */
.warning-box {
    margin-top: 3rem;
    padding: 1.5rem;
    border-left: 3px solid #ef4444;
    background: rgba(239, 68, 68, 0.05);
    display: flex;
    gap: 1rem;
    border-radius: 0 12px 12px 0;
    align-items: flex-start;
}

.warning-box .source {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* FEATURE ROW */
.feature-row {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
}

.feature-content {
    flex: 1;
    min-width: 250px;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* DIAGRAM SECTION */
.diagram-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 4rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    flex-wrap: wrap;
}

.node {
    padding: 1.5rem 2.5rem;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 140px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.sentinel {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid var(--accent-primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.sentinel .logo-text {
    background: linear-gradient(to right, #a5b4fc, #e879f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.sentinel .sub-text {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.arrow {
    flex-grow: 1;
    height: 2px;
    background: #334155;
    position: relative;
    max-width: 100px;
}

.arrow::after {
    content: '▶';
    position: absolute;
    right: -6px;
    top: -8px;
    color: #334155;
    font-size: 0.8rem;
}

.diagram-caption {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* FACTS SECTION */
.fact-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.fact-item:hover {
    transform: scale(1.05);
}

.fact-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.fact-label {
    font-weight: 500;
    color: var(--text-secondary);
}

/* CTA FINAL */
.cta-section {
    text-align: center;
    padding-bottom: 10rem;
}

.cta-container h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-container p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

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

.link-highlight {
    color: var(--accent-primary);
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

.link-highlight:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* FOOTER */
.footer {
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #4b5563;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

/* ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
    .hidden {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .headline {
        font-size: 2.75rem;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .diagram-container {
        flex-direction: column;
    }
    
    .arrow {
        width: 2px;
        height: 40px;
        max-width: 2px;
    }

    .arrow::after {
        transform: rotate(90deg);
        right: -5px;
        top: 32px;
    }
}
