/* ==========================================================================
   AI Narratives
   Design System
   Version: 1.0
   Research Publication Platform

   Developed by
   Zytrix Core Systems Enterprise
   ========================================================================== */

/* ==========================================================================
   CSS RESET
   ========================================================================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ==========================================================================
   ROOT VARIABLES
   ========================================================================== */

:root{

    /* Brand */

    --primary:#111827;
    --secondary:#1F2937;
    --accent:#2563EB;
    --success:#16A34A;
    --warning:#F59E0B;
    --danger:#DC2626;

    /* Neutral */

    --white:#FFFFFF;
    --background:#F8FAFC;
    --surface:#FFFFFF;

    --gray50:#F9FAFB;
    --gray100:#F3F4F6;
    --gray200:#E5E7EB;
    --gray300:#D1D5DB;
    --gray400:#9CA3AF;
    --gray500:#6B7280;
    --gray600:#4B5563;
    --gray700:#374151;
    --gray800:#1F2937;
    --gray900:#111827;

    /* Typography */

    --font-heading:
    "IBM Plex Sans",
    Arial,
    sans-serif;

    --font-body:
    "Inter",
    Arial,
    sans-serif;

    --font-mono:
    "IBM Plex Mono",
    monospace;

    /* Layout */

    --container:1280px;

    --radius-sm:6px;
    --radius:10px;
    --radius-lg:18px;

    /* Shadows */

    --shadow-sm:
    0 2px 4px rgba(0,0,0,.06);

    --shadow:
    0 8px 24px rgba(0,0,0,.08);

    --shadow-lg:
    0 18px 40px rgba(0,0,0,.12);

    /* Transition */

    --transition:.25s ease;

}

/* ==========================================================================
   HTML
   ========================================================================== */

html{

    scroll-behavior:smooth;

}

/* ==========================================================================
   BODY
   ========================================================================== */

body{

    background:var(--background);

    color:var(--gray900);

    font-family:var(--font-body);

    font-size:16px;

    line-height:1.7;

}

/* ==========================================================================
   LINKS
   ========================================================================== */

a{

    color:var(--accent);

    text-decoration:none;

    transition:var(--transition);

}

a:hover{

    opacity:.82;

}

/* ==========================================================================
   HEADINGS
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6{

    font-family:var(--font-heading);

    color:var(--primary);

    line-height:1.25;

    margin-bottom:18px;

}

h1{

    font-size:48px;

}

h2{

    font-size:36px;

}

h3{

    font-size:28px;

}

h4{

    font-size:22px;

}

/* ==========================================================================
   PARAGRAPH
   ========================================================================== */

p{

    margin-bottom:20px;

}

/* ==========================================================================
   IMAGES
   ========================================================================== */

img{

    max-width:100%;

    display:block;

}

/* ==========================================================================
   CONTAINER
   ========================================================================== */

.container{

    width:92%;

    max-width:var(--container);

    margin:auto;

}

/* ==========================================================================
   SECTION
   ========================================================================== */

section{

    padding:80px 0;

}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    padding:14px 24px;

    border:none;

    border-radius:var(--radius);

    cursor:pointer;

    background:var(--primary);

    color:white;

    font-weight:600;

    transition:var(--transition);

}

.btn:hover{

    transform:translateY(-2px);

    box-shadow:var(--shadow);

}

.btn-outline{

    background:white;

    color:var(--primary);

    border:1px solid var(--gray300);

}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card{

    background:var(--surface);

    border-radius:var(--radius-lg);

    padding:30px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-6px);

}

/* ==========================================================================
   FORMS
   ========================================================================== */

input,
textarea,
select{

    width:100%;

    padding:14px;

    border:1px solid var(--gray300);

    border-radius:var(--radius);

    font-family:inherit;

    font-size:15px;

}

textarea{

    resize:vertical;

}

/* ==========================================================================
   TABLES
   ========================================================================== */

table{

    width:100%;

    border-collapse:collapse;

}

th,
td{

    padding:14px;

    border-bottom:1px solid var(--gray200);

    text-align:left;

}

/* ==========================================================================
   CODE BLOCKS
   ========================================================================== */

code,
pre{

    font-family:var(--font-mono);

}

pre{

    background:#0F172A;

    color:#F8FAFC;

    padding:20px;

    border-radius:12px;

    overflow:auto;

}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer{

    background:var(--primary);

    color:white;

    padding:50px 0;

}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.text-center{

    text-align:center;

}

.mt-1{margin-top:10px;}
.mt-2{margin-top:20px;}
.mt-3{margin-top:30px;}
.mt-4{margin-top:40px;}

.mb-1{margin-bottom:10px;}
.mb-2{margin-bottom:20px;}
.mb-3{margin-bottom:30px;}
.mb-4{margin-bottom:40px;}

.hidden{

    display:none;

}

/* ==========================================================================
   END
   ========================================================================== */