:root {
    --bg-color: #ffffff;
    --surface-color: #ffffff;
    --surface-light: #ffffff;
    --primary-color: #000000;
    --primary-hover: #222222;
    --text-main: #000000;
    --text-muted: #000000;
    --border-color: #000000;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: transparent;
    border-bottom: none;
    z-index: 100;
    display: flex;
    align-items: center;
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

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

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    background: var(--surface-color); /* Fallback for transparency */
}

.brand-text {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.social-icon {
    color: var(--text-main);
    transition: color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 0px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 2px solid #000000;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.25rem;
    border-radius: 0px;
}

.btn-secondary {
    background: var(--surface-light);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 160px;
    padding-bottom: 40px;
    position: relative;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(0,0,0,0.05) 0%, rgba(255,255,255,0) 60%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 1s var(--transition-smooth);
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    letter-spacing: -2px;
    color: var(--text-main);
    text-shadow: 0 8px 30px rgba(0,0,0,0.6);
    background: linear-gradient(to bottom right, #ffffff, #a0aab2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.highlight {
    color: var(--primary-color);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--primary-color);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--text-muted);
    font-weight: 400;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin-top: 10px;
}

.ca-container {
    display: flex;
    align-items: center;
    background: #000000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 8px 8px 20px;
    border-radius: 0px;
    border: 2px solid var(--border-color);
    width: 100%;
    max-width: 550px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ca-container:hover {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.ca-label {
    font-weight: 800;
    color: var(--primary-color);
    margin-right: 16px;
    font-size: 1.1rem;
}

.ca-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    outline: none;
    text-overflow: ellipsis;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
}

/* Steps Section */
.steps-section {
    padding: 20px 24px 100px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 70px;
    color: var(--text-main);
    text-align: center;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
    max-width: 700px;
}

.step-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px;
    display: flex;
    align-items: flex-start;
    gap: 28px;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border-color: rgba(0, 0, 0, 0.2);
}

.step-card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.step-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-title {
    font-size: 1.75rem;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.step-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: 80px 24px 40px;
    margin-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    box-shadow: none; /* remove glow in footer if desired, or keep it */
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.footer-social {
    display: flex;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-color);
}

/* Legal Pages */
.page-content {
    background: var(--surface-color);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.page-content h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 16px;
    letter-spacing: 0;
}

.page-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.page-content ul {
    color: var(--text-muted);
    padding-left: 24px;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.page-content li {
    margin-bottom: 10px;
}

.page-content em {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
    font-style: italic;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .header-left .brand-text {
        display: none; 
    }
    
    .buy-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .ca-container {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }
    
    .ca-label {
        display: none;
    }
    
    .ca-input {
        text-align: center;
    }

    .step-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 24px;
    }

    .step-card::before {
        width: 100%;
        height: 4px;
        transform: scaleX(0);
        transform-origin: left;
    }

    .step-card:hover::before {
        transform: scaleX(1);
    }
}
