/* ==================================================
   TrirectorPro Personal — Premium Theme
   Clean • Aspirational • Professional
================================================== */

/* ===============================
   DESIGN TOKENS
================================ */
:root {
    --bg-main: #f8fafc;
    --bg-accent: #eef2ff;
    --surface: #ffffff;

    --primary: #2563eb;
    --primary-dark: #1e40af;

    --text-main: #0f172a;
    --text-muted: #475569;

    --radius-lg: 18px;
    --radius-md: 12px;

    --shadow-soft: 0 10px 30px rgba(15,23,42,0.08);
    --shadow-strong: 0 25px 60px rgba(15,23,42,0.12);
}

/* ===============================
   RESET & GLOBAL
================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background:
        radial-gradient(1200px 600px at top center, var(--bg-accent), transparent 70%),
        var(--bg-main);
    color: var(--text-main);
}

/* ===============================
   LAYOUT
================================ */
.container {
    max-width: 1120px;
    margin-inline: auto;
    padding: 72px 20px;
}

.hero {
    padding-top: 120px;
    padding-bottom: 72px;
    position: relative;
}

/* ===============================
   HERO VISUAL EMPHASIS
================================ */
.hero::before {
    content: "";
    position: absolute;
    inset: -120px 0 auto 0;
    height: 420px;
    background: linear-gradient(
        180deg,
        rgba(37,99,235,0.12),
        rgba(37,99,235,0.04),
        transparent
    );
    z-index: -1;
    border-radius: 0 0 48px 48px;
}

/* ===============================
   TYPOGRAPHY
================================ */
h1, h2, h3 {
    margin-top: 0;
    color: var(--text-main);
}

h1 {
    font-size: clamp(36px, 6vw, 52px);
    line-height: 1.1;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(24px, 4vw, 28px);
    margin-bottom: 16px;
}

h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
}

p {
    margin-top: 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ===============================
   HERO TEXT
================================ */
.hero-title {
    max-width: 760px;
}

.hero-subtitle {
    max-width: 620px;
    font-size: 18px;
    margin-top: 10px;
}

/* ===============================
   CTA BUTTONS
================================ */
.hero-actions {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f1f5f9;
}

/* ===============================
   CARDS
================================ */
.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 34px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

/* ===============================
   FEATURE GRID
================================ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ===============================
   FORMS
================================ */
label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
    display: block;
}

input,
textarea {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    font-size: 16px;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
    outline: none;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .container {
        padding: 56px 16px;
    }

    .hero {
        padding-top: 88px;
        padding-bottom: 56px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}



/* ===============================
   HEADER — TRIRECTORPRO PERSONAL
================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
}

.header-inner {
    max-width: 1120px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.brand-sub {
    font-size: 13px;
    color: #64748b;
}

/* Header action */
.btn-header {
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-header:hover {
    background: #f1f5f9;
}


/* ===============================
   FOOTER
================================ */
.site-footer {
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.footer-inner {
    max-width: 1120px;
    margin: auto;
    padding: 24px 20px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.footer-inner strong {
    color: #0f172a;
}

.sep {
    margin: 0 6px;
}

