:root {
    --primary-color: #34C759;
    --primary-dark: #2FA74D;
    --primary-light: #4FD66E;
    --background: #000000;
    --surface: #000000;
    --surface-light: #000000;
    --text-primary: #FFFFFF;
    --text-secondary: #999999;
    --text-muted: #666666;
    --border-color: #2A2A2A;
    --success: #34C759;
    --error: #FF3B30;
    --warning: #FF9500;
    --gradient-primary: linear-gradient(135deg, #34C759 0%, #2FA74D 100%);
    --gradient-secondary: linear-gradient(135deg, #4FD66E 0%, #34C759 100%);
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.4;
    overflow-x: hidden;
    font-weight: 400;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Modern headings with SF Pro */
h1, h2, h3, h4, h5, h6 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav {
    padding: 16px 0;
}

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

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo div {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

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

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

.nav__link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.2s ease;
}

.nav__link:hover {
    color: var(--text-primary);
}

.nav__actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
}

.btn--primary {
    background: var(--success);
    color: white;
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn--secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn--secondary:hover {
    background: var(--surface-light);
    border-color: var(--text-secondary);
}

.btn--large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn--full {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: var(--background);
    position: relative;
    margin-top: 0;
    padding-top: 0;
}

.hero__content {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero__image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero__image:hover img {
    transform: scale(1.05);
}

.hero__title {
    font-size: clamp(40px, 8vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

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

.hero__description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
    font-weight: 400;
}

.hero__stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-bottom: 48px;
}

.stat {
    text-align: center;
}

.stat__value {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat__label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.hero__cta {
    margin-top: 48px;
}

/* Status Checker */
.status-checker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0A0A0A;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 32px;
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.status-checker:hover {
    border-color: var(--success);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.15);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 20px;
    position: relative;
}

.status-indicator.online {
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.2);
}

.status-indicator.online::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 1px solid var(--success);
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.status-text {
    flex: 1;
}

.status-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.status-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.status-badge {
    background: var(--success);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Exchange Widget */
.hero__exchange {
    display: flex;
    justify-content: center;
}

.exchange-widget {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.exchange-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.exchange-form__group {
    margin-bottom: 1rem;
}

.exchange-form__group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.exchange-input {
    display: flex;
    gap: 0.5rem;
}

.exchange-input input {
    flex: 1;
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.exchange-input input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.currency-select {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
}

.exchange-arrow {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    color: var(--text-muted);
}

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

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

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
}

.features__image {
    margin-bottom: 60px;
    border-radius: 12px;
    overflow: hidden;
}

.features-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.features__image:hover .features-image {
    transform: scale(1.02);
}

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

.feature-card {
    background: transparent;
    border: 0.5px solid #FFFFFF;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #000000 0%, #34C759 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover h3,
.feature-card:hover p {
    color: #FFFFFF;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
}

/* Security Section */
.security {
    padding: 120px 0;
}

.security-content {
    width: 100%;
    max-width: none;
}

.security-text {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 40px;
}

.security-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.security-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* How It Works */
.how-it-works {
    padding: 120px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
    color: white;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background: #000000;
}

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

.testimonial {
    background: transparent;
    border: 0.5px solid #FFFFFF;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #000000 0%, #34C759 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.testimonial:hover::before {
    opacity: 1;
}

.testimonial:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.testimonial:hover .testimonial-content,
.testimonial:hover .author-name,
.testimonial:hover .author-title {
    color: #FFFFFF;
}

.testimonial-content {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.author-title {
    color: var(--text-muted);
    font-size: 14px;
}

/* Final CTA */
.final-cta {
    padding: 120px 0;
    text-align: center;
    background: var(--background);
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background: #000000;
}

.faq-grid {
    display: grid;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #0A0A0A;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-icon {
    font-size: 18px;
    color: var(--success);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 32px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
    font-size: 16px;
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer__brand div {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer__brand div span {
    color: var(--primary-color);
}

.footer__brand p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    max-width: 400px;
}

.footer__legal {
    text-align: right;
}

.footer__legal p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav__menu {
        display: none;
    }
    
    .nav__actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero__title {
        font-size: 40px;
    }
    
    .hero__description {
        font-size: 18px;
    }
    
    .hero__stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .features__grid {
        grid-template-columns: 1fr;
    }
    
    .features-image {
        height: 250px;
        border-radius: 8px;
    }
    
    .security-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .status-checker {
        flex-direction: column;
        text-align: center;
        padding: 16px 24px;
        gap: 12px;
    }
    
    .status-indicator {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .hero__image {
        margin: 0 auto 24px;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .hero__cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .footer__content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer__legal {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .security-text {
        padding: 0 24px;
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(52, 199, 89, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(52, 199, 89, 0.5);
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--success);
    z-index: 9999;
    transition: width 0.2s ease;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--success) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Morphism */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

/* Hover Lift Effect */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Neon Glow */
.neon-glow {
    text-shadow: 0 0 10px var(--success), 0 0 20px var(--success), 0 0 30px var(--success);
}

/* Smooth Reveal */
.reveal {
    position: relative;
    overflow: hidden;
}

.reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--success);
    transition: left 0.5s ease;
}

.reveal:hover::after {
    left: 100%;
}

/* Parallax Effect */
.parallax {
    transform: translateZ(-1px) scale(1.1);
}

/* Magnetic Button */
.magnetic {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

/* Text Split Animation */
.split-text {
    display: inline-block;
}

.split-text span {
    display: inline-block;
    transition: all 0.3s ease;
}

.split-text:hover span:nth-child(1) {
    transform: translateY(-5px);
    color: var(--success);
}

.split-text:hover span:nth-child(2) {
    transform: translateY(5px);
    color: var(--primary-color);
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.testimonial {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
