/* =========================================
   GENERAL SETUP
========================================= */

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: Arial, sans-serif;
    color: white;
    
    /* Main background */
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    
    /* Important: Prevent white overscroll flash */
    background-color: #0f0c29;        /* Fallback solid color */
    overscroll-behavior: none;        /* Modern browsers */
}

/* Strong Safari / iOS overscroll protection */
@supports (-webkit-touch-callout: none) {
    html, body {
        background-color: #0f0c29;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Extra protection for bounce effect */
    body {
        position: relative;
    }
}

/* =========================================
   SOLUTION SECTION
========================================= */

.solution-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 8%;
    text-align: center;
}

.solution-content {
    max-width: 900px;
}

.solution-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.solution-content h1 {
    font-size: 4rem;
    margin: 0;
    background: linear-gradient(90deg, #33cfff, #8b7dff);
    -webkit-background-clip: text;
    color: transparent;
}

.solution-content h2 {
    font-size: 2rem;
    margin: 20px 0;
}

.solution-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

.solution-benefits {
    margin: 50px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.solution-benefits > div {
    padding: 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
}

.solution-btn {
    display: inline-block;
    position: relative;
    overflow: hidden;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    background: linear-gradient(90deg, #7b6cff, #33cfff);
    transition: all 0.3s ease;
}

.solution-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(80, 150, 255, 0.5);
}

/* =========================================
   WHY WEBGATES
========================================= */

.why-section {
    padding: 100px 8%;
    text-align: center;
}

.why-header {
    max-width: 800px;
    margin: 0 auto;
}

.why-header h2 {
    font-size: 3rem;
}

.why-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

.why-container {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-card {
    padding: 35px 25px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.why-icon {
    font-size: 3rem;
}

.why-card h3 {
    font-size: 1.4rem;
}

.why-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* =========================================
   PRICING SECTION
========================================= */

.pricing-section {
    padding: 70px 6%;
    text-align: center;
}

.pricing-header {
    max-width: 900px;
    margin: 0 auto;
}

.pricing-header h1 {
    font-size: 3rem;
}

.pricing-header p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.2rem;
}

.note {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Pricing Cards */
.pricing-container {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    align-items: center;
}

.pricing-card {
    position: relative;
    padding: 25px 20px;
    max-width: 400px;
    margin: auto;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Featured / Popular */
.featured {
    border: 2px solid #7b6cff;
    transform: translateY(-10px);
}

.featured:hover {
    transform: translateY(-20px);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 7px 12px;
    font-size: 0.7rem;
    border-radius: 30px;
    background: linear-gradient(90deg, #7b6cff, #33cfff);
}

/* Package Content */
.pricing-card .icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.pricing-card h2 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.price h3 {
    font-size: 2.2rem;
    margin: 8px 0;
    background: linear-gradient(90deg, #33cfff, #8b7dff);
    -webkit-background-clip: text;
    color: transparent;
}

.month {
    color: #9de0ff;
}

.description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.5;
    min-height: 45px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.pricing-card li {
    padding: 7px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn {
    display: block;
    margin-top: 20px;
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    background: linear-gradient(90deg, #7b6cff, #33cfff);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(123, 108, 255, 0.4);
}

/* =========================================
   INCLUDED
========================================= */

.included {
    margin-top: 100px;
}

.included h2 {
    font-size: 3rem;
}

.included p {
    color: rgba(255, 255, 255, 0.75);
}

.included-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.included-grid > div {
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
}

/* =========================================
   RIPPLE EFFECT
========================================= */

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    animation: ripple 0.7s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    from {
        width: 0;
        height: 0;
        opacity: 0.8;
    }
    to {
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {
    .solution-benefits,
    .why-container,
    .pricing-container,
    .included-grid {
        grid-template-columns: 1fr;
    }

    .featured {
        transform: none;
    }

    .featured:hover {
        transform: translateY(-10px);
    }

    .solution-content h1 {
        font-size: 3rem;
    }

    .solution-section,
    .why-section {
        padding: 80px 5%;
    }
}

@media (max-width: 600px) {
    .solution-content h1 {
        font-size: 2.5rem;
    }
    
    .why-header h2,
    .included h2 {
        font-size: 2.4rem;
    }
}