:root {
    --primary: #030712; /* Very Deep Navy */
    --secondary: #111827; /* Slate 900 */
    --accent: #7CB342; /* Action Green (Yellow-leaning Success Green) */
    --btn-blue: #3B82F6; /* Royal Blue */
    --btn-blue-hover: #2563EB;
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --border: rgba(255, 255, 255, 0.08);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    color: #fff;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
}

.content-sidebar-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

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

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.25rem;
    border-radius: 50px; /* Pill Shape */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--btn-blue);
    color: #ffffff !important;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    background-color: var(--btn-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

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

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

.btn-outl.invalid-field::placeholder {
    color: rgba(239, 68, 68, 0.6);
}

/* Global Focus Styles */
input:focus, select:focus, textarea:focus {
    border-color: #fff !important;
    outline: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent) !important;
}

/* Footer */
footer {
    background: var(--secondary);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Cards & Frameworks */
.card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

/* Animations */
@keyframes pulsate {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(197, 160, 89, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

.btn-pop {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    background: var(--accent);
    color: var(--primary);
    font-weight: 800;
    border-radius: 50px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: pulsate 3s infinite ease-in-out;
    margin-top: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--accent);
}

.btn-pop:hover {
    background: #fff;
    color: var(--primary);
    transform: scale(1.05);
    border-color: #fff;
}

.flowchart-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    position: relative;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 900px) {
    .flowchart-container { flex-direction: column; }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 1rem;
        margin-top: 1rem;
        justify-content: center;
    }
    nav { flex-direction: column; }
    h1 { font-size: 2.5rem !important; }
    h1 span.subtitle { font-size: 1.75rem !important; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--secondary);
    border-top: 1px solid var(--accent);
    padding: 2rem;
    z-index: 9999;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.active {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text h5 { margin-bottom: 0.5rem; color: #fff; }
.cookie-text p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.cookie-btn-accept { background: var(--accent); color: var(--primary); }
.cookie-btn-reject { background: transparent; border: 1px solid var(--border); color: #fff; }
.cookie-btn-manage { background: transparent; color: var(--accent); text-decoration: underline; padding: 0.75rem 0.5rem; }

@media (max-width: 768px) {
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-buttons { flex-direction: column; width: 100%; }
}

/* Share Links */
.share-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

@keyframes social-glow {
    0%   { box-shadow: 0 0 4px rgba(124, 179, 66, 0.4); transform: scale(1); }
    50%  { box-shadow: 0 0 14px rgba(124, 179, 66, 0.85), 0 0 28px rgba(124, 179, 66, 0.4); transform: scale(1.08); }
    100% { box-shadow: 0 0 4px rgba(124, 179, 66, 0.4); transform: scale(1); }
}

.share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(124, 179, 66, 0.1);
    border: 1px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    transition: all 0.3s ease;
    animation: social-glow 2.5s ease-in-out infinite;
}
.share-links a:nth-child(2) { animation-delay: 0.3s; }
.share-links a:nth-child(3) { animation-delay: 0.6s; }
.share-links a:nth-child(4) { animation-delay: 0.9s; }

.share-links a:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: translateY(-3px) scale(1.12);
    box-shadow: 0 0 18px rgba(124, 179, 66, 1);
    animation: none;
}
.share-links svg {
    width: 20px;
    height: 20px;
}

/* Global Mobile Fixes for Overflow & Margin */
@media (max-width: 768px) {
    main { margin-top: 8rem; }
    .card { padding: 1.5rem !important; }
    .h-captcha { overflow: hidden; display: flex; justify-content: center; }
}

a { word-break: break-word; }

/* Enhanced Mobile Anchor Scrolling */
@media (max-width: 768px) {
    #contact { scroll-margin-top: 15rem; }
}
