/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

:root {
    /* Dark theme variables (default) */
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --text-primary: white;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 255, 255, 0.05);
    --hover-color: rgba(255, 255, 255, 0.1);
    --accent-color: #2962ff;
    --nav-bg: #121212;
    --button-bg: rgba(255, 255, 255, 0.05);
    --button-border: rgba(255, 255, 255, 0.1);
}

html[data-theme="light"] {
    /* Light theme variables */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --text-primary: #121212;
    --text-secondary: rgba(0, 0, 0, 0.7);
    --border-color: rgba(0, 0, 0, 0.1);
    --hover-color: rgba(0, 0, 0, 0.05);
    --accent-color: #2962ff;
    --nav-bg: #ffffff;
    --button-bg: rgba(0, 0, 0, 0.05);
    --button-border: rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

/* Navigation Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background-color: var(--accent-color);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    color: var(--text-primary);
}

.dropdown span:last-child {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 2px;
}

.dropdown:hover {
    color: var(--accent-color);
}

.icon-button {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.icon-button:hover {
    background-color: var(--hover-color);
}

.wallet-btn {
    background-color: var(--button-bg);
    color: var(--text-primary);
    border: 1px solid var(--button-border);
    border-radius: 50px;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.wallet-btn:hover {
    background-color: var(--hover-color);
    border-color: var(--button-border);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--accent-color);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.user-avatar:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    display: flex;
    padding: 60px 40px;
    gap: 60px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    min-width: 320px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(41, 98, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(41, 98, 255, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Partners Section */
.partners {
    padding: 40px;
    border-top: 1px solid var(--border-color);
    max-width: 1280px;
    margin: 0 auto;
}

.partners-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.partners-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.partner-logo {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.partner-logo:hover {
    opacity: 1;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 1000;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-color);
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.close-sidebar {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-content {
    padding: 20px;
}

.sidebar-nav-links {
    margin-bottom: 30px;
}

.sidebar-nav-links a {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-nav-links a:hover {
    color: var(--accent-color);
}

.sidebar-dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    color: var(--text-primary);
}

.sidebar-dropdown:hover {
    color: var(--accent-color);
}

.sidebar-dropdown span:last-child {
    font-size: 14px;
    opacity: 0.7;
}

.sidebar-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-wallet-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.sidebar-icons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Icon styles for theme toggle */
.sun-icon, .moon-icon {
    display: block;
    width: 18px;
    height: 18px;
}

html[data-theme="dark"] .sun-icon {
    display: none;
}

html[data-theme="light"] .moon-icon {
    display: none;
}

/* SVG stroke color transitions */
svg path, svg circle {
    transition: stroke 0.3s;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .nav-links, .nav-actions {
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .nav-links, .nav-actions {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .hero {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }

    .partners {
        display: none;
        /* Hide partners section on mobile */
    }

    nav {
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-image img {
        max-width: 90%;
    }
}

.about-section {
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.laptop-container {
    flex: 1;
    position: relative;
    min-width: 300px;
}

.laptop-image {
    width: 100%;
    position: relative;
    z-index: 1;
}

.crypto-badge {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.badge-compass {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
}

.badge-dollar {
    top: 30%;
    left: 0;
    transform: translateX(-50%);
    background-color: var(--primary-blue);
    color: white;
}

.badge-bitcoin {
    top: 30%;
    right: 0;
    transform: translateX(50%);
    background-color: #F7931A;
    color: white;
}

.badge-ethereum {
    bottom: 10%;
    left: 0;
    transform: translateX(-50%);
    background-color: #7B79E5;
    color: white;
}

.badge-tether {
    bottom: 10%;
    right: 0;
    transform: translateX(50%);
    background-color: #26A17B;
    color: white;
}

.content-container {
    flex: 1;
    padding: 1rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.section-description {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 1rem;
    color: var(--secondary-text);
}

.explore-btn {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 2rem;
    transition: background-color 0.3s;
}

.explore-btn:hover {
    background-color: var(--accent-blue);
}

.dot-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    margin: 1.5rem auto 0;
}

@media (max-width: 992px) {
    .about-section {
        flex-direction: column;
        padding: 3rem 1rem;
    }

    .laptop-container {
        width: 90%;
        max-width: 500px;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .crypto-badge {
        width: 50px;
        height: 50px;
    }
}

/* Hero Section */
.hero {
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    max-width: 540px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    color: #b8b8b8;
    margin-bottom: 30px;
}

.feature-list {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-icon {
    margin-right: 15px;
    background-color: #2873ff;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-text p {
    color: #b8b8b8;
    font-size: 16px;
}

.app-download {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #1f1f27;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 15px;
    text-decoration: none;
    color: white;
}

.download-btn img {
    height: 24px;
}

/* App Preview */
.app-preview {
    position: relative;
}

.scan-button {
    position: absolute;
    top: 150px;
    left: -140px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
}

.qr-code {
    position: absolute;
    top: 200px;
    left: -120px;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    width: 120px;
    height: 120px;
}

/* Responsive */
@media (max-width: 991px) {
    .hero {
        flex-direction: column;
        padding-top: 40px;
    }

    .hero-content {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .scan-button {
        position: static;
        margin: 20px auto;
        display: block;
        width: fit-content;
    }

    .qr-code {
        position: static;
        margin: 20px auto;
    }

    .app-preview img {
        max-width: 100%;
        height: auto;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonials-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.testimonials-left {
    flex: 1;
}

.testimonials-right {
    flex: 1;
    background-color: #1a1d2e;
    border-radius: 15px;
    padding: 40px;
    position: relative;
    border-left: 5px solid #2873ff;
}

.testimonials-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.1;
}

.testimonials-subtitle {
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
    font-weight: 500;
}

.testimonials-text {
    color: #b8b8b8;
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 16px;
}

.customer-avatars {
    display: flex;
    margin-bottom: 20px;
}

.customer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
    overflow: hidden;
    margin-right: -10px;
}

.customer-count {
    color: #2873ff;
    font-weight: bold;
    font-size: 18px;
    margin-right: 10px;
}

.customer-reviews {
    font-size: 16px;
    color: white;
}

.quote-mark {
    font-size: 60px;
    position: absolute;
    top: 10px;
    right: 30px;
    color: #2873ff;
    opacity: 0.6;
}

.testimonial-quote {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-author-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.testimonial-author-position {
    color: #b8b8b8;
    font-size: 14px;
}

.company-logo {
    margin-left: auto;
}

/* Earning Section */
.earning {
    background-color: #121218;
    padding: 60px 0;
}

.earning-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.earning-left {
    max-width: 600px;
}

.earning-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 15px;
}

.earning-text {
    color: #b8b8b8;
    font-size: 16px;
    line-height: 1.6;
}

.create-account-btn {
    background-color: white;
    color: #121218;
    border: none;
    padding: 15px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.create-account-btn:hover {
    background-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 991px) {
    .testimonials-container {
        flex-direction: column;
    }

    .testimonials-right {
        width: 100%;
    }

    .earning-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

.footer {
    width: 100%;
    background-color: #121212;
    color: white;
    padding: 30px 0;
    border-top: 1px solid #333;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-icon {
    color: #4285f4;
    font-size: 30px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-heading {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.megaphone {
    color: #ffc107;
    margin-left: 10px;
}

.contact-details {
    margin-bottom: 5px;
    color: #b3b3b3;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

.footer-column {
    margin-right: 20px;
    margin-bottom: 20px;
}

.column-heading {
    font-weight: bold;
    margin-bottom: 15px;
}

.column-item {
    margin-bottom: 10px;
    color: #b3b3b3;
}

.newsletter {
    width: 100%;
    max-width: 400px;
}

.newsletter-heading {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.newsletter-text {
    color: #b3b3b3;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-input {
    flex-grow: 1;
    padding: 10px 15px;
    border-radius: 20px 0 0 20px;
    border: none;
    outline: none;
}

.newsletter-button {
    padding: 10px 20px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    font-weight: bold;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    color: #b3b3b3;
    font-size: 20px;
}

.copyright {
    width: 100%;
    text-align: center;
    color: #b3b3b3;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.copyright a {
    color: #b3b3b3;
    text-decoration: none;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4285f4;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
    }

    .newsletter {
        max-width: 100%;
    }
}

.how-it-works {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-text);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 240px;
    text-align: center;
    position: relative;
    padding: 1rem;
}

.step-connector {
    position: absolute;
    top: 75px;
    left: 100%;
    width: 100%;
    height: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 0;
}

.connector-line {
    height: 2px;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
    flex-grow: 1;
}

.connector-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-blue);
}

.step-number {
    color: var(--secondary-text);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.step-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1rem;
    color: var(--secondary-text);
    max-width: 280px;
    margin: 0 auto;
}

.icon-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
    perspective: 1000px;
}

.icon-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.icon-container:hover .icon-inner,
.icon-container.flipped .icon-inner {
    transform: rotateY(180deg);
}

.icon-front, .icon-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    border-radius: 50%;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-blue);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step {
        width: 100%;
        max-width: 350px;
        margin-bottom: 3rem;
    }

    .step-connector {
        display: none;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .icon-container {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 768px) {

    .market-table th:nth-child(5),
    .market-table th:nth-child(6),
    .market-table td:nth-child(5),
    .market-table td:nth-child(6) {
        display: none;
    }

    .market-update {
        padding: 20px;
    }
}