/* E-commerce Platforms Page Styles */

#page-platforms .hero {
    padding: 60px 0 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#page-platforms .hero-video video {
    width: 100%;
    border-radius: 8px;
    max-width: 600px;
    object-fit: cover;
}

#page-platforms .section-padding {
    padding: 80px 0;
}

#page-platforms .section-light-bg {
    background: var(--light-gray);
    padding: 80px 0;
}

#page-platforms .compare-score-green {
    color: #10b981;
    font-size: 1.2rem;
}

#page-platforms .compare-score-yellow {
    color: #f59e0b;
    font-size: 1.2rem;
}

#page-platforms .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

#page-platforms .hero h1 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--dark);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

#page-platforms .hero h1:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, var(--primary), var(--dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#page-platforms .sub {
    color: var(--gray);
    max-width: 860px;
    margin: 10px auto 0 auto;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

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

#page-platforms .hero-cta {
    display: inline-block;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
    overflow: hidden;
}

#page-platforms .hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

#page-platforms .hero-cta:hover::before {
    left: 100%;
}

#page-platforms .hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

#page-platforms .hero-video {
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

#page-platforms .hero-video img {
    width: 100%;
    border-radius: 8px;
    max-width: 600px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
}

#page-platforms .hero-video img:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

#page-platforms .hero h1 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--dark);
}

#page-platforms .sub {
    color: var(--gray);
    max-width: 860px;
    margin: 10px auto 0 auto;
}

#page-platforms .hero-video {
    margin-top: 40px;
}

#page-platforms .hero-video img {
    width: 100%;
    border-radius: 8px;
    max-width: 600px;
}

#page-platforms .band {
    background: var(--light-gray);
    padding: 18px 0;
    margin-top: 20px;
}

#page-platforms .tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

#page-platforms .tag {
    border: 1px solid #E5E7EB;
    background: #fff;
    padding: 6px 10px;
    border-radius: 9999px;
    font-weight: 600;
    color: var(--dark);
}

#page-platforms .platform-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    background: var(--light-gray);
    border-radius: 12px;
    padding: 8px;
    max-width: 800px;
    margin: 40px auto;
}

#page-platforms .platform-tab {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

#page-platforms .platform-tab.active {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: var(--primary);
}

#page-platforms .platform-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin: 40px 0;
    display: none;
}

#page-platforms .platform-content.active {
    display: block;
}

#page-platforms .platform-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: center;
}

#page-platforms .platform-explorer-section .platform-grid {
    grid-template-columns: 1fr;
}

#page-platforms .platform-explorer-section .platform-image {
    display: none;
}

#page-platforms .platform-explorer-section .platform-info {
    text-align: center;
    margin: 0 auto;
    max-width: 720px;
}

#page-platforms .platform-explorer-section .platform-content {
    max-width: 920px;
    margin: 32px auto 40px auto;
    padding: 18px 18px 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid #e6eefb;
    border-radius: 18px;
    box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
}

#page-platforms .platform-explorer-section .platform-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: inherit;
    pointer-events: none;
}

#page-platforms .platform-explorer-section .platform-content .platform-info h3 {
    margin-bottom: 14px;
    font-size: clamp(1.6rem, 2vw, 2rem);
}

#page-platforms .platform-explorer-section .platform-subtitle {
    margin-bottom: 20px;
    color: #4b5563;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

#page-platforms .platform-explorer-section .platform-features {
    display: inline-block;
    margin: 0 auto;
    text-align: left;
    max-width: 640px;
    padding-left: 20px;
    text-align: left;
}

#page-platforms .platform-explorer-section .platform-features li {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

/* Hide mobile switchers on desktop */
#page-platforms .analysis-mobile-switcher,
#page-platforms .explorer-mobile-switcher,
#page-platforms .compare-mobile-switcher,
#page-platforms .compare-mobile-cards {
    display: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #page-platforms .section-padding {
        padding: 50px 0;
    }

    #page-platforms .section-light-bg {
        padding: 50px 0;
    }

    #page-platforms .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
        padding: 0 10px;
        line-height: 1.3;
    }

    #page-platforms .container {
        padding: 0 20px;
    }

    /* Hide desktop tabs on mobile */
    #page-platforms .platform-tabs {
        display: none !important;
    }

    /* Show mobile explorer dropdown */
    #page-platforms .explorer-mobile-switcher {
        display: block;
        margin: 20px 0 30px 0;
    }

    #page-platforms .explorer-platform-dropdown {
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
        font-weight: 600;
        background-color: var(--primary);
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 20px;
        padding-right: 45px;
    }

    /* Platform Content */
    #page-platforms .platform-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #page-platforms .platform-content {
        padding: 25px;
        margin: 25px 0;
    }

    #page-platforms .platform-info h3 {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }

    #page-platforms .platform-subtitle {
        font-size: 1.05rem;
        margin-bottom: 20px;
    }

    #page-platforms .platform-features {
        margin-top: 20px;
    }

    #page-platforms .platform-features li {
        font-size: 1rem;
        margin-bottom: 14px;
        line-height: 1.5;
    }

    #page-platforms .platform-image {
        display: none;
    }

    /* Feature Comparison - Hide desktop grid on mobile */
    #page-platforms .compare-grid.desktop-only {
        display: none !important;
    }

    /* Show mobile comparison */
    #page-platforms .compare-mobile-switcher {
        display: block;
        margin: 20px 0 30px 0;
    }

    #page-platforms .compare-criterion-dropdown {
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
        font-weight: 600;
        background-color: var(--primary);
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 20px;
        padding-right: 45px;
    }

    #page-platforms .compare-mobile-cards {
        display: block !important;
    }

    #page-platforms .compare-mobile-card {
        background: white;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        margin-bottom: 20px;
    }

    #page-platforms .compare-mobile-title {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 2px solid var(--light-gray);
    }

    #page-platforms .compare-mobile-scores {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    #page-platforms .compare-mobile-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid var(--light-gray);
    }

    #page-platforms .compare-mobile-item:last-child {
        border-bottom: none;
    }

    #page-platforms .compare-mobile-platform {
        font-weight: 600;
        color: var(--dark);
        font-size: 1rem;
    }

    /* Analysis Grid - Better cards for mobile */
    #page-platforms .analysis-grid {
        display: block !important;
        gap: 25px;
        margin-top: 40px;
    }

    #page-platforms .analysis-card {
        padding: 0;
        margin-bottom: 25px;
        overflow: hidden;
    }

    #page-platforms .analysis-header {
        padding: 20px;
        margin: 0;
        border-radius: 12px 12px 0 0;
    }

    #page-platforms .analysis-header h3 {
        font-size: 1.4rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    #page-platforms .analysis-badge {
        position: static;
        display: inline-block;
        margin-top: 8px;
        padding: 5px 10px;
        font-size: 0.8rem;
        background: rgba(255,255,255,0.3);
        border-radius: 4px;
    }

    #page-platforms .analysis-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
        padding: 0 20px;
    }

    #page-platforms .analysis-ideal,
    #page-platforms .analysis-pros-cons {
        padding: 0 20px 20px 20px;
    }

    #page-platforms .analysis-ideal h4,
    #page-platforms .analysis-pros-cons h4 {
        font-size: 1.05rem;
        margin-bottom: 10px;
        font-weight: 700;
        color: var(--primary);
    }

    #page-platforms .analysis-ideal ul {
        list-style: none;
        padding: 0;
    }

    #page-platforms .analysis-ideal ul li {
        font-size: 0.9rem;
        margin-bottom: 8px;
        line-height: 1.5;
        padding-left: 20px;
        position: relative;
    }

    #page-platforms .analysis-ideal ul li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--primary);
        font-weight: bold;
    }

    #page-platforms .analysis-pros-cons {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 15px;
        display: grid;
    }

    #page-platforms .analysis-pros ul,
    #page-platforms .analysis-cons ul {
        list-style: none;
        padding: 0;
    }

    #page-platforms .analysis-pros li,
    #page-platforms .analysis-cons li {
        font-size: 0.9rem;
        margin-bottom: 8px;
        line-height: 1.5;
        padding-left: 20px;
        position: relative;
    }

    #page-platforms .analysis-pros li::before {
        content: "+";
        position: absolute;
        left: 0;
        color: #10b981;
        font-weight: bold;
        font-size: 1.2rem;
    }

    #page-platforms .analysis-cons li::before {
        content: "−";
        position: absolute;
        left: 0;
        color: #ef4444;
        font-weight: bold;
        font-size: 1.2rem;
    }

    #page-platforms .analysis-expertise {
        padding: 0 20px 20px 20px;
    }

    #page-platforms .analysis-expertise h4 {
        font-size: 1.05rem;
        margin-bottom: 10px;
        font-weight: 700;
        color: var(--primary);
    }

    #page-platforms .analysis-expertise p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Mobile Platform Switcher */
    #page-platforms .analysis-mobile-switcher {
        display: block;
        margin: 20px 0 30px 0;
    }

    #page-platforms .analysis-platform-dropdown {
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
        font-weight: 600;
        background-color: var(--primary);
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 20px;
        padding-right: 45px;
    }

    #page-platforms .analysis-platform-dropdown:focus {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }

    /* Wizard - Better mobile experience */
    #page-platforms .wizard-container {
        padding: 25px;
        margin: 40px 0;
        width: 100%;
    }

    #page-platforms .wizard-header h3 {
        font-size: 1.5rem;
    }

    #page-platforms .wizard-progress {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    #page-platforms .wizard-question {
        font-size: 1.1rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    #page-platforms .wizard-options {
        gap: 12px;
    }

    #page-platforms .wizard-option {
        padding: 18px;
        font-size: 1rem;
    }

    #page-platforms .wizard-option-label {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 8px;
    }

    #page-platforms .wizard-option-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    #page-platforms .wizard-buttons {
        margin-top: 25px;
        gap: 12px;
    }

    #page-platforms .wizard-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    /* Result */
    #page-platforms .wizard-result h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    #page-platforms .wizard-result-platform {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    #page-platforms .wizard-result-reasoning {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    #page-platforms .wizard-result-features li {
        font-size: 0.95rem;
        margin-bottom: 12px;
        line-height: 1.5;
    }

    /* Hero adjustments */
    #page-platforms .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    #page-platforms .sub {
        font-size: 1.05rem;
        line-height: 1.6;
        padding: 0 10px;
    }

    #page-platforms .hero-cta {
        padding: 14px 28px;
        font-size: 1rem;
        margin-top: 25px;
    }
}

#page-platforms .platform-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

#page-platforms .platform-subtitle {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 20px;
}

#page-platforms .platform-features {
    list-style: none;
    padding: 0;
}

#page-platforms .platform-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

#page-platforms .platform-features li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2em;
    position: absolute;
    left: 0;
}

#page-platforms .platform-features li strong {
    color: var(--primary);
    font-weight: 600;
}

#page-platforms .platform-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

#page-platforms .compare-grid {
    display: grid;
    grid-template-columns: 200px repeat(4, 1fr);
    gap: 20px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 60px 0;
    box-shadow: var(--shadow-lg);
}

#page-platforms .compare-header {
    font-weight: 600;
    text-align: left;
    padding: 15px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
}

#page-platforms .compare-platform {
    font-weight: 600;
    padding: 15px;
    text-align: center;
    background: var(--light-gray);
    border-radius: 8px;
}

#page-platforms .compare-criterion {
    font-weight: 600;
    text-align: left;
    padding: 15px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
}

#page-platforms .compare-score {
    padding: 15px;
    text-align: center;
    background: var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#page-platforms .analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

#page-platforms .analysis-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

#page-platforms .analysis-card:hover {
    transform: translateY(-5px);
}

#page-platforms .analysis-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    margin: -20px -20px 20px -20px;
    border-radius: 8px;
    position: relative;
}

#page-platforms .analysis-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

#page-platforms .analysis-description {
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

#page-platforms .analysis-ideal {
    margin-bottom: 20px;
}

#page-platforms .analysis-ideal h4 {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

#page-platforms .analysis-ideal ul {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    color: var(--dark);
}

#page-platforms .analysis-ideal li {
    margin-bottom: 5px;
}

#page-platforms .analysis-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

#page-platforms .analysis-pros h4 {
    color: #10b981;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

#page-platforms .analysis-cons h4 {
    color: #ef4444;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

#page-platforms .analysis-pros ul,
#page-platforms .analysis-cons ul {
    list-style: none;
    padding: 0;
    font-size: 0.85rem;
}

#page-platforms .analysis-expertise {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

#page-platforms .analysis-expertise h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

#page-platforms .analysis-expertise p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--dark);
}

#page-platforms .wizard-container {
    max-width: 700px;
    margin: 60px auto;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

#page-platforms .wizard-progress {
    margin-bottom: 40px;
}

#page-platforms .wizard-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

#page-platforms .wizard-progress-bar {
    background: var(--light-gray);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

#page-platforms .wizard-progress-fill {
    background: var(--primary);
    height: 100%;
    width: 25%;
    transition: width 0.3s ease;
}

#page-platforms .wizard-question {
    display: none;
}

#page-platforms .wizard-question.active {
    display: block;
}

#page-platforms .wizard-question-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
}

#page-platforms .wizard-options {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

#page-platforms .wizard-option {
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#page-platforms .wizard-option:hover {
    border-color: var(--primary);
    background: white;
}

#page-platforms .wizard-option.selected {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 4px 12px rgba(225, 92, 2, 0.2);
}

#page-platforms .wizard-option strong {
    display: block;
    margin-bottom: 5px;
}

#page-platforms .wizard-nav {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

#page-platforms #prev-btn {
    display: none;
}

#page-platforms .wizard-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#page-platforms .wizard-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#page-platforms .wizard-btn.secondary {
    background: var(--dark);
    color: white;
    border: none;
}

#page-platforms .wizard-btn.secondary:hover {
    filter: brightness(0.92);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

#page-platforms .wizard-result {
    display: none;
    margin-top: 40px;
    padding: 40px;
    background: linear-gradient(135deg, var(--light-gray), #f8fafc);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

#page-platforms .wizard-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff6b6b, var(--primary));
}

#page-platforms .wizard-result h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

#page-platforms .wizard-result-platform {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#page-platforms .wizard-result-reasoning {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}

#page-platforms .wizard-result-features h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.1rem;
}

#page-platforms .wizard-result-features ul {
    list-style: none;
    padding: 0;
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.05);
}

#page-platforms .wizard-result-features li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    transition: transform 0.2s ease;
}

#page-platforms .wizard-result-features li:hover {
    transform: translateX(5px);
}

#page-platforms .wizard-result-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

#page-platforms .wizard-result-cta {
    text-align: center;
    padding: 35px;
    background: linear-gradient(135deg, white, #f8fafc);
    border-radius: 16px;
    border: 2px solid var(--primary);
    margin-top: 30px;
    position: relative;
}


#page-platforms .wizard-result-cta h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    margin-top: 10px;
}

#page-platforms .wizard-result-cta p {
    margin-bottom: 25px;
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.6;
}

#page-platforms .wizard-result-cta .btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#page-platforms .wizard-result-cta .wizard-btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#page-platforms .wizard-result-cta .wizard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

#page-platforms .contact-form {
    max-width: 600px;
    margin: 0 auto;
}

#page-platforms .contact-form .form-group {
    margin-bottom: 20px;
}

#page-platforms .contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark);
}

#page-platforms .contact-form input,
#page-platforms .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
}

#page-platforms .contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

#page-platforms .contact-form .submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

/* MOBILE OVERRIDE - Must be last to override desktop styles */
@media (max-width: 768px) {
    /* Hide analysis cards except selected one */
    #page-platforms .analysis-card {
        display: none !important;
        width: 100%;
        margin-bottom: 0;
    }

    #page-platforms .analysis-card.active {
        display: block !important;
    }

    /* Ensure single column layout on mobile */
    #page-platforms .analysis-grid {
        display: block !important;
        grid-template-columns: none !important;
    }
}
