/* Landing Page Styles for Coins-Cryp Crypto Exchange */

/* Base styles and reset */
:root {
    --primary-color: #3a7bd5;
    --primary-light: #00d2ff;
    --secondary-color: #1e2a45;
    --text-color: #333;
    --light-text: #686c7a;
    --white: #fff;
    --light-gray: #f7f9fc;
    --border-color: #e6e9f0;
    --success-color: #00c853;
    --danger-color: #ff3d71;
    --gradient-primary: linear-gradient(135deg, #3a7bd5, #00d2ff);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 100px; /* Account for fixed header */
}

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

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(58, 123, 213, 0.4);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--border-color);
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 80px 0;
}

/* Header and Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #1a1d23 0%, #2d3748 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Navbar */
.navbar {
    padding: 15px 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #f8fafc;
    font-family: 'Modern', 'Space Grotesk', 'Orbitron', sans-serif;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
}

.logo span {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 50%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(0, 210, 255, 0.3);
    position: relative;
}

.logo span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #00d2ff 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo:hover span::after {
    opacity: 1;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin: 0 15px;
    color: #e2e8f0;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: #00d2ff;
}

.auth-buttons .btn {
    margin-left: 10px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #e2e8f0;
    transition: color 0.2s ease;
}

.mobile-menu-btn:hover {
    color: #00d2ff;
}

/* Mobile Sign In Button - Hidden by default */
.mobile-signin-btn {
    display: none !important;
}

/* Navbar Right Section */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Coin Carousel Section */
.coin-carousel-section {
    background: linear-gradient(135deg, #1a1d23 0%, #2d3748 100%);
    padding: 5px 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0;
    width: 100%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.coin-ticker-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.coin-ticker {
    display: flex;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
    will-change: transform;
    padding: 2px 0;
    width: 200%;
}

.coin-ticker:hover {
    animation-play-state: paused;
}

.coin-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin: 0 4px;
    background: rgba(32, 36, 42, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 140px;
    height: 32px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    font-family: 'Roboto Mono', monospace;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.coin-item.loading {
    opacity: 0.7;
    pointer-events: none;
}

.coin-item.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.coin-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.15);
}

.coin-item:hover {
    background: rgba(42, 48, 58, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.15);
}

.coin-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 50%;
}

.coin-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #e2e8f0;
    font-size: 0.8rem;
    line-height: 1.2;
}

.coin-symbol {
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 0;
    color: #f8fafc;
    letter-spacing: 0.3px;
}

.coin-price {
    font-size: 0.7rem;
    opacity: 0.85;
    margin-right: 6px;
    font-family: 'Roboto Mono', monospace;
    color: #cbd5e1;
    font-weight: 500;
}

.coin-change {
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px;
}

.coin-change.positive {
    color: #22c55e;
}

.coin-change.negative {
    color: #ef4444;
}

.change-icon {
    font-size: 0.65rem;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments for coin carousel */
@media screen and (max-width: 768px) {
    .coin-carousel-section {
        padding: 6px 0;
    }
    
    .coin-ticker {
        animation: scroll-left 25s linear infinite;
    }
    
    .coin-item {
        min-width: 120px;
        padding: 4px 10px;
        margin: 0 3px;
        height: 28px;
        flex-shrink: 0;
    }
    
    .coin-icon {
        width: 18px;
        height: 18px;
        margin-right: 6px;
    }
    
    .coin-symbol {
        font-size: 0.7rem;
    }
    
    .coin-price {
        font-size: 0.65rem;
    }
    
    .coin-change {
        font-size: 0.6rem;
    }
    
    .change-icon {
        font-size: 0.6rem;
    }
}

/* Hero Section */
.hero {
    padding: 100px 0 80px; /* Adjusted for fixed header height */
    background: radial-gradient(circle at 10% 20%, rgba(216, 241, 255, 0.46) 0.1%, rgba(233, 236, 255, 0.46) 90.1%);
}

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

.hero-content {
    flex: 1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-text);
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

/* Stats Section */
.stats {
    padding: 40px 0;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.stats .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-card {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-card h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Markets Section */
.markets {
    background-color: var(--light-gray);
}

.crypto-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.crypto-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.crypto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.crypto-card img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.crypto-info h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.ticker {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.price {
    font-weight: 700;
    margin-bottom: 5px;
}

.change {
    font-weight: 600;
    font-size: 0.9rem;
}

.positive {
    color: var(--success-color);
}

.negative {
    color: var(--danger-color);
}

.view-more {
    text-align: center;
    margin-top: 30px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Security Section */
.security {
    background-color: var(--secondary-color);
    color: var(--white);
}

.security .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.security-content {
    flex: 1;
}

.security-content h2,
.security-content p {
    color: var(--white);
    text-align: left;
}

.security-features {
    list-style: none;
    margin: 30px 0;
}

.security-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.security-features li i {
    color: var(--primary-light);
    margin-right: 10px;
}

.security-image {
    flex: 1;
    text-align: center;
}

/* Get Started Section */
.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 50px 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step:not(:last-child):after {
    content: "";
    position: absolute;
    top: 30px;
    right: -50px;
    width: 70px;
    height: 2px;
    background-color: var(--border-color);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Mobile App Section */
.mobile-app {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.mobile-app .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.mobile-app-image,
.mobile-app-content {
    flex: 1;
}

.mobile-app-content h2,
.mobile-app-content p {
    text-align: left;
}

.app-stores {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.app-store-button img {
    height: 45px;
}

.app-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.app-features p {
    display: flex;
    align-items: center;
    margin: 0;
}

.app-features p i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8faff 0%, #f1f5fb 100%);
    position: relative;
}

.partners h2 {
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partners-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
    align-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 20px rgba(58, 123, 213, 0.08);
}

.partner-item:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 15px 40px rgba(58, 123, 213, 0.15),
        0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(58, 123, 213, 0.2);
}

.partner-item img {
    height: 48px;
    width: auto;
    max-width: 120px;
    margin-bottom: 12px;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.partner-item:hover img {
    opacity: 1;
    filter: brightness(1);
    transform: scale(1.05);
}

.partner-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-name {
    opacity: 1;
    color: var(--primary-color);
}

/* Newsletter Section */
.newsletter {
    text-align: center;
    background-color: var(--white);
    padding: 60px 0;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    max-width: 550px;
    margin: 0 auto;
    gap: 15px;
}

.newsletter-form .form-row {
    display: flex;
    gap: 15px;
}

.newsletter-form .form-row input {
    flex: 1;
}

.newsletter-form input {
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.1);
    background: white;
}

.newsletter-form .btn {
    border-radius: var(--radius-md);
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter .small {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-top: 15px;
}

/* Newsletter subscription success message */
.subscription-success-message {
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-light);
    box-shadow: 0 10px 30px rgba(58, 123, 213, 0.15);
    animation: fadeInUp 0.6s ease-out;
}

.subscription-success-message h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.subscription-success-message p {
    color: var(--light-text);
    margin-bottom: 10px;
}

.subscription-success-message strong {
    color: var(--primary-color);
}

/* Loading spinner for newsletter button */
.newsletter-form .spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Footer */
footer {
    background-color: #212529 !important;
    color: var(--white);
}

footer .social-links a {
    display: inline-block;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: var(--primary-color) !important;
    text-decoration: none;
}

footer .text-muted {
    color: #a0a8c0 !important;
}

footer .text-muted:hover {
    color: var(--white) !important;
    text-decoration: none;
}

footer h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a {
    transition: color 0.3s ease;
}

/* Legacy footer styles for compatibility */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo h3 {
    color: var(--white);
    margin-top: 10px;
}

.footer-logo p {
    color: #a0a8c0;
    margin: 15px 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: #a0a8c0;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a8c0;
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-selector i {
    margin-right: 8px;
}

.language-selector select {
    background-color: transparent;
    border: none;
    color: #a0a8c0;
    padding: 5px;
    cursor: pointer;
    outline: none;
}

.language-selector select option {
    background-color: var(--secondary-color);
}

/* TradingView Widget Modal */
#tradingview_widget_container {
    height: 600px;
    width: 100%;
}

.modal-content {
    border-radius: var(--radius-md);
    border: none;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    border-bottom: none;
    padding: 16px 20px;
}

.modal-header .modal-title {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.modal-header .modal-title::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('../icons/ultraview-logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.modal-header .btn-close {
    color: var(--white);
    filter: brightness(0) invert(1);
    opacity: 0.8;
    padding: 12px;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 0;
}

.modal-footer {
    border-top: none;
    background: var(--light-gray);
    justify-content: space-between;
    padding: 12px 20px;
}

.modal-footer .btn-secondary {
    background: var(--secondary-color);
    border: none;
    transition: all 0.2s ease;
}

.modal-footer .btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.trading-info {
    font-size: 0.85rem;
    color: var(--light-text);
    display: flex;
    align-items: center;
}

.trading-info strong {
    color: var(--primary-color);
    margin: 0 4px;
}

.trading-info::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233a7bd5'%3E%3Cpath d='M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 6px;
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 900px;
    }
}

.modal-footer .btn-secondary {
    background: var(--secondary-color);
    border: none;
}

/* Make coin items clickable with a pointer cursor */
.coin-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coin-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-logo {
        grid-column: span 3;
    }

    .hero .container,
    .security .container,
    .mobile-app .container {
        flex-direction: column;
    }    .hero-image,
    .security-image,
    .mobile-app-image {
        order: -1;
        margin-bottom: 30px;
    }    .partner-logos {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .partner-item {
        padding: 20px;
    }

    .partner-item img {
        height: 40px;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .nav-links,
    .auth-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Show mobile Sign In button and hide desktop auth buttons */
    .mobile-signin-btn {
        display: inline-flex !important;
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .navbar-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .steps {
        flex-direction: column;
    }

    .step:not(:last-child):after {
        display: none;
    }

    .partner-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .partner-item {
        padding: 16px;
    }

    .partner-item img {
        height: 36px;
    }

    .partner-name {
        font-size: 0.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-logo {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .newsletter-form .form-row {
        flex-direction: column;
    }
    
    .newsletter-form .form-row input {
        width: 100%;
        margin-bottom: 10px;
    }

    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
        border-radius: var(--radius-md);
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 576px) {
    .crypto-cards,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .partner-item {
        padding: 12px;
    }

    .partner-item img {
        height: 32px;
    }

    .partners-subtitle {
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        grid-column: auto;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}