/* ===== RESPONSIVE STYLES - BILLION DOLLAR SAAS ===== */

/* ===== TABLET ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-visual {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .trust-bar {
        justify-content: center;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .solution-card {
        position: static;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .architecture-diagram {
        padding: 40px 32px;
    }
    
    .arch-layer {
        gap: 16px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(5, 7, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.open {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu a {
        font-size: 1.5rem;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Hero */
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }
    
    .hero-container {
        gap: 40px;
    }
    
    .hero-badge {
        padding: 8px 14px;
        font-size: 0.75rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .trust-bar {
        gap: 16px 24px;
        justify-content: center;
    }
    
    .trust-item {
        font-size: 0.8125rem;
    }
    
    .dashboard-mockup {
        transform: none !important;
        border-radius: var(--radius-xl);
    }
    
    .mockup-content {
        flex-direction: column;
        padding: 20px;
    }
    
    .mockup-orderbook {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .orderbook-row {
        flex: 1;
        min-width: 60px;
    }
    
    /* Sections */
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-card {
        padding: 24px;
    }
    
    /* Architecture */
    .architecture-diagram {
        padding: 28px 20px;
        border-radius: var(--radius-xl);
        overflow-x: auto;
    }
    
    .arch-node {
        min-width: 120px;
        padding: 14px 18px;
    }
    
    .arch-node strong {
        font-size: 0.8125rem;
    }
    
    .arch-node span {
        font-size: 0.6875rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-card {
        padding: 24px 16px;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .stat-suffix {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.9375rem;
    }
    
    /* Comparison */
    .comparison-table-wrapper {
        margin: 0 -20px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .comparison-table {
        font-size: 0.8125rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
    }
    
    /* Pricing */
    .pricing-grid {
        display: none;
    }
    
    .pricing-overlay {
        position: relative;
        background: transparent;
        padding: 0;
    }
    
    .pricing-coming-soon {
        padding: 36px 24px;
        margin: 0 16px;
        border-radius: var(--radius-xl);
    }
    
    .waitlist-form {
        flex-direction: column;
        gap: 12px;
    }
    
    /* CTA */
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-content h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0 32px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: clamp(2rem, 9vw, 2.75rem);
    }
    
    h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .hero-badge {
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    
    .trust-bar {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    
    .bento-grid {
        gap: 16px;
    }
    
    .tech-tags {
        gap: 8px;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .chain-badge {
        font-size: 0.75rem;
        padding: 8px 14px;
        margin: 0 4px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ===== LARGE SCREENS ===== */
@media (min-width: 1440px) {
    .container {
        max-width: 1480px;
    }
    
    .hero-container {
        gap: 100px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .nav,
    .hero-bg,
    .cta-section,
    .footer-social,
    .btn,
    .gradient-orb,
    .grid-pattern {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
    
    .glass-card,
    .bento-card,
    .service-card {
        border: 1px solid #ddd;
        background: white !important;
        box-shadow: none !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .gradient-orb,
    .marquee-content {
        animation: none !important;
    }
}
