
@media (max-width: 480px) {

    .email-link:hover i, .gitbook-link:hover i,.youtube-link:hover i , .twitter-link:hover i {
        animation: none !important;
    }

    .footer-social-links{
        margin-bottom: 30px !important;
    }


    /* Extra small mobile adjustments */
    .container {
        padding: 0 10px;
    }

    /* Header for small mobile */
    header .container {
        padding: 0 10px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .mobile-menu-toggle {
        width: 25px;
        height: 20px;
    }

    .mobile-nav-menu {
        width: 100%;
        right: -100%;
        padding: 80px 15px 15px;
    }

    .mobile-nav-menu.active {
        right: 0;
    }

    .mobile-nav-buttons button {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    /* Hero section for small mobile */
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .hero-buttons .cta-button,
    .hero-buttons .secondary-button {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .dashboard-preview {
        height: 200px;
    }

    /* Section titles for small mobile */
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.6rem !important;
    }

    /* Feature card for small mobile */
    .feature-card {
        padding: 1rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p {
        font-size: 0.85rem;
        padding: 0.6rem;
    }

    .icon-container {
        width: 60px;
        height: 60px;
    }

    .icon-container i {
        font-size: 1.5rem;
    }

    /* Platform steps for small mobile */
    .platform-step {
        padding: 1rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-icon i {
        font-size: 1.5rem;
    }

    .platform-step h4 {
        font-size: 1.1rem;
    }

    .platform-step p {
        font-size: 0.8rem;
    }

    /* Workflow steps for small mobile */
    .workflow-step {
        padding: 1rem;
    }

    .workflow-number {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .workflow-content h4 {
        font-size: 0.85rem;
    }

    .workflow-content p {
        font-size: 0.7rem;
    }

    /* Contact cards for small mobile */
    .contact-card {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .contact-card i {
        font-size: 1.8rem;
    }

    .contact-card h3 {
        font-size: 1.1rem;
    }

    .contact-card p {
        font-size: 0.8rem;
    }

    .contact-link {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Referral items for small mobile */
    .referral-item {
        padding: 1rem;
    }

    .referral-item i {
        font-size: 1.8rem;
        width: 60px;
        height: 60px;
    }

    .referral-item h4 {
        font-size: 1rem;
    }

    .referral-item p {
        font-size: 0.8rem;
    }

    /* Footer for small mobile */
    .copyright {
        font-size: 0.75rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-social-links .social-link {
        width: 32px;
        height: 32px;
    }
    /* Compact "Why This Tool Changes the Game" box */
    .disclaimer-box {
        padding: 1.1rem 1rem 1.2rem;
        margin-top: 1.4rem;
    }
    .disclaimer-box h4 {
        font-size: 0.65rem;
        margin-bottom: 0.9rem;
    }
    .disclaimer-box p {
        font-size: 0.55rem;
        margin: 0 0 0.55rem 0;
    }
    .disclaimer-box p strong {
        font-size: 0.58rem;
    }
    .disclaimer-box p:last-child { margin-bottom: 0; }

    .footer-social-links .social-link i {
        font-size: 0.9rem;
    }

    /* Special sizing for Discord and Twitter icons on small mobile */
    .footer-social-links .discord-link i,
    .footer-social-links .twitter-link i,
    .footer-social-links .telegram-link i,
    .footer-social-links .youtube-link i {
        font-size: 0.9rem !important;
    }

    /* Disable Telegram and YouTube animations on small mobile */
    .telegram-link:hover i {
        animation: none !important;
        transform: scale(1.05) !important;
    }
    
    .youtube-link:hover i {
        animation: none !important;
        transform: scale(1.05) !important;
    }

    .footer-audio-player .audio-toggle-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
        font-size: 0.9rem !important;
    }

    /* Footer toggle button for small mobile */
    .footer-toggle-button {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
        right: 90px !important; /* Reduced spacing from audio player */
    }

    .footer-toggle-button i {
        font-size: 0.9rem !important;
    }

    /* Analyzer chat launcher for small mobile */
    #analyzer-chat-launcher {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
    }

    #analyzer-chat-launcher i {
        font-size: 0.9rem !important;
    }

    /* Prevent hover expansion on mobile for chat launcher */
    #analyzer-chat-launcher:hover {
        width: 32px !important;
        border-radius: 50% !important;
        /* transform: translateY(-2px) scale(1.02) !important; */
    }

    #analyzer-chat-launcher:hover i {
        position: relative !important;
        left: auto !important;
    }
}

@media (max-width: 768px) {

    /* Compact "Why This Tool Changes the Game" box */
    .disclaimer-box {
        padding: 1.1rem 1rem 1.2rem;
        margin-top: 1.4rem;
    }
    .disclaimer-box h4 {
        font-size: 1rem;
        margin-bottom: 0.9rem;
    }
    .disclaimer-box p {
        font-size: 0.55rem;
        margin: 0 0 0.55rem 0;
        line-height: 1.7;
    }
    .disclaimer-box p strong {
        font-size: 0.7rem;
    }
    .disclaimer-box p:last-child { margin-bottom: 0; }

    .email-link:hover i, .gitbook-link:hover i,.youtube-link:hover i , .twitter-link:hover i {
        animation: none !important;
    }

    .footer-social-links{
        margin-bottom: 30px !important;
    }

    button,
    .cta-button,
    .secondary-button,
    .contact-link {
        min-height: 44px;
        min-width: 44px;
    }

    /* Better spacing for touch */
    .hero-buttons {
        gap: 1.2rem;
    }

    .mobile-nav-buttons {
        gap: 18px;
    }

    /* Improved readability */
    body {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Better form elements */
    input,
    textarea,
    select {
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 12px;
        border-radius: 8px;
    }

    /* Improved scrolling */
    .modal-content {
        -webkit-overflow-scrolling: touch;
    }

    /* Better visual hierarchy */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        line-height: 1.2;
        margin-bottom: 0.8rem;
        word-wrap: break-word;
        hyphens: auto;
    }

    /* Improved paragraph spacing */
    p {
        line-height: 1.6;
        margin-bottom: 1rem;
        word-wrap: break-word;
        hyphens: auto;
    }

    /* Better button states */
    button:active,
    .cta-button:active,
    .secondary-button:active {
        transform: scale(0.98);
    }

    /* Improved focus states for accessibility */
    button:focus,
    .cta-button:focus,
    .secondary-button:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }

    /* Smooth scrolling for mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-padding-top: 80px;
        /* Account for fixed header */
    }

    /* Better text rendering on mobile */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }

    /* Prevent horizontal scroll */
    body,
    html {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Better tap targets */
    a,
    button,
    input,
    textarea,
    select {
        -webkit-tap-highlight-color: rgba(0, 255, 135, 0.2);
    }

    /* Mobile Navigation Hamburger Menu */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        cursor: pointer;
        padding: 0;
        background: none;
        border: none;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: var(--text-color);
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .mobile-nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100%;
        background: linear-gradient(145deg, rgba(10, 14, 23, 0.98), rgba(19, 26, 41, 0.95));
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(0, 255, 135, 0.2);
        z-index: 1000;
        transition: right 0.3s ease;
        padding: 100px 20px 20px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    }

    .mobile-nav-menu.active {
        right: 0;
    }

    .mobile-nav-menu ul {
        list-style: none;
        padding: 0;
        margin: 0 0 30px 0;
    }

    .mobile-nav-menu ul li {
        margin: 0;
        padding: 0;
    }

    .mobile-nav-menu ul li a {
        display: block;
        color: var(--text-color);
        text-decoration: none;
        padding: 15px 0;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .mobile-nav-menu ul li a:hover {
        color: var(--accent-color);
        padding-left: 10px;
    }

    .mobile-nav-buttons {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mobile-nav-buttons button {
        width: 100%;
        padding: 12px 20px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid transparent;
        outline: none;
        text-align: center;
    }

    /* Mobile Connect Wallet Button */
    .mobile-nav-buttons .connect-wallet-btn {
        background-color: #2C2E37;
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    letter-spacing: .2px;
    }

    .mobile-nav-buttons .connect-wallet-btn:hover {
        background-color: #3A3C44;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
        transform: translateY(-2px);
    }

    .mobile-nav-buttons .connect-wallet-btn.connected {
        background-color: rgba(0, 255, 135, 0.08);
        border: 1px solid var(--accent-color);
        color: var(--accent-color);
    width: 100%;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    }

    .mobile-nav-buttons .connect-wallet-btn.connected:hover {
        background-color: rgba(0, 255, 135, 0.12);
        box-shadow: 0 4px 10px rgba(0, 255, 135, 0.25);
    }

    /* Mobile Admin Button */
    .mobile-nav-buttons .admin-btn {
        background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
        color: #ffffff;
        box-shadow: 0 3px 8px rgba(229, 62, 62, 0.3);
    }

    .mobile-nav-buttons .admin-btn:hover {
        background: linear-gradient(135deg, #c53030 0%, #9c2626 100%);
        transform: translateY(-2px);
    }

    /* Mobile Purchase Access Button */
    .mobile-nav-buttons .purchase-access-btn {
        background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
        color: #ffffff;
        box-shadow: 0 3px 8px rgba(56, 161, 105, 0.3);
    }

    .mobile-nav-buttons .purchase-access-btn:hover {
        background: linear-gradient(135deg, #2f855a 0%, #276749 100%);
        transform: translateY(-2px);
    }

    /* Mobile RefDrop Button */
    .mobile-nav-buttons .refer-drop-btn {
        background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
        color: #ffffff;
        box-shadow: 0 3px 8px rgba(237, 137, 54, 0.3);
    }

    .mobile-nav-buttons .refer-drop-btn:hover {
        background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
        transform: translateY(-2px);
    }

    /* --- Enhanced Hamburger & Mobile Menu Styling (New) --- */
    .mobile-menu-toggle {
    position: relative;
    width: 42px;
    height: 42px;
        padding: 10px;
        border-radius: 14px;
        background: radial-gradient(circle at 30% 30%, rgba(0,255,135,0.18), rgba(0,255,135,0.05) 70%),
                    linear-gradient(145deg, rgba(25,32,45,0.9), rgba(10,14,23,0.85));
        border: 1px solid rgba(0,255,135,0.25);
        box-shadow: 0 4px 14px -4px rgba(0,255,135,0.35), 0 0 0 0 rgba(0,255,135,0.35);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    display: flex !important; /* force visible */
    flex-direction: column; /* خطوط زیر هم */
    gap: 6px; /* فاصله بین خطوط */
        justify-content: center;
        align-items: center;
        transition: box-shadow .4s ease, transform .35s ease, background .5s ease;
    z-index: 1100; /* above panel */
    }

    .mobile-menu-toggle:hover {
        box-shadow: 0 6px 18px -4px rgba(0,255,135,0.55), 0 0 0 4px rgba(0,255,135,0.12);
        transform: translateY(-3px) scale(1.03);
    }

    .mobile-menu-toggle:active {
        transform: translateY(0) scale(0.96);
        box-shadow: 0 2px 8px -2px rgba(0,255,135,0.4), 0 0 0 0 rgba(0,255,135,0.05);
    }

    .mobile-menu-toggle span {
        position: relative;
        height: 3px;
        border-radius: 3px;
        background: linear-gradient(90deg, rgba(0,255,135,0.85), rgba(0,255,200,0.6));
        box-shadow: 0 0 6px rgba(0,255,135,0.6);
    }

    .mobile-menu-toggle span::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255,255,255,0.15), rgba(255,255,255,0));
        mix-blend-mode: overlay;
        border-radius: inherit;
    }

    .mobile-menu-toggle.active {
        box-shadow: 0 8px 28px -6px rgba(0,255,135,0.65), 0 0 0 5px rgba(0,255,135,0.18);
        background: linear-gradient(155deg, rgba(0,255,135,0.25), rgba(10,14,23,0.9));
    }

    .mobile-menu-toggle.active span {
        background: linear-gradient(90deg, rgba(255,85,120,0.95), rgba(255,140,180,0.6));
        box-shadow: 0 0 10px rgba(255,85,120,0.8);
    }

    /* Override transforms برای فاصله بهتر در حالت فعال */
    .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0 !important; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Pulse hint when closed */
    .mobile-menu-toggle:not(.active)::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: radial-gradient(circle at 50% 50%, rgba(0,255,135,0.35), rgba(0,255,135,0) 70%);
        animation: hamburgerPulse 3.2s infinite ease-in-out;
        pointer-events: none;
        opacity: .55;
    }

    @keyframes hamburgerPulse {
        0% { transform: scale(0.85); opacity: .45; }
        50% { transform: scale(1.15); opacity: 0; }
        100% { transform: scale(0.85); opacity: .45; }
    }

    /* Slide + blur enhanced menu panel */
    .mobile-nav-menu {
        background: linear-gradient(160deg, rgba(10,15,25,0.93), rgba(14,25,32,0.9) 55%, rgba(20,40,55,0.88));
        backdrop-filter: blur(26px) saturate(140%);
        -webkit-backdrop-filter: blur(26px) saturate(140%);
        border-left: 1px solid rgba(0,255,135,0.25);
        box-shadow: -6px 0 28px -6px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
        animation: none;
        width: min(82%, 340px);
        right: -100%;
        transition: right .45s cubic-bezier(.65,.05,.36,1), opacity .3s ease;
    }

    .mobile-nav-menu.active { animation: panelIn .55s cubic-bezier(.65,.05,.36,1) forwards; }

    .mobile-nav-menu.closing {
        animation: panelOut .4s ease forwards;
    }

    @keyframes panelIn {
        0% { right: -100%; opacity: 0; }
        60% { right: 0; opacity: 1; }
        100% { right: 0; opacity: 1; }
    }

    @keyframes panelOut {
        0% { right: 0; opacity: 1; }
        100% { right: -100%; opacity: 0; }
    }

    /* Staggered reveal for buttons */
    .mobile-nav-buttons button {
        opacity: 0;
        transform: translateX(14px) scale(.96);
        filter: blur(2px);
    }

    .mobile-nav-buttons button.reveal {
        animation: menuItemFade .55s cubic-bezier(.4,.2,.2,1) forwards;
    }

    @keyframes menuItemFade {
        0% { opacity: 0; transform: translateX(22px) scale(.94); filter: blur(3px); }
        55% { opacity: 1; filter: blur(0); }
        100% { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
    }

    /* Accent underline hover for links if any added */
    .mobile-nav-menu ul li a {
        position: relative;
        overflow: hidden;
    }
    .mobile-nav-menu ul li a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0%;
        height: 2px;
        background: linear-gradient(90deg, var(--accent-color), rgba(0,255,135,0));
        transition: width .4s ease;
    }
    .mobile-nav-menu ul li a:hover::after {
        width: 100%;
    }

    /* Hide scrollbars inside menu on WebKit */
    .mobile-nav-menu::-webkit-scrollbar { width: 6px; }
    .mobile-nav-menu::-webkit-scrollbar-track { background: transparent; }
    .mobile-nav-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
    .mobile-nav-menu::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

    /* Close (X) button inside panel */
    .mobile-menu-close {
        position: absolute;
        top: 14px;
        right: 14px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.15);
        color: var(--text-color);
        font-size: 1.05rem;
        width: 38px;
        height: 38px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 12px;
        cursor: pointer;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
        z-index: 5;
    }

    .mobile-menu-close:hover {
        background: rgba(0,255,135,0.18);
        box-shadow: 0 0 0 3px rgba(0,255,135,0.15);
        transform: rotate(90deg);
    }

    .mobile-menu-close:active { transform: scale(.9) rotate(90deg); }

    /* Improve overlay visual with subtle grain */
    .mobile-nav-overlay {
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        background: radial-gradient(circle at 20% 30%, rgba(0,255,135,0.08), rgba(0,255,135,0) 70%), rgba(0,0,0,0.72);
    }

    /* Prevent background shift when menu open */
    body.mobile-menu-open {
        touch-action: none;
    }

    /* Ensure mobile menu works properly */
    body.mobile-menu-open {
        overflow: hidden;
    }

    /* Container adjustments */
    .container {
        padding: 0 15px;
    }

    /* Header for mobile */
    header {
        height: 70px;
        --header-height: 70px;
    }

    header .container {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    /* Hide desktop navigation */
    nav ul {
        display: none;
    }

    /* Hero section for mobile */
    .hero {
        height: auto;
        min-height: calc(100vh - 70px);
        margin-top: 70px;
        padding: 60px 0 40px 0;
        background-position: center;
        background-size: cover;
        display: flex;
        align-items: flex-end;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        align-items: center;
        justify-content: flex-end;
        margin-bottom: 80px;
    }

    .hero-content {
        max-width: 100%;
        align-items: center;
        margin-top: auto;
        margin-left: 0;
        padding-left: 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 90%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
        max-width: 300px;
        margin-top: 1rem;
    }

    .hero-buttons .cta-button,
    .hero-buttons .secondary-button {
        width: 100%;
        min-width: auto;
        padding: 15px 20px;
        font-size: 1rem;
    }

    .hero-image {
        max-width: 95%;
        margin: 0 auto;
    }

    .dashboard-preview {
        height: 250px;
    }

    /* Section titles for mobile */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        margin-top: 1rem;
    }

    .section-subtitle {
        font-size: 0.8rem !important;
        max-width: 95%;
        letter-spacing: 0;
        padding: 0.3rem 0;
    }

    /* Features section for mobile */
    .features-section {
    padding: 1.5rem 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    }

    .feature-card {
        padding: 1.5rem;
        height: auto;
        min-height: auto;
        margin-top: 1rem;
    }

    .feature-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-card p {
    font-size: 0.6rem;
    line-height: 1.7;
        padding: 0.8rem;
    }

    .icon-container {
        width: 70px;
        height: 70px;
        margin-bottom: 1.2rem;
    }

    .icon-container i {
        font-size: 1.8rem;
    }

    /* Platform overview for mobile */
    .platform-overview {
        margin-top: 1rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0;
    }

    .platform-overview h3 {
        font-size: 1.15rem;
        margin-bottom: 0.4rem;
    }

    .platform-steps {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        margin-top: 0.8rem;
    }

    .platform-step {
        padding: 0.7rem 0.6rem 0.8rem;
        margin-bottom: 0.6rem;
        text-align: center;
    }

    .step-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.4rem;
    }

    .step-icon i {
        font-size: 1.1rem;
    }

    .platform-step h4 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
        line-height: 1.15;
    }

    .platform-step p {
        font-size: 0.6rem;
        line-height: 2 !important;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
    .learn-more-section {
        background: var(--background-color);
        padding-top: 3rem;
        padding-bottom: 1rem;
    }

    .learn-more-section::before { display: none; }
        text-overflow: ellipsis;
    }

    .platform-steps .platform-step:last-child {
        margin-bottom: 0;
    }

    /* How it works section for mobile */
    .how-it-works-section {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
    }

    .how-it-works {
        height: auto;
        margin-bottom: 0;
        margin-top: 0;
    }

    .how-it-works h3 {
    font-size: 1.35rem;
    }

    .how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 1.2rem;
    padding: 0;
    }

    .workflow-step {
    padding: 0.8rem 0.7rem 0.9rem;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    }

    .workflow-number {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    }

    .workflow-content h4 {
    font-size: 0.8rem;
    margin-bottom: 0.72rem;
    line-height: 1.15;
    text-align: center;
    }


    .how-it-works-steps .workflow-step:last-child {
        grid-column: 1 / -1;
        width: 100%;
    }

    .workflow-step::before {
        display: none;
    }
    .workflow-content p {
    font-size: 0.6rem;
    line-height: 2;
    text-align: center;
    max-height: none;
    overflow: visible;
    }

    /* Learn more section for mobile */
    .learn-more-section {
        padding: 3rem 0;
    }

    /* Key features for mobile */
    .key-features {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .key-features h3 {
        font-size: 1.6rem;
    }

    .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-top: 0.8rem;
    align-items: stretch;
    }

    .feature-item {
    padding: 0.6rem 0.4rem;
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    }

    .feature-item i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    }

    .feature-item p {
    font-size: 0.5rem;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    white-space: normal;
    }

    /* Referral section for mobile */
    .earn-with-referrals {
        height: auto;
        margin-bottom: 3rem;
        margin-top: 2rem;
        padding: 1.5rem 0;
    }

    .earn-with-referrals {
        background: transparent;
        border: none;
        box-shadow: none;
        margin: 1.5rem 0 1rem;
        padding: 1rem 0 0.5rem;
    }
    .earn-with-referrals::before,
    .earn-with-referrals::after { display: none; }

    .referral-benefits {
        gap: 0.9rem;
        margin-top: 0.8rem;
    }

    .referral-item {
        background: rgba(255,255,255,0.03);
        padding: 1.2rem 1rem 1rem;
        box-shadow: none;
        border: 1px solid rgba(255,255,255,0.06);
    }
    .referral-item::before { display: none; }
    .referral-item i { width:60px; height:60px; font-size:1.8rem; margin-bottom:0.8rem; }
    .referral-item h4 { font-size:1.05rem; margin-bottom:0.5rem; }
    .referral-item p { font-size:0.7rem; line-height:1.4; }

    .earn-with-referrals h3 {
        font-size: 1.6rem;
        padding: 0 1rem;
    }

    .referral-benefits {
        grid-template-columns: 1fr;
    gap: 0.6rem;
        margin-left: 1rem;
        margin-right: 1rem;
    margin-top: 0.8rem;
    }

    .referral-item {
    padding: 0.9rem 0.8rem 0.8rem;
    text-align: center;
    }

    .referral-item i {
    font-size: 1.6rem;
    width: 54px;
    height: 54px;
    margin-bottom: 0.5rem;
    }

    .referral-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    }

    .referral-item p {
        font-size: 0.62rem;
        line-height: 1.35;
        max-height: 2.7em;
        overflow: hidden;
    }

    .referral-cta { padding: 0.8rem 0.6rem; margin: 0.8rem 0.6rem; }
    .referral-cta p { font-size: 0.75rem; line-height: 2; }

    /* Contact section for mobile */
    .contact-section {
    padding: 1.5rem 0 1.2rem;
    }

    .contact-section .container { flex-direction: column; gap: 1.2rem; }

    .contact-content {
        margin-top: 0;
        margin-bottom: 1rem;
        text-align: center;
    }

    .contact-content p { font-size: 0.75rem; line-height: 1.5; margin-bottom: 0.9rem; max-width: 90%; margin-left:auto; margin-right:auto; }

    .contact-methods { grid-template-columns: repeat(2,1fr); gap: 0.7rem; max-width: 95%; margin: 0 auto; }

    .contact-card { padding: 0.8rem 0.65rem 0.7rem; width:100%; margin:0; border:1px solid rgba(255,255,255,0.05); background:rgba(255,255,255,0.02); min-height:170px; display:flex; flex-direction:column; }

    .contact-card i { font-size: 1.35rem; margin-bottom: 0.5rem; }

    .contact-card h3 { font-size: 0.85rem; margin-top:auto; margin-bottom: 0.3rem; line-height:1.05; }

    .contact-card p { font-size: 0.5rem; line-height:1.3; margin:0 0 auto; min-height:1.3em; }

    .contact-link { padding: 0.4rem 0.55rem; font-size: 0.5rem; min-width:auto; display:inline-flex; align-items:center; justify-content:center; margin-top:auto; }

    /* Bubble animation for mobile */
    .bubble-animation {
        display: none;
    }

    /* Footer for mobile */
    .footer {
        padding: 1rem 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        min-height: auto;
    }

    .copyright {
        font-size: 0.8rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-social-links {
        justify-content: center;
        gap: 1rem;
        display: flex;
    }

    .footer-social-links .social-link {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        position: relative;
    }

    .footer-social-links .social-link i {
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 0;
    }

    /* Special sizing for Discord and Twitter icons on mobile */
    .footer-social-links .discord-link i,
    .footer-social-links .twitter-link i,
    .footer-social-links .telegram-link i,
    .footer-social-links .youtube-link i {
        font-size: 1.2rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .footer-audio-player {
        left: 70px;
        bottom: 20px;
    }

    .footer-audio-player .audio-toggle-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        font-size: 1.2rem !important;
    }

    /* Footer toggle button for mobile */
    .footer-toggle-button {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
    }

    .footer-toggle-button i {
        font-size: 1.2rem !important;
    }

    /* Analyzer chat launcher for mobile */
    #analyzer-chat-launcher {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
    }

    #analyzer-chat-launcher i {
        font-size: 1.2rem !important;
    }

    /* Disable hover width expansion on mobile for chat launcher */
    #analyzer-chat-launcher:hover {
        width: 40px !important; /* keep circular size */
        /* border-radius: 50% !important; */
    }
    /* Hide launcher text entirely on mobile to prevent clipped text */
    #analyzer-chat-launcher .launcher-text { 
        display: none !important; 
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 20px 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .mobile-nav-menu {
        padding: 60px 20px 20px;
    }

    .feature-card {
        min-height: auto;
        padding: 1rem;
    }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .mobile-menu-toggle span {
        transition: none;
    }

    .mobile-nav-overlay,
    .mobile-nav-menu {
        transition: none;
    }
}

@media (max-width: 1024px) {
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {

    /* Header adjustments for tablet */
    header .container {
        padding: 0 30px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    /* Hero section for tablet */
    .hero {
        padding-top: calc(var(--header-height) + 20px);
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        align-items: center;
        margin-left: 0;
        padding-left: 0;
    }

    .hero-content h1 {
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 1.1rem;
        max-width: 600px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        max-width: 80%;
        margin: 0 auto;
    }

    /* Features section for tablet */
    .feature-card {
        padding: 2rem;
        height: auto;
        min-height: 60vh;
    }

    .feature-card h3 {
        font-size: 1.8rem;
    }

    .feature-card p {
        font-size: 0.95rem;
        padding: 0.8rem;
    }

    /* Platform steps for tablet */
    .platform-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .platform-step {
        padding: 2rem 1.5rem;
    }

    /* How it works for tablet */
    .how-it-works-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }

    .workflow-step {
        padding: 1.5rem;
    }

    .workflow-number {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .workflow-content h4 {
        font-size: 1rem;
    }

    .workflow-content p {
        font-size: 0.75rem;
    }

    /* Contact section for tablet */
    .contact-methods {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .contact-card {
        padding: 2rem;
        max-width: none;
    }

    /* Referral benefits for tablet */
    .referral-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    /* Footer icons for tablet - match social links size */
    .footer-social-links .social-link {
        width: 45px;
        height: 45px;
    }

    .footer-social-links .social-link i {
        font-size: 1.2rem;
    }

    /* Audio player for tablet */
    .footer-audio-player .audio-toggle-btn {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        min-height: 45px !important;
        max-width: 45px !important;
        max-height: 45px !important;
        font-size: 1.2rem !important;
    }

    /* Footer toggle button for tablet */
    .footer-toggle-button {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        min-height: 45px !important;
        max-width: 45px !important;
        max-height: 45px !important;
    }

    .footer-toggle-button i {
        font-size: 1.2rem !important;
    }

    /* Analyzer chat launcher for tablet */
    #analyzer-chat-launcher {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        min-height: 45px !important;
        max-width: 45px !important;
        max-height: 45px !important;
    }

    #analyzer-chat-launcher i {
        font-size: 1.2rem !important;
    }
}
