:root {
    --sdock-primary: #2563eb;
    --sdock-primary-light: #3b82f6;
    --sdock-primary-dark: #1d4ed8;
    --sdock-primary-soft: #60a5fa;
    --sdock-secondary: #0f172a;
    --sdock-text-primary: #1e293b;
    --sdock-text-secondary: #475569;
    --sdock-text-tertiary: #64748b;
    --sdock-bg-primary: #ffffff;
    --sdock-bg-secondary: #f8fafc;
    --sdock-border-light: #e2e8f0;
    --sdock-border-medium: #cbd5e1;
    --sdock-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
    --sdock-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02);
    --sdock-shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.03);
    --sdock-shadow-xl: 0 20px 28px -8px rgba(0, 0, 0, 0.08), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
    --sdock-shadow-2xl: 0 25px 40px -12px rgba(0, 0, 0, 0.15);
    --sdock-gradient-1: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --sdock-gradient-2: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --sdock-gradient-soft: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    --sdock-bounce: cubic-bezier(0.34, 1.2, 0.64, 1);
    --sdock-ease-out: cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--sdock-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--sdock-bg-primary);
    -webkit-font-smoothing: antialiased;
}

/* ========== HEADER (Fully responsive) ========== */
.sdock-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    z-index: 1000;
    transition: all 0.3s var(--sdock-ease-out);
}

    .sdock-header.scrolled {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

.sdock-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

@media (min-width: 1280px) {
    .sdock-container {
        padding: 0 32px;
    }
}

.sdock-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    min-height: 80px;
}

/* Logo */
.sdock-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.sdock-logo-icon {
    width: 44px;
    height: 44px;
    background: var(--sdock-gradient-1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sdock-shadow-md);
    transition: all 0.3s var(--sdock-bounce);
}

    .sdock-logo-icon:hover {
        transform: scale(1.05) rotate(2deg);
    }

.sdock-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.sdock-logo h1 {
    font-size: 24px;
    font-weight: 800;
    background: var(--sdock-gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1;
}

/* Desktop nav */
.sdock-desktop-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sdock-nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

    .sdock-nav-links a {
        text-decoration: none;
        color: var(--sdock-text-primary);
        font-weight: 500;
        font-size: 15px;
        transition: all 0.25s;
        position: relative;
        padding: 8px 0;
    }

        .sdock-nav-links a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--sdock-gradient-1);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.3s var(--sdock-ease-out);
        }

        .sdock-nav-links a:hover::before {
            transform: scaleX(1);
            transform-origin: left;
        }

        .sdock-nav-links a:hover {
            color: var(--sdock-primary);
        }

/* Auth buttons */
.sdock-auth-buttons {
    display: flex;
    gap: 12px;
}

.sdock-btn {
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s var(--sdock-ease-out);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.sdock-btn-primary {
    background: var(--sdock-gradient-1);
    color: white;
    box-shadow: var(--sdock-shadow-md);
}

    .sdock-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--sdock-shadow-lg);
    }

.sdock-btn-outline {
    background: transparent;
    border: 1.5px solid var(--sdock-border-light);
    color: var(--sdock-text-primary);
}

    .sdock-btn-outline:hover {
        border-color: var(--sdock-primary);
        color: var(--sdock-primary);
        transform: translateY(-2px);
    }

/* Mobile menu button */
.sdock-mobile-menu-btn {
    display: none;
    background: rgba(37, 99, 235, 0.08);
    border: none;
    font-size: 24px;
    color: var(--sdock-primary);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}

    .sdock-mobile-menu-btn:hover {
        background: var(--sdock-primary);
        color: white;
        transform: scale(0.96);
    }

/* Mobile nav panel */
.sdock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

    .sdock-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.sdock-mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: var(--sdock-shadow-2xl);
    z-index: 2000;
    transition: right 0.4s var(--sdock-bounce);
    padding: 80px 24px 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

    .sdock-mobile-nav.active {
        right: 0;
    }

.sdock-mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--sdock-bg-secondary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 20px;
    color: var(--sdock-text-tertiary);
}

    .sdock-mobile-nav-close:hover {
        background: var(--sdock-primary);
        color: white;
        transform: rotate(90deg);
    }

.sdock-mobile-nav-links {
    list-style: none;
    margin: 0 0 40px 0;
    padding: 0;
}

    .sdock-mobile-nav-links li a {
        display: block;
        padding: 14px 20px;
        text-decoration: none;
        color: var(--sdock-text-primary);
        font-size: 18px;
        font-weight: 500;
        border-radius: 16px;
        transition: all 0.25s;
    }

        .sdock-mobile-nav-links li a:hover {
            background: var(--sdock-gradient-soft);
            color: var(--sdock-primary);
            transform: translateX(8px);
        }

.sdock-mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

    .sdock-mobile-auth-buttons .sdock-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

/* ========== RESPONSIVE HEADER ========== */
@media (max-width: 992px) {
    .sdock-desktop-nav {
        gap: 20px;
    }

    .sdock-nav-links {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .sdock-desktop-nav {
        display: none;
    }

    .sdock-mobile-menu-btn {
        display: flex;
    }

    .sdock-header-content {
        min-height: 70px;
        padding: 12px 0;
    }

    .sdock-logo h1 {
        font-size: 20px;
    }

    .sdock-logo-icon {
        width: 38px;
        height: 38px;
    }

    .sdock-logo-img {
        width: 26px;
        height: 26px;
    }
}

/* ========== HERO SECTION (Fully responsive) ========== */
.sdock-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    margin-top: 0;
}

.sdock-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.sdock-hero-text {
    flex: 1;
    max-width: 600px;
}

.sdock-hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 40px;
    color: var(--sdock-primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.sdock-hero h2 {
    font-size: 56px;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.15;
    background: var(--sdock-gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.sdock-hero p {
    font-size: 18px;
    margin-bottom: 32px;
    color: var(--sdock-text-secondary);
    line-height: 1.6;
}

.sdock-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.sdock-hero-stats {
    display: flex;
    gap: 48px;
}

.sdock-hero-stat .sdock-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--sdock-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.sdock-hero-stat .sdock-label {
    font-size: 14px;
    color: var(--sdock-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 500;
}

.sdock-hero-image {
    flex: 1;
    position: relative;
}

    .sdock-hero-image img {
        width: 100%;
        border-radius: 32px;
        box-shadow: var(--sdock-shadow-2xl);
        transition: transform 0.4s var(--sdock-ease-out);
    }

        .sdock-hero-image img:hover {
            transform: scale(1.02);
        }

/* Floating Cards */
.sdock-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 12px 20px;
    box-shadow: var(--sdock-shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    animation: cardFloat 4s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sdock-floating-card-1 {
    top: 5%;
    left: -20px;
    animation-delay: 0s;
}

.sdock-floating-card-2 {
    bottom: 10%;
    right: -20px;
    animation-delay: 0.6s;
}

.sdock-floating-card-3 {
    top: 35%;
    right: -30px;
    animation-delay: 1.2s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.sdock-floating-card i {
    font-size: 22px;
    color: var(--sdock-primary);
}

.sdock-floating-card span {
    font-weight: 600;
    font-size: 14px;
    color: var(--sdock-text-primary);
}

/* Hero responsive */
@media (max-width: 992px) {
    .sdock-hero h2 {
        font-size: 44px;
    }

    .sdock-hero-stats {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .sdock-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .sdock-hero-text {
        max-width: 100%;
    }

    .sdock-hero-buttons {
        justify-content: center;
    }

    .sdock-hero h2 {
        font-size: 34px;
    }

    .sdock-hero p {
        font-size: 16px;
    }

    .sdock-hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 24px;
    }

    .sdock-hero-stat {
        flex: 0 0 calc(50% - 12px);
        text-align: center;
    }

        .sdock-hero-stat .sdock-number {
            font-size: 28px;
        }

        .sdock-hero-stat .sdock-label {
            font-size: 12px;
        }

    .sdock-floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .sdock-hero h2 {
        font-size: 28px;
    }

    .sdock-hero p {
        font-size: 15px;
    }

    .sdock-hero-stat {
        flex: 0 0 100%;
    }

        .sdock-hero-stat .sdock-number {
            font-size: 26px;
        }

    .sdock-hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

        .sdock-hero-buttons .sdock-btn {
            width: 100%;
            justify-content: center;
        }
}

/* ========== SECTIONS & GRIDS ========== */
.sdock-screenshots-section,
.sdock-why-choose-section,
.sdock-features-section,
.sdock-testimonials-section,
.sdock-download-section {
    padding: 96px 0;
    position: relative;
}

.sdock-section-header {
    text-align: center;
    margin-bottom: 64px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s var(--sdock-ease-out);
}

    .sdock-section-header.sdock-visible {
        opacity: 1;
        transform: translateY(0);
    }

.sdock-section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--sdock-gradient-1);
    border-radius: 40px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.sdock-section-header h2 {
    font-size: 44px;
    margin-bottom: 16px;
    font-weight: 700;
    background: var(--sdock-gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.sdock-section-header p {
    font-size: 18px;
    color: var(--sdock-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Grids */
.sdock-benefits-grid,
.sdock-features-grid,
.sdock-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.sdock-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
}

/* Cards */
.sdock-benefit-card,
.sdock-feature-card,
.sdock-testimonial-card,
.sdock-stat-card {
    background: white;
    border-radius: 28px;
    padding: 36px 28px;
    box-shadow: var(--sdock-shadow-md);
    transition: all 0.4s var(--sdock-ease-out);
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid var(--sdock-border-light);
    will-change: transform;
}

    .sdock-benefit-card.sdock-visible,
    .sdock-feature-card.sdock-visible,
    .sdock-testimonial-card.sdock-visible,
    .sdock-stat-card.sdock-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .sdock-benefit-card:hover,
    .sdock-feature-card:hover,
    .sdock-testimonial-card:hover,
    .sdock-stat-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--sdock-shadow-xl);
        border-color: var(--sdock-primary-soft);
    }

.sdock-benefit-icon,
.sdock-feature-icon {
    width: 64px;
    height: 64px;
    background: var(--sdock-gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: transform 0.3s var(--sdock-bounce);
}

.sdock-benefit-card:hover .sdock-benefit-icon,
.sdock-feature-card:hover .sdock-feature-icon {
    transform: scale(1.08) rotate(2deg);
}

.sdock-benefit-icon i,
.sdock-feature-icon i {
    font-size: 28px;
    color: white;
}

.sdock-benefit-card h3,
.sdock-feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
}

.sdock-benefit-card p,
.sdock-feature-card p {
    color: var(--sdock-text-secondary);
    line-height: 1.65;
}

.sdock-stat-value {
    font-size: 46px;
    font-weight: 800;
    background: var(--sdock-gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.sdock-stat-label {
    color: var(--sdock-text-tertiary);
    font-size: 14px;
    font-weight: 500;
}

/* Testimonials */
.sdock-testimonial-rating {
    color: #fbbf24;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.sdock-testimonial-text {
    font-size: 16px;
    color: var(--sdock-text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: normal;
    font-weight: 400;
}

.sdock-testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sdock-author-avatar {
    width: 52px;
    height: 52px;
    background: var(--sdock-gradient-1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.sdock-author-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.sdock-author-info p {
    font-size: 13px;
    color: var(--sdock-text-tertiary);
}

/* Download Section */
.sdock-download-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.sdock-download-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: white;
    border-radius: 32px;
    padding: 44px 32px;
    text-align: center;
    box-shadow: var(--sdock-shadow-lg);
    transition: all 0.4s var(--sdock-bounce);
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid var(--sdock-border-light);
}

    .sdock-download-card.sdock-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .sdock-download-card:hover {
        transform: translateY(-12px);
        box-shadow: var(--sdock-shadow-2xl);
        border-color: var(--sdock-primary-soft);
    }

.sdock-download-icon {
    width: 84px;
    height: 84px;
    background: var(--sdock-gradient-1);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    transition: transform 0.3s;
}

.sdock-download-card:hover .sdock-download-icon {
    transform: scale(1.08);
}

.sdock-download-icon i {
    font-size: 40px;
    color: white;
}

.sdock-download-card h3 {
    font-size: 26px;
    margin-bottom: 12px;
    font-weight: 700;
}

.sdock-download-card p {
    color: var(--sdock-text-secondary);
    margin-bottom: 32px;
}

.sdock-platform-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sdock-platform-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--sdock-bg-secondary);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    color: var(--sdock-text-primary);
    border: 1px solid var(--sdock-border-light);
}

    .sdock-platform-btn:hover {
        background: var(--sdock-primary);
        color: white;
        transform: translateX(6px);
        border-color: transparent;
    }

.sdock-os-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sdock-os-icon {
    width: 28px;
    text-align: center;
}

/* CTA Section */
.sdock-cta {
    padding: 96px 0;
    background: var(--sdock-gradient-1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .sdock-cta::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: rotateSlow 30s linear infinite;
    }

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.sdock-cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.sdock-cta h2 {
    font-size: 44px;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.sdock-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 32px;
}

.sdock-btn-light {
    background: white;
    color: var(--sdock-primary);
    padding: 14px 36px;
    font-size: 16px;
    box-shadow: var(--sdock-shadow-md);
}

    .sdock-btn-light:hover {
        transform: translateY(-3px);
        box-shadow: var(--sdock-shadow-xl);
    }

/* Footer */
.sdock-footer {
    background: var(--sdock-secondary);
    color: white;
    padding: 64px 0 32px;
    position: relative;
}

.sdock-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.sdock-footer-column p {
    color: #94a3b8;
    line-height: 1.6;
    margin: 16px 0;
}

.sdock-footer-column h3 {
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

    .sdock-footer-column h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background: var(--sdock-primary);
    }

.sdock-footer-column ul {
    list-style: none;
    padding: 0;
}

    .sdock-footer-column ul li {
        margin-bottom: 12px;
    }

        .sdock-footer-column ul li a {
            color: #94a3b8;
            text-decoration: none;
            transition: all 0.2s;
        }

            .sdock-footer-column ul li a:hover {
                color: white;
                padding-left: 4px;
            }

.sdock-social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

    .sdock-social-links a {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        transition: all 0.25s;
    }

        .sdock-social-links a:hover {
            background: var(--sdock-primary);
            transform: translateY(-4px);
        }

.sdock-copyright {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 14px;
}

/* ========== ENHANCED RESPONSIVE GRIDS & SECTIONS ========== */
/* Medium tablets and small desktops */
@media (max-width: 1200px) {
    .sdock-benefits-grid,
    .sdock-features-grid,
    .sdock-testimonials-grid {
        gap: 24px;
    }
}

/* Tablets (landscape) */
@media (max-width: 992px) {
    .sdock-benefits-grid,
    .sdock-features-grid,
    .sdock-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .sdock-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .sdock-section-header h2 {
        font-size: 36px;
    }

    .sdock-footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* Override any inline 4‑column grids */
    .sdock-benefits-grid[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    /* Section padding reduction */
    .sdock-screenshots-section,
    .sdock-why-choose-section,
    .sdock-features-section,
    .sdock-testimonials-section,
    .sdock-download-section {
        padding: 60px 0;
    }

    /* All grids become single column */
    .sdock-benefits-grid,
    .sdock-features-grid,
    .sdock-testimonials-grid,
    .sdock-stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

        /* Force override for any inline grid definitions */
        .sdock-benefits-grid[style],
        .sdock-features-grid[style],
        .sdock-testimonials-grid[style],
        .sdock-stats-grid[style] {
            grid-template-columns: 1fr !important;
        }

    /* Card adjustments */
    .sdock-benefit-card,
    .sdock-feature-card,
    .sdock-testimonial-card,
    .sdock-stat-card {
        padding: 28px 20px;
    }

    .sdock-benefit-icon,
    .sdock-feature-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 20px;
    }

        .sdock-benefit-icon i,
        .sdock-feature-icon i {
            font-size: 22px;
        }

    /* Section headers */
    .sdock-section-header h2 {
        font-size: 28px;
    }

    .sdock-section-header p {
        font-size: 16px;
        padding: 0 16px;
    }

    /* Download cards */
    .sdock-download-card {
        padding: 32px 20px;
        min-width: auto;
        max-width: 100%;
    }

    .sdock-download-icon {
        width: 70px;
        height: 70px;
    }

        .sdock-download-icon i {
            font-size: 32px;
        }

    .sdock-download-card h3 {
        font-size: 22px;
    }

    /* CTA section */
    .sdock-cta {
        padding: 60px 0;
    }

        .sdock-cta h2 {
            font-size: 32px;
        }

        .sdock-cta p {
            font-size: 16px;
        }

    /* Footer */
    .sdock-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .sdock-footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .sdock-social-links {
        justify-content: center;
    }
}

/* Extra small devices (phones) */
@media (max-width: 480px) {
    /* Container padding */
    .sdock-container {
        padding: 0 16px;
    }

    /* Cards typography */
    .sdock-benefit-card h3,
    .sdock-feature-card h3 {
        font-size: 18px;
    }

    /* Buttons */
    .sdock-btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    /* Platform buttons */
    .sdock-platform-btn {
        padding: 12px 16px;
    }

    /* Footer */
    .sdock-footer-column h3 {
        font-size: 16px;
    }

    .sdock-copyright {
        font-size: 12px;
    }

    /* Screenshot slider */
    .sdock-screenshot-slide {
        height: 280px;
    }

    /* Modal adjustments */
    .sdock-modal-container {
        width: 95%;
        margin: 16px;
    }

    .sdock-modal-header h2 {
        font-size: 22px;
    }

    /* Form rows stack */
    .sdock-form-row {
        flex-direction: column;
        gap: 16px;
    }
}

/* ========== LOADING SCREEN, PARTICLES, ETC. ========== */
.sdock-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sdock-secondary) 0%, rgba(37, 99, 235, 0.95) 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

    .sdock-loading-screen.sdock-hidden {
        opacity: 0;
        visibility: hidden;
    }

.sdock-loader-container {
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

.sdock-loader {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
}

.sdock-loader-ring {
    width: 100%;
    height: 100%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.sdock-loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sdock-loader-text h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 700;
}

.sdock-loader-text p {
    color: rgba(255, 255, 255, 0.7);
}

.sdock-progress-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 20px auto 0;
    overflow: hidden;
}

.sdock-progress-fill {
    height: 100%;
    background: white;
    border-radius: 10px;
    animation: progressExpand 2s ease-in-out infinite;
    width: 0%;
}

@keyframes progressExpand {
    0% {
        width: 0%;
    }

    50% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sdock-particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.sdock-particle {
    position: absolute;
    background: var(--sdock-primary);
    border-radius: 50%;
    opacity: 0.12;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-30px) translateX(15px);
    }

    50% {
        transform: translateY(-60px) translateX(0);
    }

    75% {
        transform: translateY(-30px) translateX(-15px);
    }
}

.sdock-gradient-waves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.sdock-wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #2563eb, #1d4ed8, #3b82f6, #60a5fa);
    opacity: 0.04;
    animation: waveMove 20s linear infinite;
    border-radius: 40%;
}

    .sdock-wave:nth-child(1) {
        top: -50%;
        left: -50%;
        animation-duration: 30s;
    }

    .sdock-wave:nth-child(2) {
        top: -30%;
        left: -30%;
        animation-duration: 25s;
        animation-direction: reverse;
    }

    .sdock-wave:nth-child(3) {
        top: -70%;
        left: -20%;
        animation-duration: 35s;
    }

@keyframes waveMove {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.sdock-floating-orb {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, var(--sdock-primary-light), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    z-index: 0;
    animation: orbFloat 25s ease-in-out infinite;
    pointer-events: none;
}

.sdock-orb-1 {
    top: -100px;
    left: -100px;
}

.sdock-orb-2 {
    bottom: -100px;
    right: -100px;
    animation-duration: 30s;
    animation-direction: reverse;
}

.sdock-orb-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    animation-duration: 35s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, 40px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 20px) scale(0.9);
    }
}

/* ========== MODAL, ALERTS, WHATSAPP, SCREENSHOT SLIDER ========== */
.sdock-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

    .sdock-modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.sdock-modal-container {
    background: white;
    border-radius: 36px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--sdock-shadow-2xl);
    animation: modalSlideIn 0.4s var(--sdock-bounce);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.sdock-modal-header {
    padding: 32px 32px 24px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--sdock-border-light);
}

.sdock-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sdock-bg-secondary);
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.25s;
}

    .sdock-modal-close:hover {
        background: var(--sdock-primary);
        color: white;
        transform: rotate(90deg);
    }

.sdock-modal-icon {
    width: 70px;
    height: 70px;
    background: var(--sdock-gradient-1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

    .sdock-modal-icon i {
        font-size: 32px;
        color: white;
    }

.sdock-modal-header h2 {
    font-size: 26px;
    margin-bottom: 8px;
    font-weight: 700;
}

.sdock-modal-header p {
    color: var(--sdock-text-tertiary);
}

.sdock-modal-body {
    padding: 28px 32px 32px;
}

.sdock-form-group {
    margin-bottom: 22px;
}

    .sdock-form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        font-size: 14px;
        color: var(--sdock-text-primary);
    }

.sdock-form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--sdock-border-light);
    border-radius: 16px;
    font-size: 15px;
    transition: all 0.2s;
    font-family: inherit;
}

    .sdock-form-input:focus {
        outline: none;
        border-color: var(--sdock-primary);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

textarea.sdock-form-input {
    resize: vertical;
    min-height: 100px;
}

.sdock-form-row {
    display: flex;
    gap: 20px;
}

    .sdock-form-row .sdock-form-group {
        flex: 1;
    }

.sdock-modal-footer {
    margin-top: 28px;
    text-align: center;
}

.alert {
    padding: 14px 18px;
    border-radius: 20px;
    margin-bottom: 24px;
    font-size: 14px;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.text-danger {
    color: #dc2626;
    font-size: 12px;
    margin-top: 6px;
    display: block;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--sdock-bounce);
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
    animation: pulse 2s infinite;
}

    .whatsapp-float i {
        font-size: 32px;
        color: white;
    }

    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.wa-tooltip {
    position: absolute;
    right: 72px;
    background: #1f2937;
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    font-weight: 500;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
}

/* WhatsApp on small screens */
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

        .whatsapp-float i {
            font-size: 26px;
        }

    .wa-tooltip {
        display: none;
    }
}

.sdock-screenshot-slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: var(--sdock-shadow-2xl);
}

.sdock-screenshot-track {
    display: flex;
    transition: transform 0.5s var(--sdock-ease-out);
}

.sdock-screenshot-slide {
    flex: 0 0 100%;
    position: relative;
    height: 500px;
}

    .sdock-screenshot-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

    .sdock-screenshot-slide:hover img {
        transform: scale(1.02);
    }

.sdock-screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.sdock-screenshot-slide:hover .sdock-screenshot-overlay {
    transform: translateY(0);
}

.sdock-screenshot-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.sdock-screenshot-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--sdock-border-medium);
    cursor: pointer;
    transition: all 0.2s;
}

    .sdock-screenshot-dot:hover {
        background: var(--sdock-primary);
        transform: scale(1.3);
    }

    .sdock-screenshot-dot.sdock-active {
        background: var(--sdock-primary);
        width: 24px;
        border-radius: 12px;
    }

/* Screenshot slider responsive */
@media (max-width: 768px) {
    .sdock-screenshot-slide {
        height: 320px;
    }

    .sdock-screenshot-overlay {
        padding: 20px;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    }

        .sdock-screenshot-overlay h3 {
            font-size: 1.2rem;
        }

        .sdock-screenshot-overlay p {
            font-size: 0.8rem;
        }
}

@media (max-width: 480px) {
    .sdock-screenshot-slide {
        height: 240px;
    }
}

/* Additional helper classes for safe responsive behavior */
img, svg, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Fix for any unexpected overflow */
.sdock-hero-image,
.sdock-container,
.sdock-section-header,
.sdock-benefit-card,
.sdock-feature-card {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Skip link */
.sdock-skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--sdock-primary);
    color: white;
    padding: 8px 16px;
    z-index: 9999;
    text-decoration: none;
}

    .sdock-skip-link:focus {
        top: 0;
    }

/* Section CTA */
.sdock-section-cta {
    margin-top: 48px;
    text-align: center;
}

.sdock-text-center {
    text-align: center;
}

/* Withdraw badge */
.sdock-withdraw-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 800;
    padding: 0.5rem 2rem;
    border-radius: 60px;
    margin-bottom: 20px;
    box-shadow: var(--sdock-shadow-md);
}

/* Back to top button */
.sdock-back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sdock-primary);
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
    box-shadow: var(--sdock-shadow-md);
}

    .sdock-back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .sdock-back-to-top:hover {
        transform: translateY(-4px);
        background: var(--sdock-primary-dark);
    }

/* Responsive adjustments for back-to-top */
@media (max-width: 768px) {
    .sdock-back-to-top {
        bottom: 80px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}