/* --- Base Variables & Reset --- */
:root {
    --bg-main: #f8fafc;        /* Soft off-white */
    --bg-card: #ffffff;        /* Pure white */
    --primary-accent: #2563eb; /* Royal Trust Blue */
    --primary-hover: #1d4ed8;  /* Darker Blue */
    --text-main: #1e293b;      /* Deep Slate/Navy */
    --text-muted: #64748b;     /* Medium Slate */
    --border-color: #e2e8f0;   /* Light Gray */
    --font-stack: 'Inter', system-ui, sans-serif;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- Navigation --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

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

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

.btn-outline:hover {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
}

/* --- Hero Section --- */
.hero {
    padding: 160px 0 100px;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.hero-inner {
    text-align: center;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: #eff6ff;
    color: var(--primary-accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: #0f172a;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.guarantee {
    display: block;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Market Ticker --- */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: #0f172a; /* Dark background to ground the design */
    color: #ffffff;
    padding: 14px 0;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 35s linear infinite;
}

.ticker-item {
    padding: 0 2.5rem;
    font-family: 'Inter', monospace; /* Looks cleaner than standard mono */
    font-size: 0.95rem;
    font-weight: 500;
}

.ticker-item.up { color: #34d399; }
.ticker-item.down { color: #f87171; }

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* --- Features Section --- */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.25rem;
    color: #0f172a;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #0f172a;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
    background: var(--bg-card);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links, .btn-outline { display: none; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
}
