:root {
    --blue-dark: #0b0f1a;
    --accent: #38bdf8;
    --text-light: #f8fafc;
    --text-dark: #1e293b;
    --white: #ffffff;

    --anim-duration-fast: 600ms;
    --anim-duration-med: 1.6s;
    --anim-duration-slow: 5s;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    background: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* =========================
   SCROLL REVEAL
========================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
    filter: blur(6px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* =========================
   NAV
========================= */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(11, 15, 26, 0.9);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.logo span { color: var(--accent); }

.cta-btn {
    background: var(--accent);
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

/* =========================
   HERO
========================= */
.hero {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
}

.bg-split-dark {
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    background: var(--blue-dark);
    z-index: 1;
}

.bg-split-light {
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background: #f1f5f9;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    padding: 0 5%;
    align-items: center;
}

.hero-content-left {
    flex: 1;
    position: relative;
    z-index: 5;
    margin-right: -60px;
}

.hero-content-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.slogan {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    font-weight: 800;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(90deg, var(--accent), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-image {
    width: 400px;
    max-width: 90%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    margin-left: 40px;
}

/* =========================
   MAIN SPLIT
========================= */
.content-split {
    background: linear-gradient(90deg, var(--blue-dark) 50%, var(--white) 50%);
    padding: 80px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

/* LEFT COLUMN */
.column-left { color: var(--text-light); }

.card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 25px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

.dark-card h3 {
    color: var(--accent);
    margin-bottom: 15px;
}

.card ul { list-style: none; }

.card ul li::before {
    content: "→";
    color: var(--accent);
    margin-right: 10px;
    font-weight: bold;
}

.contact-card {
    border: 2px solid var(--accent);
    background: rgba(56, 189, 248, 0.1);
    scroll-margin-top: 120px;
}

/* RIGHT COLUMN */
.column-right { padding-left: 20px; }

.main-heading {
    font-size: 2.5rem;
    color: var(--blue-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.lead {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.article-section { margin-bottom: 40px; }

.article-section h3 {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.highlight-section {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--accent);
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 40px;
    background: var(--blue-dark);
    color: #64748b;
    font-size: 0.9rem;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {
    .hero { height: auto; padding-top: 120px; }
    .bg-split-light { display: none; }
    .bg-split-dark { width: 100%; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content-left { margin-right: 0; }
    .hero-image { margin-left: 0; margin-top: 40px; }
    .content-split { background: var(--blue-dark); }
    .split-grid { grid-template-columns: 1fr; }
    .column-right { color: #fff; padding: 40px 0; }
    .column-right .main-heading { color: #fff; }
    .column-right .article-section { color: #cbd5e1; }
}

/* =========================
   ADVANCED ANIMATIONS
========================= */

@keyframes floatY {
    0% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
    100% { transform: translateY(0); }
}

.float { animation: floatY var(--anim-duration-slow) ease-in-out infinite; }

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-shimmer {
    background: linear-gradient(90deg, var(--accent), #7c3aed);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
}

.btn-animated {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-animated:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(56,189,248,0.35);
}

/* =========================
   ACCESSIBILITY
========================= */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}
