/*
 * Enterprise Section Styles
 * ==========================
 * Extracted from: new-index.css (Lines 1365-2470)
 * 
 * Purpose:
 * - Least Paket section styling
 * - Performance Tailored section layout
 * - VyomCloud Features section display
 * 
 * This module contains all styles for enterprise-level service
 * offerings and feature highlights.
 */

/* Least Paket Section */
.least-paket-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
    color: #000;
}


.least-paket-section .container {
    text-align: center;
}

.least-paket-section .section-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #0069ff;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.least-paket-section h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: #0b1b4b;
    line-height: 1.2;
}

.paket-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
}

.paket-card {
    border-radius: 12px;
    padding: 2rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.paket-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.paket-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.paket-icon svg {
    width: 32px;
    height: 32px;
}

.paket-icon-blue {
    background: rgba(51, 204, 204, 0.15);
    color: #33cccc;
}

.paket-icon-red {
    background: rgba(255, 102, 102, 0.15);
    color: #ff6666;
}

.paket-icon-yellow {
    background: rgba(255, 204, 51, 0.15);
    color: #ffcc33;
}

.paket-icon-purple {
    background: rgba(153, 102, 255, 0.15);
    color: #9966ff;
}

.paket-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0b1b4b;
    line-height: 1.4;
}

.paket-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Responsive */
@media (max-width: 930px) {
    .paket-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .paket-cards {
        grid-template-columns: 1fr;
    }

    .least-paket-section h2 {
        font-size: 2rem;
    }
}

/* Performance Tailored Section */
.performance-tailored-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.performance-tailored-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 105, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(34, 197, 94, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.performance-tailored-section .container {
    position: relative;
    z-index: 1;
}

.performance-header {
    text-align: center;
    margin-bottom: 4rem;
}

.performance-tailored-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0b1b4b;
    line-height: 1.2;
    padding: 2px;
}

.performance-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.performance-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.performance-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0, 105, 255, 0.08);
    overflow: hidden;
}

.performance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0069ff, #00d4ff, #34d399);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.performance-card:hover::before {
    transform: scaleX(1);
}

.performance-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 105, 255, 0.1);
    border-color: rgba(0, 105, 255, 0.2);
}

.performance-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #0069ff 0%, #00d4ff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(0, 105, 255, 0.3);
    transition: all 0.3s ease;
}

.performance-card:hover .performance-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(0, 105, 255, 0.4);
}

.performance-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0b1b4b;
    line-height: 1.3;
}

.performance-card p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}



/* Responsive for Performance */
@media (max-width: 930px) {
    .performance-cards {
        grid-template-columns: 1fr;
    }
}

/* Add padding and spacing for performance section between 768px and 1250px */
@media (min-width: 768px) and (max-width: 1250px) {
    /* Container padding handled by global responsive rules */

    .performance-cards {
        gap: 1.5rem;
    }

    .performance-card {
        padding: 1.5rem 1rem;
    }
}

/* VyomCloud Features Grid Section */
.vyomcloud-features-section {
    padding: 4rem 2rem;
    background: #ffffff;
}

/* Using global container settings */
.vyomcloud-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

@media (max-width: 992px) {
    .vyomcloud-container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .vyomcloud-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .vyomcloud-container {
        padding: 0 1rem;
    }
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0b1b4b;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.features-header p {
    font-size: 1.125rem;
    color: #0069ff;
    font-weight: 500;
}

.features-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Feature Box Styles */
.feature-box {
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.feature-box-blue {
    background: linear-gradient(135deg, #4f7cff 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-box-white {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
}

.feature-box-black {
    background: #000000;
    color: #ffffff;
}

/* Blue Card - High-speed hosting */
.feature-box-blue .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.feature-box-blue .feature-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
}

.feature-box-blue h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.feature-box-blue p {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.feature-cta {
    background: #ffffff;
    color: #2563eb;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.feature-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* White Cards - Metrics */
.metric-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(0, 105, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-icon svg {
    width: 20px;
    height: 20px;
    color: #0069ff;
}

.metric-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0b1b4b;
    margin: 0;
    line-height: 1.3;
}

.metric-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.metric-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.metric-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #0b1b4b;
    line-height: 1.5;
}

.metric-list li svg {
    width: 16px;
    height: 16px;
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 2px;
}

.uptime-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0b1b4b;
}

.uptime-badge svg {
    width: 16px;
    height: 16px;
    color: #22c55e;
}

/* Growth Metrics */
.growth-metrics {
    margin-top: 1.5rem;
}

.metric-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin: 1rem 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-item {
    margin-bottom: 1rem;
}

.metric-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: #0b1b4b;
    font-weight: 500;
}

.metric-progress svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-fill.green {
    width: 85%;
    background: #22c55e;
}

.progress-fill.dark {
    width: 60%;
    background: #0b1b4b;
}

.progress-fill.blue {
    width: 45%;
    background: #0069ff;
}

/* Black Card - Game Changer */
.feature-box-black {
    display: flex;
    flex-direction: column;
}

.star-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
}

.star-icon svg {
    width: 100%;
    height: 100%;
    color: #fbbf24;
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.4));
}

.feature-box-black h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.feature-box-black>p {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}



.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.author-title {
    font-size: 0.75rem;
    opacity: 0.7;
    line-height: 1.4;
}

/* Responsive for VyomCloud Features */
@media (max-width: 1024px) {
    .features-grid-layout {
        grid-template-columns: 1fr;
    }

    .features-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .vyomcloud-features-section {
        padding: 2rem 1rem;
    }

    .features-header h2 {
        font-size: 1.75rem;
    }

    .features-header p {
        font-size: 1rem;
    }

    .feature-box {
        padding: 1.5rem;
    }

    .metric-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Persistent Compute Section */
.persistent-compute-section {
    padding: 2.4rem 0;
    background: #ffffff;
}

.persistent-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

@media (max-width: 992px) {
    .persistent-container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .persistent-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .persistent-container {
        padding: 0 1rem;
    }
}

.persistent-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.persistent-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.persistent-header h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0b1b4b;
    line-height: 1.2;
    padding: 2px;
}

.persistent-features {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.persistent-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.persistent-feature.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delay for each feature */
.persistent-feature:nth-child(1) {
    transition-delay: 0.05s;
}

.persistent-feature:nth-child(2) {
    transition-delay: 0.1s;
}

.persistent-feature:nth-child(3) {
    transition-delay: 0.15s;
}

.persistent-feature:nth-child(4) {
    transition-delay: 0.2s;
}

.persistent-feature.feature-right {
    direction: ltr;
}

.persistent-feature.feature-left {
    direction: ltr;
}

.persistent-feature.feature-left .feature-image {
    order: 1;
}

.persistent-feature.feature-left .feature-content {
    order: 2;
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0b1b4b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-content p {
    font-size: 1rem;
    color: black;
    line-height: 1.6;
}

.feature-image {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* .feature-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
} */

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

/* .feature-image:hover img {
    transform: scale(1.1);
} */

/* Responsive for Persistent Compute */
@media (max-width: 1024px) {
    .persistent-header h2 {
        font-size: 1.75rem;
    }

    .persistent-feature {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .persistent-compute-section {
        padding: 3rem 1rem;
    }

    .persistent-header {
        margin-bottom: 3rem;
    }

    .persistent-header h2 {
        font-size: 1.5rem;
    }

    .persistent-features {
        gap: 3rem;
    }

    .persistent-feature {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* On mobile, always show image first, then content */
    .persistent-feature .feature-image {
        order: 1;
    }

    .persistent-feature .feature-content {
        order: 2;
    }

    .feature-content h3 {
        font-size: 1.25rem;
    }

    .feature-content p {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .persistent-header h2 {
        font-size: 1.25rem;
    }

    .persistent-features {
        gap: 2.5rem;
    }

    .feature-content h3 {
        font-size: 1.125rem;
    }

    .feature-content p {
        font-size: 0.875rem;
    }
}

/* Additional Responsive for Least Paket, Performance, and Hero Video */
@media (max-width: 768px) {
    .least-paket-section {
        padding: 2rem 1rem;
    }

    .paket-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .performance-tailored-section {
        padding: 2rem 1rem;
    }

    .performance-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-video-container {
        width: 100%;
    }
}








/* Navigation Controls */
.nav-arrow {
    background-color: #0069ff;
    color: white;
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 105, 255, 0.3);
    margin: 0 0.625rem;
    flex-shrink: 0;
}

.nav-arrow:hover {
    background-color: #0051c3;
    transform: scale(1.1);
}

.nav-arrow:focus {
    outline: none;
}




.brands-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.brands-container img {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.brands-container img:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-arrow {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8rem;
        margin: 0 0.5rem;
    }
}

@media (max-width: 930px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-links.active .close-button {
        position: absolute;
        top: 15px;
        right: 20px;
        display: block;
        width: 24px;
        height: 24px;
        cursor: pointer;
    }

    .nav-links.active .close-button:before,
    .nav-links.active .close-button:after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: #031b4e;
        top: 50%;
        left: 0;
    }

    .nav-links.active .close-button:before {
        transform: rotate(45deg);
    }

    .nav-links.active .close-button:after {
        transform: rotate(-45deg);
    }

    /* .navbar {
        padding: 0 20px;
        position: relative;
    } */

    .nav-links {
        position: fixed;
        left: 0;
        top: 60px;
        width: 100%;
        height: 0;
        background-color: white;
        /* background: rgba(255, 255, 255, 0.72);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(60px); */
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        transition: height 0.3s ease, opacity 0.2s ease;
        z-index: 1000;
        overflow: hidden;
        opacity: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .auth-buttons {
        display: none !important;
    }

    .nav-links.active {
        height: calc(100vh - 60px);
        padding: 0px 20px 20px;
        overflow-y: auto;
        opacity: 1;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links a {
        margin: 0;
        width: 100%;
        display: flex;
        align-items: center;
        font-size: 16px;
        color: #031b4e;
        font-weight: 500;
        /* padding: 1px 0; */
        border-bottom: 1px solid #bebebecc;
    }

    .nav-links>a:last-child {
        border-bottom: none;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-toggle:after {
        content: '▼';
        transition: transform 0.3s ease;
        font-size: 0.6rem;
        color: #006aff;
        margin-left: auto;
        padding-left: 10px;
    }

    .dropdown.active .dropdown-toggle:after {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        width: 100%;
        padding: 0;
        /* max-height: 0; */
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 0;
        transform: none;
        visibility: hidden;
        /* hidden by default to avoid overlay blocking */
        pointer-events: none;
        /* don't block clicks when closed */
        border-left: 1px solid #eaeaea;
        background-color: transparent;
        z-index: 1003;
        /* Ensure proper stacking on mobile */
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        padding: 5px 0 5px 0px;
        display: block;
        visibility: visible;
        pointer-events: auto;
    }

    .dropdown-menu a {
        font-size: 14px !important;
