:root {
    /* AWS-Inspired Light Mode Palette */
    --bg-base: #FBFBFB;          /* Ultra-light pearl white */
    --bg-sub: #F2F3F3;           /* Sub-panel / sidebar differentiation */
    --card-bg: #FFFFFF;          /* Pure white cards */
    
    --text-primary: #232F3E;     /* AWS deep navy-black */
    --text-muted: #545B64;       /* AWS secondary gray */
    --text-light: #8D96A0;
    
    --accent-orange: #FF9900;    /* AWS brand orange - primary action */
    --accent-orange-hover: #E68A00;
    --accent-orange-light: rgba(255, 153, 0, 0.08);
    
    --border-color: #EAEDED;     /* AWS hallmark thin gray border */
    --border-focus: #FF9900;
    
    --green-dot: #1CAD5E;
    --orange-dot: #FF9900;
    
    --font-family: 'Inter', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* SVG Background Flow Lines */
.flow-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* NAVBAR */
.navbar {
    background-color: rgba(251, 251, 251, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 6rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.logo-svg { flex-shrink: 0; }

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-family);
    border-radius: 4px; /* AWS square-ish corners */
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.15s;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: #FFFFFF;
    box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    box-shadow: 0 2px 6px rgba(255,153,0,0.3);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-primary);
}

.btn-ghost:hover { color: var(--accent-orange); }

.btn-ghost-border {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-ghost-border:hover {
    border-color: #CBD0D4;
    background-color: var(--bg-sub);
}

/* DOTS */
.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.dot.green { background-color: var(--green-dot); }
.dot.orange { background-color: var(--accent-orange); animation: blink 1.2s ease-in-out infinite; }

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* MAIN CONTENT */
main {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 6rem;
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 0 5rem;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 620px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    padding: 0.3rem 0.85rem;
    border-radius: 3px;
    margin-bottom: 2rem;
    font-weight: 500;
}

h1 {
    font-size: 3.8rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.accent { color: var(--accent-orange); }

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-actions .btn {
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
}

.chain-support {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.chain-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.chains { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.chain-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--card-bg);
}

/* Hero Visual: Floating TX Cards */
.hero-visual-area {
    flex: 0 0 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tx-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tx-card.mini-card { padding: 1rem 1.5rem; }

.tx-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.tx-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tx-from, .tx-to {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    font-weight: 600;
}

.wallet-chip {
    background: var(--bg-sub);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 0.3rem 0.6rem;
    font-size: 0.82rem;
}

.wallet-chip code { font-family: 'SF Mono', monospace; color: var(--text-primary); }

.tx-arrow { color: var(--accent-orange); font-size: 1.1rem; }

.tx-amount-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}

.tx-amount {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tx-amount em {
    font-style: normal;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 0.15rem;
}

.tx-time {
    font-size: 0.8rem;
    color: var(--green-dot);
    font-weight: 600;
}

.tx-progress {
    width: 100%;
    height: 3px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.tx-progress-fill {
    height: 100%;
    width: 100%;
    background: var(--accent-orange);
    animation: slide 2.5s ease-in-out infinite;
}

@keyframes slide {
    0% { transform: translateX(-100%); }
    60%, 100% { transform: translateX(0); }
}

/* METRICS BAR */
.metrics-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--card-bg);
    margin-bottom: 6rem;
    overflow: hidden;
}

.metric {
    flex: 1;
    text-align: center;
    padding: 1.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.metric strong {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.metric span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.divider-v {
    width: 1px;
    height: 60px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* FEATURES */
.features { margin-bottom: 6rem; }

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-orange);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.feature-item {
    padding: 2rem 1.75rem;
    border-right: 1px solid var(--border-color);
}

.feature-item:last-child { border-right: none; }

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-orange-light);
    border-radius: 4px;
    color: var(--accent-orange);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255,153,0,0.15);
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* CTA SECTION */
.cta-section {
    margin-bottom: 6rem;
}

.cta-box {
    background: var(--bg-sub);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 3rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

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

.cta-btns { display: flex; gap: 1rem; }

/* FOOTER */
footer {
    background: var(--bg-sub);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 6rem 6rem 3rem;
    display: grid;
    grid-template-columns: 1.5fr 3fr 1.2fr;
    gap: 4rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.link-group h5 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.link-group a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.6rem;
    transition: color 0.15s;
}

.link-group a:hover { color: var(--accent-orange); }

.footer-bottom-bar {
    max-width: 1800px;
    margin: 0 auto;
    padding: 1.5rem 6rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.social-row {
    display: flex;
    gap: 1rem;
}

.social-row a {
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.15s;
}

.social-row a:hover { color: var(--text-primary); }

/* Refined Problem Section Styles */
.problem-section {
    padding: 120px 0 !important;
}

.problem-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(255, 153, 0, 0.3);
}

.problem-card i {
    color: var(--accent-orange);
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.problem-card h5 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

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

