@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-yellow: #FFCC00;
    --primary-blue: #0033A0;
    --primary-red: #DA291C;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --accent-gradient: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-blue) 50%, var(--primary-red) 100%);
    --blue-gradient: linear-gradient(135deg, #0033A0 0%, #001f5c 100%);
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

nav.scrolled .logo {
    color: var(--primary-blue);
    text-shadow: none;
}

/* Hero Section with Ken Burns Animation */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('1.jpg') no-repeat center center/cover;
    z-index: -1;
    animation: kenburns 20s ease infinite;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 40px;
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Counter Section */
.counter-box {
    margin-top: -100px;
    padding: 50px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(0,0,0,0.05);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.stat-item {
    padding: 10px;
}

.stat-value {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.progress-container {
    height: 16px;
    background: #E2E8F0;
    border-radius: 20px;
    margin: 30px 0;
    overflow: hidden;
    padding: 4px;
}

.progress-bar {
    height: 100%;
    background: var(--accent-gradient);
    width: 0%;
    border-radius: 10px;
    transition: width 2.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Wallet Card Modern */
.wallet-card {
    background: white;
    padding: 50px;
    border-radius: 32px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--card-shadow);
    background-image: radial-gradient(at top left, rgba(255, 204, 0, 0.05) 0%, transparent 50%);
}

.wallet-address {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(1rem, 3vw, 1.4rem);
    background: #F1F5F9;
    padding: 20px 30px;
    border-radius: 16px;
    border: 2px dashed #CBD5E1;
    margin: 30px 0;
    word-break: break-all;
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
}

.copy-btn {
    padding: 18px 40px;
    border: none;
    background: var(--text-dark);
    color: white;
    cursor: pointer;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.copy-btn:hover {
    background: var(--primary-blue);
    transform: scale(1.05);
}

/* Sections */
.section {
    padding: 120px 0;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

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

.narrative h2 {
    font-size: 3rem;
    margin-bottom: 40px;
}

.narrative p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Unity Grid */
.unity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.unity-item {
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--card-shadow);
}

.unity-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.unity-item:hover .unity-img {
    transform: scale(1.1);
}

/* Legal Section */
.lawyer-section {
    background: var(--blue-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.lawyer-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255,255,255,0.03);
    transform: rotate(30deg);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.faq-item {
    background: #F8F9FA;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.faq-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--primary-blue);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: #0F172A;
    color: white;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
}

@media (max-width: 968px) {
    .counter-grid { grid-template-columns: 1fr; gap: 24px; }
    .faq-grid { grid-template-columns: 1fr; }
    .unity-grid { grid-template-columns: 1fr; }
    .stat-value { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }
    .counter-box { padding: 24px; margin-top: -80px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .stat-value { font-size: 1.8rem; }
}
