/* ============================================================
   RESET & BASE STYLES
============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #1e293b; /* dark text for readability */
    background-color: #ffffff; /* body stays white */
    font-size: 16px;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 140px 20px 160px;
    background: linear-gradient(135deg, #020617, #0f172a);
    color: #ffffff;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    overflow: hidden;
}

#market-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: #d1d5db;
}

.hero-content .btn-primary {
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 1rem;
    background: linear-gradient(135deg, #6366f1, #7c7f96);
    color: #fff;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.25s cubic-bezier(.17,.67,.83,.67), 
                box-shadow 0.25s ease, 
                background 0.3s ease;
    box-shadow: 0 4px 15px rgba(99,102,241,0.4);
}

.hero-content .btn-primary:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 10px 25px rgba(79,70,229,0.35);
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

/* ============================================================
   SECTION TITLES
============================================================ */
.section-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 900;
    margin: 3rem 0 2.5rem;
    letter-spacing: 0.5px;
    color: #1e293b;
}

/* ============================================================
   WORKFLOW CARDS
============================================================ */
.workflow-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto 5rem;
    text-align: center;
}

.workflow-card {
    flex: 1 1 300px;
    border-radius: 1rem;
    padding: 2rem;
    background: #f9f9fc;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.3s ease;
    text-align: center;
}

.workflow-card h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1e293b;
}

.workflow-card p {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Hover effect */
.workflow-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
    background: #1e3a8a; /* deep blue */
    color: #ffffff;
}

.workflow-card:hover h3 { color: #ffffff; }
.workflow-card:hover p { color: #dbeafe; }

/* Workflow buttons hover */
.workflow-card .btn-primary:hover {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 12px 25px rgba(79,70,229,0.4);
}

/* ============================================================
   EVENTS CARDS
============================================================ */
/* EVENTS SECTION */
.events-section {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center; /* center everything */
}

.events-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.events-section p {
    font-size: 1.2rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.events-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto 5rem;
    text-align: center;
}

.event-card {
    flex: 1 1 300px;
    border-radius: 1rem;
    padding: 2rem;
    background: #f7f8fc;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.3s ease;
    text-align: center;
}

.event-card h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1e293b;
}

.event-card p {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Hover effect */
.event-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
    background: #065f46; /* dark green */
    color: #ffffff;
}

.event-card:hover h3 { color: #ffffff; }
.event-card:hover p { color: #d1fae5; }

/* Events buttons hover */
.event-card .btn-primary:hover {
    background: linear-gradient(135deg, #10b981, #047857);
    box-shadow: 0 12px 25px rgba(16,185,129,0.4);
}

/* ============================================================
   UTILS CARDS
============================================================ */
/* STOCKUTILS SECTION */
.utils-section {
    max-width: 1100px;
    margin: 5rem auto;
    padding: 0 2rem;
    text-align: center;
}

.utils-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.utils-section p {
    font-size: 1.2rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.utils-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto 5rem;
    text-align: center;
}

.utils-card {
    flex: 1 1 300px;
    border-radius: 1rem;
    padding: 2rem;
    background: #fefefc;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.3s ease;
    text-align: center;
}

.utils-card h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1e293b;
}

.utils-card p {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Hover effect */
.utils-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
    background: #6b21a8; /* deep purple */
    color: #ffffff;
}

.utils-card:hover h3 { color: #ffffff; }
.utils-card:hover p { color: #ede9fe; }

/* Utils buttons hover */
.utils-card .btn-primary:hover {
    background: linear-gradient(135deg, #a855f7, #6b21a8);
    box-shadow: 0 12px 25px rgba(168,85,247,0.4);
}

/* ============================================================
   DESIGN PRINCIPLES
============================================================ */
.principles-section {
    max-width: 900px;
    margin: 5rem auto;
    padding: 0 2rem;
    text-align: center;
}

.principles-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2.5rem;
}

.principles-list {
    list-style: none; /* remove bullets */
    padding-left: 0;
    color: #4b5563;
    text-align: center;
    display: inline-block;
}

.principles-list li {
    margin-bottom: 1.2rem;
    font-weight: 500;
    font-size: 1.15rem;
}

/* ============================================================
   STOCK/UTILS SECTION
============================================================ */
.stockutils-section {
    max-width: 1100px;
    margin: 5rem auto;
    padding: 0 2rem;
    text-align: center;
}

.stockutils-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.stockutils-section p {
    font-size: 1.2rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ============================================================
   FINAL CTA
============================================================ */
.final-cta {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff;
    padding: 6rem 2rem;
    border-radius: 2rem;
    margin: 5rem auto 3rem;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.final-cta .btn-primary {
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 1rem;
    background: linear-gradient(135deg, #6366f1, #7c7f96);
    color: #fff;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.25s cubic-bezier(.17,.67,.83,.67), 
                box-shadow 0.25s ease, 
                background 0.3s ease;
    box-shadow: 0 4px 15px rgba(99,102,241,0.4);
}

.final-cta .btn-primary:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 10px 25px rgba(79,70,229,0.35);
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

/* ============================================================
   ANIMATIONS
============================================================ */
.fade-up, .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-up.animate, .fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
    .workflow-cards, .events-cards, .utils-cards {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .final-cta .btn-primary,
    .workflow-card .btn-primary,
    .event-card .btn-primary,
    .utils-card .btn-primary {
        width: 100%;
    }
}

/* SECTION DIVIDER */
.section-divider {
    width: 100%;
    max-width: 900px;
    height: 1px;
    margin: 5rem auto;
    background: linear-gradient(
        to right,
        transparent,
        rgba(30, 41, 59, 0.15),
        transparent
    );
}
