/* SKALA LABS - Part 2: Components & FULL RESPONSIVE - REWRITTEN */

/* VSL Section */
.vsl-container {
    max-width: 900px;
    margin: 0 auto;
}

.vsl-screen {
    padding: var(--space-md);
}

.vsl-frame {
    background: #0A0A0A;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vsl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.vsl-dots {
    display: flex;
    gap: var(--space-sm);
}

.vsl-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.vsl-dots span:first-child {
    background: #FF5F56;
}

.vsl-dots span:nth-child(2) {
    background: #FFBD2E;
}

.vsl-dots span:last-child {
    background: #27CA40;
}

.vsl-label {
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
}

.vsl-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s ease-in-out infinite;
}

.vsl-video-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
}

.vsl-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--accent-blue);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-slow);
    box-shadow: 0 8px 32px rgba(0, 71, 255, 0.5);
}

.play-btn svg {
    width: 28px;
    height: 28px;
    color: white;
    margin-left: 4px;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 16px 48px rgba(0, 71, 255, 0.6);
}

.vsl-duration {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    color: white;
}

.vsl-info {
    padding: var(--space-lg);
    text-align: center;
}

.vsl-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.vsl-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Infrastructure Section */
.infrastructure {
    background: var(--bg-secondary);
}

.funnel-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.funnel-image {
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.funnel-image img {
    max-width: 100%;
    height: auto;
}

.funnel-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.funnel-step {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    transition: all var(--transition-slow);
}

.funnel-step:hover {
    transform: translateX(8px);
    box-shadow: var(--glass-shadow);
}

.step-number {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--accent-blue);
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.step-content p {
    font-size: clamp(0.8rem, 1.8vw, 0.875rem);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Social Proof Section */
.storefront-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.storefront-mockup {
    padding: var(--space-xl);
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-frame {
    position: relative;
    width: 260px;
    max-width: 100%;
    background: #1D1D1F;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2), 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.phone-frame:hover {
    transform: rotateY(0) rotateX(0);
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #000;
    border-radius: 16px;
    z-index: 10;
}

.storefront-image {
    width: 100%;
    border-radius: 26px;
}

.storefront-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature {
    padding: var(--space-lg);
    transition: all var(--transition-slow);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 71, 255, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent-blue);
}

.feature h4 {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.feature p {
    font-size: clamp(0.8rem, 1.8vw, 0.875rem);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Footer CTA Section */
.footer-cta {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.footer-cta-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-3xl);
    padding: var(--space-3xl);
    align-items: center;
}

.exclusivity-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 71, 255, 0.08);
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.exclusivity-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-cta-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.footer-cta-desc {
    font-size: clamp(0.9rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    line-height: 1.6;
}

.footer-cta-note {
    margin-top: var(--space-lg);
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.footer-cta-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.slots-display {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.slot {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    border: 2px solid var(--glass-border-subtle);
    transition: all var(--transition-base);
}

.slot.filled {
    background: var(--text-tertiary);
    border-color: var(--text-tertiary);
}

.slot.available {
    background: rgba(0, 71, 255, 0.1);
    border-color: var(--accent-blue);
}

.slot.available.pulse {
    animation: slotPulse 2s ease-in-out infinite;
}

@keyframes slotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 71, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 4px rgba(0, 71, 255, 0.3);
    }
}

.slots-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

/* Footer */
.footer {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--glass-border-subtle);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-brand p {
    margin-top: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-legal {
    text-align: right;
}

.footer-legal p {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Magnetic Button */
.magnetic-btn {
    position: relative;
    transition: transform var(--transition-spring);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE BREAKPOINTS - COMPLETELY REWRITTEN
   ======================================== */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-lg);
    }

    .nav-container {
        padding: 0 var(--space-lg);
    }

    .hero-content {
        padding: 0 var(--space-lg);
    }

    .comparison-card {
        padding: var(--space-2xl);
    }

    .comparison-grid {
        gap: var(--space-xl);
    }

    .funnel-container,
    .storefront-container {
        gap: var(--space-2xl);
    }

    .footer-cta-card {
        padding: var(--space-2xl);
        gap: var(--space-2xl);
    }
}

/* Tablet Portrait */
@media (max-width: 968px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .comparison-side {
        padding: var(--space-xl);
        background: var(--bg-tertiary);
        border-radius: var(--radius-lg);
        text-align: center;
    }

    .comparison-side.old-way {
        border: 1px solid rgba(255, 59, 48, 0.15);
    }

    .comparison-side.skala-way {
        border: 1px solid rgba(0, 71, 255, 0.15);
        background: linear-gradient(135deg, rgba(0, 71, 255, 0.03) 0%, var(--bg-tertiary) 100%);
    }

    .comparison-icon {
        margin: 0 auto var(--space-lg);
    }

    .comparison-badge {
        align-self: center;
    }

    .comparison-list {
        text-align: left;
        max-width: 320px;
        margin: 0 auto;
    }

    .comparison-divider {
        flex-direction: row;
        padding: var(--space-md) 0;
        justify-content: center;
    }

    .divider-line {
        width: 40px;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--text-tertiary), transparent);
    }

    .divider-text {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.75rem;
    }

    .funnel-container {
        grid-template-columns: 1fr;
    }

    .funnel-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .storefront-container {
        grid-template-columns: 1fr;
    }

    .storefront-mockup {
        order: -1;
    }

    .phone-frame {
        width: 240px;
    }

    .footer-cta-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-cta-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-cta-desc {
        margin: 0 auto var(--space-xl);
    }

    .exclusivity-badge {
        justify-content: center;
    }
}

/* Mobile Landscape / Large Mobile */
@media (max-width: 768px) {
    :root {
        --space-5xl: 4rem;
        --space-4xl: 3rem;
        --space-3xl: 2.5rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .nav {
        padding: var(--space-sm) 0;
    }

    .nav-container {
        padding: 0 var(--space-md);
    }

    .nav-logo {
        font-size: 1.4rem;
    }

    .nav-cta {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.75rem;
    }

    .hero {
        min-height: auto;
        padding: var(--space-3xl) 0;
        padding-top: calc(var(--space-3xl) + 70px);
    }

    .hero-content {
        padding: 0 var(--space-md);
    }

    .hero-badge {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.7rem;
    }

    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-bg-image {
        width: 100%;
        right: -30%;
        opacity: 0.1;
    }

    .hero-scroll-indicator {
        display: none;
    }

    section {
        padding: var(--space-3xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-xl);
        padding: 0 var(--space-sm);
    }

    .section-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    /* COMPARISON SECTION - MOBILE */
    .comparison-card {
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }

    .comparison-side {
        padding: var(--space-lg);
        text-align: center;
    }

    .comparison-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto var(--space-md);
    }

    .comparison-badge {
        font-size: 0.65rem;
        margin-bottom: var(--space-sm);
    }

    .comparison-title {
        font-size: 1.1rem;
        margin-bottom: var(--space-md);
    }

    .comparison-list {
        max-width: 100%;
        text-align: left;
    }

    .comparison-list li {
        font-size: 0.9rem;
        gap: var(--space-sm);
    }

    .comparison-divider {
        padding: var(--space-sm) 0;
    }

    .divider-line {
        width: 30px;
    }

    .divider-text {
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    /* VSL */
    .vsl-header {
        padding: var(--space-xs) var(--space-sm);
    }

    .vsl-label {
        display: none;
    }

    .play-btn {
        width: 60px;
        height: 60px;
    }

    .play-btn svg {
        width: 24px;
        height: 24px;
    }

    .vsl-info {
        padding: var(--space-md);
    }

    /* Steps */
    .funnel-step {
        padding: var(--space-md);
        text-align: left;
    }

    .funnel-step:hover {
        transform: none;
    }

    .step-content {
        text-align: left;
    }

    /* Features */
    .feature {
        padding: var(--space-md);
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto var(--space-sm);
    }

    .feature:hover {
        transform: none;
    }

    /* Footer CTA */
    .footer-cta-card {
        padding: var(--space-lg);
    }

    .footer-cta-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .cta-btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .cta-btn.large {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.9rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        text-align: center;
    }

    /* Founder Profile */
    .founder-profile {
        padding: var(--space-3xl) 0;
    }

    .founder-container {
        gap: var(--space-2xl);
    }

    .founder-visual {
        max-width: 280px;
    }

    .founder-image {
        border-radius: var(--radius-xl);
    }

    .founder-badge {
        padding: var(--space-xs) var(--space-md);
        bottom: -12px;
    }

    .founder-badge svg {
        width: 16px;
        height: 16px;
    }

    .founder-badge span {
        font-size: 0.75rem;
    }

    .founder-title {
        font-size: 1.5rem;
    }

    .founder-text p {
        font-size: 0.95rem;
    }

    .founder-signature {
        padding-top: var(--space-md);
    }

    .signature-name {
        font-size: 1rem;
    }

    .signature-title {
        font-size: 0.8rem;
    }
}

/* Mobile Portrait - Small */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    :root {
        --space-5xl: 3rem;
        --space-4xl: 2.5rem;
        --space-3xl: 2rem;
        --space-2xl: 1.5rem;
    }

    .nav-logo {
        font-size: 1.35rem;
    }

    .nav-cta {
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    .hero {
        padding-top: calc(var(--space-2xl) + 60px);
    }

    .hero-badge {
        flex-direction: column;
        text-align: center;
        gap: var(--space-xs);
        font-size: 0.65rem;
        padding: var(--space-sm) var(--space-md);
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .cta-btn {
        font-size: 0.85rem;
        padding: var(--space-md) var(--space-lg);
    }

    /* Comparison */
    .comparison-card {
        padding: var(--space-sm);
    }

    .comparison-side {
        padding: var(--space-md);
    }

    .comparison-icon {
        width: 50px;
        height: 50px;
    }

    .comparison-badge {
        font-size: 0.55rem;
        padding: 4px 8px;
    }

    .comparison-title {
        font-size: 1rem;
    }

    .comparison-list li {
        font-size: 0.85rem;
    }

    .icon-x,
    .icon-check {
        width: 16px;
        height: 16px;
    }

    /* VSL */
    .vsl-screen {
        padding: var(--space-xs);
    }

    .play-btn {
        width: 50px;
        height: 50px;
    }

    .play-btn svg {
        width: 20px;
        height: 20px;
    }

    /* Phone */
    .phone-frame {
        width: 200px;
        border-radius: 28px;
        padding: 8px;
    }

    .phone-notch {
        width: 60px;
        height: 16px;
        top: 10px;
    }

    .storefront-image {
        border-radius: 20px;
    }

    /* Slots */
    .slot {
        width: 32px;
        height: 32px;
    }

    .slots-label {
        font-size: 0.75rem;
    }

    /* Footer CTA */
    .footer-cta-card {
        padding: var(--space-md);
        border-radius: var(--radius-md);
    }

    .footer-cta-title {
        font-size: 1.25rem;
    }

    .footer-cta-desc {
        font-size: 0.9rem;
    }

    .glass-card,
    .glass-card-glow {
        border-radius: var(--radius-md);
    }

    .section-tag {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    /* Founder Profile */
    .founder-visual {
        max-width: 240px;
    }

    .founder-image {
        border-radius: var(--radius-lg);
    }

    .founder-badge {
        padding: 6px 12px;
        bottom: -10px;
    }

    .founder-badge svg {
        width: 14px;
        height: 14px;
    }

    .founder-badge span {
        font-size: 0.7rem;
    }

    .founder-title {
        font-size: 1.35rem;
    }

    .founder-text {
        gap: var(--space-md);
    }

    .founder-text p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

/* Very Small Devices */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .nav-container {
        padding: 0 var(--space-sm);
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-cta {
        padding: 5px 10px;
        font-size: 0.65rem;
    }

    .hero-content {
        padding: 0 var(--space-sm);
    }

    .hero-title {
        font-size: 1.35rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .cta-btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.8rem;
    }

    .btn-arrow {
        display: none;
    }

    .comparison-side {
        padding: var(--space-sm);
    }

    .comparison-list li {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .section-desc {
        font-size: 0.85rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-bg-image {
        animation: none;
    }

    .funnel-step:hover,
    .feature:hover {
        transform: none;
    }
}