/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Top Blue Line Styles */
.top-blue-line {
    background-color: #0046d5;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Hide top blue line when hamburger menu is active */
.top-blue-line.hidden {
    display: none;
}

/* Hide top blue line for screen widths less than 400px */
@media (max-width: 930px) {
    .top-blue-line {
        display: none !important;
    }
    .navbar{
        padding: 1rem 1rem!important;
        top: 0px!important;
    }
}

.toggle-text {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.toggle-text.slide-out {
    animation: slideOut 0.5s ease-in-out forwards;
}

.toggle-text.slide-in {
    animation: slideIn 0.5s ease-in-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.top-links a:hover {
    opacity: 0.8;
}

/* Keep top blue line content on a single row between 800px and 930px */
@media (min-width: 800px) and (max-width: 930px) {
    .top-blue-line {
        padding: 0 20px;
    }
    .toggle-text {
        max-width: 60%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .top-links {
        display: none;
    }
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.login {
    color: #333;
    font-weight: 500;
}

.signup {
    background-color: #0069ff;
    color: white!important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
}

   .signup-email {
       border-radius: 50px!important;
   }

   .signup-google {
    border-radius: 50px !important;
   }

   .signup-github {
    border-radius: 50px !important;
   }

   @media (min-width: 930px) {
       .nav-links {
           margin-left: 100px;
           /* or whatever value you want */
       }
   }

   @media (min-width: 931px) {
       .mobile-contact-support {
           display: none;
       }
   }

   #gblue {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
/* Hero Section */
.hero {
    background: linear-gradient(8deg, #1d4ed8, #0e2b82);
    /* Dark blue matching DigitalOcean */
    min-height: 90vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
    text-align: center;
    overflow: hidden;
    /* top: 60px; */
}

/* #animated-word::after {
  content: '|';
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}
#animated-word {
  display: inline-block;
  width: 9ch;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: bottom;
} */


.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    max-width: 900px;
    line-height: 1.3;
    color: white;
}

.signup-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.signup-email {
    background-color: transparent;
    border: 1px solid #fff;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    box-shadow:
    0 0 4px rgba(255, 255, 255, 0.3),
    0 0 8px rgba(255, 255, 255, 0.2),
    0 0 16px rgba(255, 255, 255, 0.1);
}

.signup-google,
.signup-github {
    background-color: #fff;
    color: #333;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    justify-content: center;
    box-shadow:
    0 0 4px rgba(255, 255, 255, 0.3),
    0 0 8px rgba(255, 255, 255, 0.2),
    0 0 16px rgba(255, 255, 255, 0.1);
}

.signup-google img,
.signup-github img {
    width: 18px;
    height: 18px;
}

/* Hero Video Container */
.hero-video-container {
    width: 80%;
    max-width: 900px;
    height: 400px;
    margin: 2rem auto;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 4rem;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4a00e0, #0069ff);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gradient-content {
    max-width: 600px;
}

.gradient-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
}

.gradient-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.gradient-content h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.get-started {
    background-color: #fff;
    color: #0069ff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.get-started:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Enterprise Info Section */
.enterprise-info {
    /* Dark blue matching hero section */
    padding: 2rem;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 3rem;
}

.enterprise-info p {
    max-width: 900px;
    margin: 0 auto;
}


.highlight {
    font-weight: 700;
    color: #ffffff;
}

/* Plans Section */
.plans-section {
    padding: 2.4rem 0;
    background: linear-gradient(135deg, #f8f9fc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.plans-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.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.plans-section .container {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 1;
}

.plans-section h2 {
    text-align: center;
     font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0b1b4b;
    background: linear-gradient(135deg, #0b1b4b 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    padding: 2px;
}

.plans-section .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.plan-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fc 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 1rem 2rem;
    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.1);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.plan-card:nth-child(1) { animation-delay: 0.1s; }
.plan-card:nth-child(2) { animation-delay: 0.2s; }
.plan-card:nth-child(3) { animation-delay: 0.3s; }
.plan-card:nth-child(4) { animation-delay: 0.4s; }
.plan-card:nth-child(5) { animation-delay: 0.5s; }
.plan-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.plan-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 105, 255, 0.3);
}

/* .plan-card.popular {
    background: linear-gradient(145deg, #ffffff 0%, #f0f8ff 100%);
    border: 2px solid #0069ff;
    box-shadow: 0 12px 40px rgba(0, 105, 255, 0.2);
} */

.plan-card.popular::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 16px;
    z-index: -1;
    opacity: 0.3;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    z-index: 2;
}

.plan-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin-bottom: 1.5rem; */
}

.plan-icon {
    width: 200px;
    height: 150px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-radius: 50%; */
    /* box-shadow: 0 8px 24px rgba(0, 105, 255, 0.3); */
    transition: transform 0.3s ease;
}

.plan-icon:hover {
    transform: scale(1.1);
}

.plan-icon svg {
    width: 111px;
    height: 111px;
    fill: none;
    stroke: white;
    stroke-width: 2;
}

.plan-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0b1b4b;
    font-weight: 600;
    min-height: auto;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0b1b4b;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-period {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a5568;
}

/* .price::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0069ff, #00d4ff);
    margin: 1rem auto 0;
    border-radius: 2px;
} */

.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #4a5568;
    position: relative;
    padding-left: 24px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.features-list li:hover {
    color: #0069ff;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
    font-size: 1rem;
}

.view-plan-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0069ff 0%, #0051c3 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 105, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.view-plan-btn::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;
}

.view-plan-btn:hover::before {
    left: 100%;
}

.view-plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 105, 255, 0.4);
    background: linear-gradient(135deg, #0051c3 0%, #004099 100%);
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plans-section .container {
        padding: 10px;
    }

    .plan-card h3 {
        min-height: auto;
    }

    .plan-card {
        padding: 2rem 1.5rem;
    }

    .features-list li {
        font-size: 0.85rem;
    }

    .popular-badge {
        top: -10px;
        right: 15px;
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* JavaScript-enhanced styles for plans section */
.plans-section.visible {
    opacity: 1;
}

.plan-card.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.plan-card.active {
    border-color: #00d4ff;
    box-shadow: 0 20px 40px rgba(0, 105, 255, 0.3);
    transform: translateY(-8px) scale(1.02);
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.notification {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.notification-success {
    background: linear-gradient(135deg, #00d4ff, #0069ff) !important;
}

.notification-error {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
}

.notification-info {
    background: linear-gradient(135deg, #0069ff, #00d4ff) !important;
}

/* Brand Slider */
.brand-slider {
    /* Dark blue matching hero section */
    /* padding: 2rem 0; */
    padding-bottom: 1rem;
    overflow: hidden;
    position: relative;
}

.brand-slider::before,
.brand-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 40%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brand-slider::before {
    left: 0;
    background: linear-gradient(to right, #1b49d1, rgba(11, 27, 75, 0));
}

.brand-slider::after {
    right: 0;
    background: linear-gradient(to left, #1a47c4, rgba(11, 27, 75, 0));
}

.slider-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-track {
    display: flex;
    animation: scroll 30s linear infinite;
    opacity: 0.9;
    /* Slightly reduce opacity for blur effect */
    filter: blur(0.3px);
    /* Add slight blur effect */
}

.brand-item {
    flex: 0 0 auto;
    width: 150px;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    max-width: 100%;
    max-height: 50px;
    filter: brightness(0) invert(1);
    /* Make logos white */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-150px * 6 - 4rem * 6));
        /* Width of all original items + their margins */
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 2rem 0;
    background-color: #ffffff;
}

.testimonials-section .container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 10px;
}

.testimonials-section h2 {
    text-align: center;
     font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0b1b4b;
    background: linear-gradient(135deg, #2563eb 0%, #0b1b4b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    padding: 2px;
}

.testimonials-section .section-description {
    text-align: center;
    max-width: 800px;
    /* margin: 0 0rem; */
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    justify-self: center;
}

/* Least Paket Section */
.least-paket-section {
    padding: 2rem 4rem;
    background: linear-gradient(135deg, #1d4ed8 0%, #1d4ed8 100%);
    color: #fff;
}
    

.least-paket-section .container {
    /* max-width: 1200px; */
    margin: 0 auto;
    /* padding: 0 2rem; */
    text-align: center;
    max-width: 1330px;
}

.least-paket-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.least-paket-section .section-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #d1e8e8;
}

.paket-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.paket-card {
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #0b1b1b;
}

.paket-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.paket-card p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #0b1b1b;
}

.paket-card p::before {
  content: "• ";
  color: black;
  /* margin-right: 4px;  */
}


.paket-btn {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    border: 1px solid #0b1b1b;
    background-color: transparent;
    color: #0b1b1b;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    align-self: flex-start;
    text-decoration: none;
}

.paket-btn:hover {
    background-color: #0b1b1b;
    color: #fff;
}

/* Background colors for each card */
.paket-blue {
    background-color: #d9f0f7;
}

.paket-pink {
    background-color: #f7d9e1;
}

.paket-cream {
    background-color: #f7f1d9;
}

/* Responsive */
@media (max-width: 930px) {
    .paket-cards {
        grid-template-columns: 1fr;
    }
}

/* 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 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    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;
    background: linear-gradient(135deg, #0b1b4b 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    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) {
    .performance-tailored-section .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .performance-cards {
        gap: 1.5rem;
    }

    .performance-card {
        padding: 1.5rem 1rem;
    }
}

/* 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%;
    }
}

/* Testimonial Slider */
.testimonials-slider-container {
    max-width: 90%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testimonials-slider {
    display: flex;
    position: relative;
    width: 85%;
    height: 100%;
    overflow: hidden;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    display: none;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: flex;
    opacity: 1;
}

.testimonial-cards-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}

.testimonial-card {
    background-color: #f8f9fc;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(50% - 1rem);
    transform: translateY(0);
    flex: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.client-image {
    margin-bottom: 1.5rem;
}

.client-photo {
    width: 6.875rem;
    height: 6.875rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    width: 100%;
    text-align: center;
}

.client-name {
    margin: 0 0 0.2rem;
    color: #0b1b4b;
    font-size: 1.2rem;
    font-weight: 600;
}

.client-position {
    margin: 0 0 0.8rem;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: normal;
}

.testimonial-text {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 0.8rem;
}

.rating {
    color: #ffc107;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.star.half {
    position: relative;
    display: inline-block;
}

.star.half:after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #e0e0e0;
}

/* 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;
}

.testimonial-brands {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

.testimonial-brands p {
    color: #4a5568;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.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;
    }

    /* Testimonial slider adjustments for tablets */
    .testimonials-slider-container {
        max-width: 95%;
    }

    .testimonial-cards-wrapper {
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .client-photo {
        width: 5rem;
        height: 5rem;
    }

    .client-name {
        font-size: 1.1rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .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;
        font-weight: 400 !important;
        color: #5c6a7f !important;
        padding: 6px 12px !important;
        margin: 4px 0 !important;
    }

    /* Mobile support quick links block */
    .mobile-contact-support {
        display: flex;
        flex-direction: row;
        gap: 10px;
        width: 100%;
      justify-content: center;

    }

    .mobile-cta {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 12px;
        border-radius: 6px;
        border: 1px solid #dbe3f0;
        background: #f8fafc;
        color: #031b4e;
        font-weight: 600;
        font-size: 14px;
        text-align: center;
        justify-items: center;
        justify-self: center;
    }
    /* make both CTAs identical */

    /* remove old submenu styles (now horizontal CTAs) */
    
    @media (max-width: 930px) {
        .fullscreen-dropdown {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
            position: fixed;
            top: 0;
            left: 0;
            height: 100vh;
            width: 100vw;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-top: none;
            z-index: 9999;
            overflow-y: auto;
            background-color: white;
            transition: visibility 0.3s ease, opacity 0.3s ease;
        }
        
        .dropdown.active .fullscreen-dropdown {
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
            z-index: 9999 !important;
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            height: 100vh !important;
            width: 100vw !important;
            transform: none !important;
            transition: none !important;
            pointer-events: auto !important;
        }
    }
    
    /* Ensure dropdown menu is visible on mobile */
    @media (max-width: 930px) {
    .dropdown.active .dropdown-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    
    /* Convert grid to list view for mobile */
    .dropdown-container {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        /* padding: 0 !important; */
        width: 100% !important;
    }

    .explore-sec{
        padding: 15px;
    }
    
    .dropdown-section {
        width: 100% !important;
        margin-bottom: 0 !important;
        border-bottom: 1px solid #eaeaea !important;
    }
    
    .dropdown-content {
        width: 100% !important;
    }
    
    .dropdown-item {
        width: 100% !important;
        padding: 15px !important;
        border-bottom: 1px solid #f0f0f0 !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    
    .dropdown-item:last-child {
        border-bottom: none !important;
    }
}
    
    .dropdown-container {
        padding: 0;
        width: 100%;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .mobile-auth-buttons {
        display: none;
        flex-direction: row;
        width: 100%;
        margin-top: 5px;
        border-top: 1px solid #eaeaea;
        padding-top: 15px;
        order: -1; /* Move to the top of the flex container */
        justify-content: space-between;
        text-align: center;

    }
    
    @media (min-width: 931px) {
        .mobile-auth-buttons {
            display: none !important;
        }
    }
    
    .nav-links.active .mobile-auth-buttons {
        display: flex;
    }
    
    .mobile-auth-buttons .login,
    .mobile-auth-buttons .signup {
        margin: 0;
        padding: 10px 0;
        text-align: center;
        font-size: 14px;
        border-radius: 4px;
        font-weight: 500;
    }
    
    .mobile-auth-buttons .login {
        flex: 1;
        margin-right: 10px;
        border: 1px solid #006aff;
        color: #006aff;
        background-color: transparent;
        justify-content: center!important;
    }
    
    .mobile-auth-buttons .signup {
        flex: 1;
        background-color: #006aff;
        color: white;
        border: 1px solid #006aff;
        justify-content: center!important;
    }

    /* Hero section responsive */
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        text-align: center;
    }

    .signup-options {
        flex-direction: column;
        align-items: center;
        justify-self: center;
    }
    
    .signup-email, .signup-google, .signup-github {
        width: 100%;
        margin: 0.5rem 0;
        border-radius: 50px;
    }

    
    /* Enterprise section responsive */
    
    .gradient-content {
        padding: 2rem 1rem;
    }

    .gradient-content h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .gradient-content h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    /* Plans section responsive */
    
    .plans-header {
        text-align: center;
    }
    
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plan-card {
        max-width: 100%;
    }
    
    /* Testimonials responsive */

    .testimonials-slider-container {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .testimonials-slider {
        width: 100%;
    }

    .testimonial-slide {
        padding: 0 0.5rem;
    }

    .testimonial-cards-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }

    .testimonial-card {
        width: 100%;
        padding: 2rem;
    }

    .client-photo {
        width: 5.625rem;
        height: 5.625rem;
    }

    .client-name {
        font-size: 1rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .nav-arrow {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.75rem;
        margin: 0 0.25rem;
    }
    
    /* Brands section responsive */
    .brands-slider {
        padding: 2rem 1rem;
    }
    
    .brands-container {
        gap: 1rem;
        justify-content: center;
    }
    
    .brands-container img {
        height: 30px;
    }
}

/* Top Blue Line Responsive */
@media (max-width: 768px) {
    .top-blue-line {
        height: 30px;
        padding: 0 15px;
    }

    .toggle-text {
        font-size: 12px;
    }

    .top-links {
        gap: 15px;
    }

    .top-links a {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .top-blue-line {
        height: 25px;
        padding: 0 10px;
    }

    .toggle-text {
        font-size: 11px;
    }

    .top-links {
        gap: 10px;
    }

    .top-links a {
        font-size: 11px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {

    .enterprise-info {
        font-size: 1rem;
    }
    .hero h1 {
        font-size: 1.8rem;
    }

    .least-paket-section h2{
        font-size: 26px;
    }

    .performance-tailored-section h2{
        font-size: 26px;
    }

    .testimonials-section h2{
        font-size: 26px;
    }
    .plans-section h2{
        font-size: 28px;
    }

    .gradient-content h2{
        font-size: 20px;
    }
    .gradient-content h3{
        font-size: 16px;
    }
    .get-started{
        font-size: 0.9rem;
    }

    .hero-video-container{
        height: 260px;
    }
    /* Keep auth buttons hidden on mobile */
    .auth-buttons {
        display: none;
    }

    .login, .signup {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        width: 100%;
        left: 0;
    }

    .dropdown-content {
        grid-template-columns: 1fr;
    }

    .get-started {
        width: 100%;
    }

    .plan-card {
        padding: 1rem;
    }

    .testimonial-card {
        padding: 1rem;
    }

    .client-photo {
        width: 4rem;
        height: 4rem;
    }

    .client-name {
        font-size: 0.9rem;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .nav-arrow {
        width: 1.25rem;
        height: 1.25rem;
        font-size: 0.7rem;
        margin: 0 0.125rem;
    }
}

  @media (max-width: 555px){
            .plans-grid {
        grid-template-columns: 1fr;
    }
}



/* New Connectivity Cloud Section */
.connectivity-cloud-section {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    padding: 2rem 0;
    color: white;
    text-align: center;
}

.connectivity-cloud-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.connectivity-cloud-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.connectivity-cloud-columns {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.connectivity-cloud-column {
    flex: 1 1 30%;
    /* Remove box background and shadow for cleaner look */
    background: transparent;
    border-radius: 0;
    padding: 2rem 1.5rem;
    box-shadow: none;
    transition: none;
}

.connectivity-cloud-column:hover {
    transform: none;
    box-shadow: none;
}

.connectivity-cloud-column i {
    margin-bottom: 1rem;
    color: #fff;
}

.connectivity-cloud-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.connectivity-cloud-column p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #e0e7ff;
}

.connectivity-cloud-link {
    color: #cbd5e1;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.connectivity-cloud-link:hover {
    color: #a5b4fc;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 930px) {
    .connectivity-cloud-columns {
        flex-direction: column;
    }

    .connectivity-cloud-column {
        flex: 1 1 100%;
    }
    .connectivity-cloud-column{
        padding: 0;
    }
}

@media (max-width: 768px) {
    .connectivity-cloud-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .connectivity-cloud-column {
        padding: 1.5rem 1rem;
    }

    .connectivity-cloud-column h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .connectivity-cloud-column p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .connectivity-cloud-column i {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 480px) {
    .connectivity-cloud-section {
        padding: 1.5rem 0;
    }

    .connectivity-cloud-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .connectivity-cloud-columns {
        gap: 1.5rem;
    }

    .connectivity-cloud-column {
        padding: 1rem 0.5rem;
    }

    .connectivity-cloud-column h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .connectivity-cloud-column p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .connectivity-cloud-column i {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }

    .connectivity-cloud-link {
        font-size: 0.9rem;
    }
}



.prime-features-header {
    text-align: center;
    margin-bottom: 50px;
    color: black;
}

.prime-features-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.prime-features-title {
    font-size: 36px;
    font-weight: 800;
    color: #0a0a0a;
    margin-bottom: 18px;
}

h1, h2, h3, h4, h5, h6, .small-title, .feature-list li, .buttons, .nav-links a, .price-box {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.outerdiv {
	width: 100%;
	/* min-height: 100vh; */
	display: flex;
	align-items: center;
	justify-content: center;
}

.innerdiv {
	transform: scale(0.9);
	margin: 1rem;
	display: grid;
	grid-gap: 1.5rem;
	grid-template-rows: repeat(2, auto);
	grid-template-columns: repeat(4, 1fr);
}

.eachdiv {
	padding: 2rem 2rem;
	border-radius: 0.8rem;
	box-shadow: 5px 5px 20px #6d6b6b6b;
	color: white;
}

.div1 {
	background: #733FC8;
	grid-column: 1/3;
	grid-row: 1/2;
	background-image: url(https://raw.githubusercontent.com/RahulSahOfficial/testimonials_grid_section/5532c958b7d3c9b910a216b198fdd21c73112d84/images/bg-pattern-quotation.svg);
	background-repeat: no-repeat;
	background-position-x: 25rem;
}

.div2 {
	background: #49556B;
	grid-column: 3/4;
	grid-row: 1/2;
}

.div3 {
	background: white;
	grid-column: 4/5;
	grid-row: 1/3;
	color: black;
}

.div4 {
	background: white;
	grid-column: 1/2;
	grid-row: 2/3;
	color: black;
}

.div5 {
	background: #18202D;
	grid-column: 2/4;
	grid-row: 2/3;
}

.userdetails {
	display: flex;
}

.imgbox {
	margin-right: 1rem;
}

.imgbox img {
	border-radius: 50%;
	width: 2rem;
	border: 2px solid #cec5c5;
}

.detbox {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.detbox p {
	margin: 0;
}

.detbox .name {
	color: hsl(0, 0%, 81%);
	font-size: 0.9rem;
	margin-bottom: 0.1rem;
	font-weight: 600;
}

.detbox .name.dark {
	color: #49505A;
}

.detbox .designation {
	color: hsl(0, 0%, 81%);
	opacity: 50%;
	font-size: 0.8rem;
}

.detbox .designation.dark {
	color: #49505A;
}

.review h4 {
	font-size: 1.4rem;
	color: #F3DEFF;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 0.8rem;
}

.review.dark h4 {
	color: #4B5258;
}

.review p {
	font-size: 0.95rem;
	color: #F3DEFF;
	font-weight: 500;
	opacity: 50%;
	/* line-height: 1.5; */
}

.review.dark p {
	color: #0e0e0e;
}

.attribution {
	font-size: 1rem;
	line-height: 1.5;
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	text-align: right;
}

.attribution a {
	text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.innerdiv {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(3, auto);
		transform: scale(1);
		margin: 1rem 0.5rem;
	}

	.div1 {
		grid-column: 1/3;
		grid-row: 1/2;
	}

	.div2 {
		grid-column: 3/4;
		grid-row: 1/2;
	}

	.div3 {
		grid-column: 1/2;
		grid-row: 2/3;
	}

	.div4 {
		grid-column: 2/3;
		grid-row: 2/3;
	}

	.div5 {
		grid-column: 3/4;
		grid-row: 2/3;
	}
}

@media (max-width: 1000px) {
	.innerdiv {
		grid-template-columns: repeat(2, 1fr);
		transform: scale(1);
	}
	
	.div1 {
		grid-column: 1/3;
		grid-row: 1/2;
	}
	
	.div2 {
		grid-column: 1/2;
		grid-row: 2/3;
	}
	
	.div3 {
		grid-column: 2/3;
		grid-row: 2/3;
	}
	
	.div4 {
		grid-column: 1/2;
		grid-row: 3/4;
	}
	
	.div5 {
		grid-column: 2/3;
		grid-row: 3/4;
	}
}

@media (max-width: 720px) {
	.innerdiv {
		grid-template-columns: 1fr;
		margin: 1rem 0.5rem;
	}
	
	.div1, .div2, .div3, .div4, .div5 {
		grid-column: 1/2;
	}
	
	.div1 {
		grid-row: 1/2;
	}
	
	.div2 {
		grid-row: 2/3;
	}
	
	.div3 {
		grid-row: 3/4;
	}
	
	.div4 {
		grid-row: 4/5;
	}
	
	.div5 {
		grid-row: 5/6;
	}
	
	.eachdiv {
		padding: 1rem;
	}
}

/* Performance Section Responsive Design */
@media (max-width: 1024px) {
    .performance-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .performance-tailored-section h2 {
        font-size: 2.4rem;
    }

    .performance-card {
        padding: 2rem 1.5rem;
    }

    .performance-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .performance-tailored-section {
        padding: 3rem 0;
    }

    .performance-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .performance-tailored-section h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .performance-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .performance-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .performance-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .performance-card h3 {
        font-size: 1.2rem;
    }

    .performance-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .performance-tailored-section {
        padding: 2rem 0;
    }

    .performance-tailored-section h2 {
        font-size: 1.8rem;
    }

    .performance-subtitle {
        font-size: 0.95rem;
    }

    .performance-card {
        padding: 1.25rem 1rem;
    }

    .performance-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .performance-card h3 {
        font-size: 1.1rem;
    }

    .performance-card p {
        font-size: 0.85rem;
    }
}

/* Remove old media queries as they're replaced by the new responsive design above */


#blk {
    color: #000;
}


.plan-home h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 2.5rem;
}

.plans-home h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Toggle Buttons */
.toggle-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.toggle-btn {
    padding: 12px 24px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.toggle-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.toggle-btn.active {
    background-color: #0069ff;
    color: white;
    box-shadow: 0 4px 10px rgba(103, 61, 230, 0.3);
}

/* Content Sections */
.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.content-section.active {
    display: block;
}

/* Grid Layouts - Updated to match the screenshots */
.grid-container {
    display: grid;
    gap: 25px;
    margin-top: 20px;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
    grid-auto-flow: dense;
}

/* Dedicated Servers - 4 cards layout (1 large left, 1 tall right, 2 half-width below) */
#dedicated-servers .grid-item:nth-child(1) {
    grid-column: span 8;
    grid-row: span 2;
    background-color: #1d1846;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    border-radius: 10px;
    background-image: url('https://assets.hostinger.com/images/homepage2021/services/service-vps-bg-mobile-5c57bed204.svg');
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 420px;
}

#dedicated-servers .grid-item:nth-child(2) {
    grid-column: span 4;
    grid-row: span 2;
    background-color: #0069ff;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    border-radius: 10px;
    min-height: 420px;
    text-align: left;
}

#dedicated-servers .grid-item:nth-child(3),
#dedicated-servers .grid-item:nth-child(4) {
    grid-column: span 6;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* VPS Hosting - 3 cards layout (1 large, 2 small) */
#vps-hosting .grid-item:nth-child(1) {
    grid-column: span 6;
    grid-row: span 2;
    background-color: #673de6;
    color: white;
    padding: 40px;
    border-radius: 10px;
}

#vps-hosting .grid-item:nth-child(2),
#vps-hosting .grid-item:nth-child(3) {
    grid-column: span 6;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Colocation - 4 cards layout (2 large, 2 small) */
#colocation .grid-item:nth-child(1),
#colocation .grid-item:nth-child(2) {
    grid-column: span 6;
    background-color: #0069ff;
    color: white;
    padding: 40px;
    border-radius: 10px;
}

#colocation .grid-item:nth-child(3),
#colocation .grid-item:nth-child(4) {
    grid-column: span 6;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* n8n - 3 cards layout (1 large, 2 small side by side) */
#n8n .grid-item:nth-child(1) {
    grid-column: span 6;
    grid-row: span 2;
    background-color: #1d1846;
    color: white;
    padding: 40px;
    border-radius: 10px;
}

#n8n .grid-item:nth-child(2),
#n8n .grid-item:nth-child(3) {
    grid-column: span 6;
    grid-row: span 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Tally on Cloud - mirror Dedicated Servers layout (1 large left, 1 tall right, 2 half-width below) */
#tally .grid-item:nth-child(1) {
    grid-column: span 8;
    grid-row: span 2;
    background-color: #1d1846;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    border-radius: 10px;
    background-image: url('https://assets.hostinger.com/images/homepage2021/services/service-vps-bg-mobile-5c57bed204.svg');
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 420px;
}

#tally .grid-item:nth-child(2) {
    grid-column: span 4;
    grid-row: span 2;
    background-color: #0069ff;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    border-radius: 10px;
    min-height: 420px;
    text-align: left;
}

#tally .grid-item:nth-child(3),
#tally .grid-item:nth-child(4) {
    grid-column: span 6;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: black;
}

/* Grid Item Content */
.grid-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.grid-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.grid-item p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.grid-item .icon {
    font-size: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0069ff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #5a35c8;
    transform: translateY(-2px);
}

.white-button {
    background-color: white;
    color: #673de6;
}

.white-button:hover {
    background-color: #f5f5f5;
}

/* Dark background cards need white text */
.grid-item.dark-bg {
    color: white;
}

.grid-item.dark-bg h3 {
    color: white;
}

.grid-item.dark-bg p {
    color: rgba(255, 255, 255, 0.8);
}

/* Card with image */
.card-with-image {
    display: flex;
    align-items: center;
}

.card-content {
    flex: 1;
}

.card-image {
    flex: 1;
    text-align: center;
}

.card-image img {
    max-width: 100%;
    height: auto;
}

/* Tally visual styling */
#tally .tally-visual {
    width: 100%;
}

#tally .tally-visual svg {
    width: 100%;
    height: auto;
    display: block;
}

#tally .tally-visual .nodes circle {
    fill: #fff;
    stroke: rgba(255,255,255,0.6);
    stroke-width: 2;
}

/* Unified card internals */
.card-header {
    display: flex;
    /* align-items: center; */
    gap: 12px;
    /* margin-bottom: 10px; */
}

.card-header .icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    color: #673de6;
    font-size: 1rem;
}

.card-eyebrow {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 700;
    opacity: .8;
    margin-bottom: 6px;
}

.card-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    color: #000;
}

.card-subtitle {
    margin-top: 6px;
    color: #000;
    opacity: .9;
}

.card-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 14px 0 6px;
}

.meta-pill {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(103, 61, 230, 0.12);
    color: #673de6;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(103, 61, 230, 0.18);
}

.card-features {
    margin: 12px 0 2px;
    padding-left: 0;
    list-style: none;
}

.card-features li {
    margin: 8px 0;
    padding-left: 22px;
    position: relative;
}

.card-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #673de6;
}

.card-footer {
    margin-top: auto;
}

/* Dark card refinements */
.grid-item.dark-bg .card-eyebrow {
    color: rgba(255, 255, 255, 0.75);
    opacity: 1;
}

.grid-item.dark-bg .card-title { color: #fff; }
.grid-item.dark-bg .card-subtitle { color: rgba(255, 255, 255, 0.9); opacity: 1; }

.grid-item.dark-bg .meta-pill {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.grid-item.dark-bg .card-features li::before { color: #fff; }

.grid-item.dark-bg .card-header .icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

/* Tally guide (video + steps) */
#tally .tally-guide {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr;
    gap: 22px;
    align-items: stretch;
    margin-top: 8px;
}

#tally .guide-video .video-card {
    position: relative;
    aspect-ratio: 16/9;
  
}

#tally .guide-video .video-thumb {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

#tally .guide-video .video-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.35) 100%);
}

#tally .guide-content .guide-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

#tally .guide-content .guide-title {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -.01em;
}

#tally .guide-content .guide-subtitle {
    margin: 4px 0 12px;
    color: rgba(255,255,255,0.92);
}

#tally .guide-content .setup-steps {
    margin-left: 18px;
    line-height: 1.9;
    font-size: 13px;
    margin-top: 14px;
}

#tally .feature-grid-tally {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin-top: 12px;
}

/* reuse existing .cta-button white-button */

@media (max-width: 968px) {
    #tally .tally-guide {
        grid-template-columns: 1fr;
    }
}

/* Spacing tweaks for readability */
#vps-hosting .grid-item, #colocation .grid-item, #n8n .grid-item {
    padding-top: 34px;
    padding-bottom: 34px;
}

#vps-hosting .grid-item.dark-bg, #n8n .grid-item.dark-bg, #colocation .grid-item.dark-bg {
    padding-left: 40px;
    padding-right: 40px;
}

/* Section-scoped accents */
#vps-hosting { --accent: #5b8cfa; --accent-2: #2d5cff; }
#colocation { --accent: #00b894; --accent-2: #00a181; }
#n8n { --accent: #ff7ab6; --accent-2: #f8459a; }

/* VPS redesigned internals */
#vps-hosting .grid-item.card-vps.dark-bg {
    background: linear-gradient(135deg, rgba(45,92,255,0.25), rgba(91,140,250,0.15)) #1d1846;
    backdrop-filter: saturate(140%);
}

#vps-hosting .grid-item.card-vps .card-eyebrow { color: rgba(255,255,255,0.85); }
#vps-hosting .grid-item.card-vps .card-title { letter-spacing: -0.02em; }

#vps-hosting .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px 16px;
    margin-top: 12px;
}

#vps-hosting .feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

#vps-hosting .feature .dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

#vps-hosting .cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

#vps-hosting .vps-visual {
    margin: 14px 0 2px;
}

#vps-hosting .vps-visual svg {
    width: 85%;
    display: block;
}

#vps-hosting .vps-visual .nodes circle {
    fill: #fff;
    stroke: rgba(255,255,255,0.6);
    stroke-width: 2;
}

/* Colocation redesigned internals */
#colocation .grid-item.card-colo {
    background-image: radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 12px 12px;
    border: 1px solid rgba(0,0,0,0.06);
}

#colocation .grid-item.card-colo.dark-bg {
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 12px 12px;
    border: 1px solid rgba(255,255,255,0.12);
}

#colocation .spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px 16px;
    margin-top: 12px;
}

#colocation .spec-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

#colocation .spec-item .badge {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(0,0,0,0.06);
    color: var(--accent-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#colocation .grid-item.dark-bg .spec-item .badge {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

/* n8n redesigned internals */
#n8n .grid-item.card-n8n.dark-bg {
    background: linear-gradient(135deg, rgba(248,69,154,0.18), rgba(255,122,182,0.12)) #1d1846;
}

#n8n .workflow-visual {
    margin: 16px 0 8px;
}

#n8n .workflow-visual svg {
    width: 85%;
   
    display: block;
}

#n8n .workflow-visual .nodes circle {
    fill: #fff;
    stroke: rgba(255,255,255,0.6);
    stroke-width: 2;
}

#n8n .flow-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

#n8n .flow-steps li {
    counter-increment: step;
    margin: 8px 0;
    padding-left: 28px;
    position: relative;
}

#n8n .flow-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: #111;
    font-weight: 800;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#n8n .badge-pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    #dedicated-servers .grid-item:nth-child(1) { grid-column: span 7; }
    #dedicated-servers .grid-item:nth-child(2) { grid-column: span 5; }
}
@media (max-width: 1050px) {
  .plans-section .container {
    padding: 10px;
  }
}
@media (max-width: 992px) {
    .container {
        padding: 24px 24px;
    }
    .grid-container {
        grid-template-columns: repeat(6, 1fr);
    }
    
    #dedicated-servers .grid-item:nth-child(1),
    #vps-hosting .grid-item:nth-child(1),
    #colocation .grid-item:nth-child(1),
    #colocation .grid-item:nth-child(2),
    #n8n .grid-item:nth-child(1),
    #tally .grid-item:nth-child(3) {
        grid-column: span 6;
    }
    
    #dedicated-servers .grid-item:nth-child(2),
    #dedicated-servers .grid-item:nth-child(3),
    #dedicated-servers .grid-item:nth-child(4),
    #vps-hosting .grid-item:nth-child(2),
    #vps-hosting .grid-item:nth-child(3),
    #colocation .grid-item:nth-child(3),
    #colocation .grid-item:nth-child(4),
    #n8n .grid-item:nth-child(2),
    #n8n .grid-item:nth-child(3),
    #tally .grid-item:nth-child(1),
    #tally .grid-item:nth-child(2) {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 22px 20px;
    }
    .grid-container {
        grid-template-columns: repeat(6, 1fr);
    }
    
    #dedicated-servers .grid-item:nth-child(1),
    #dedicated-servers .grid-item:nth-child(2),
    #dedicated-servers .grid-item:nth-child(3),
    #dedicated-servers .grid-item:nth-child(4),
    #vps-hosting .grid-item:nth-child(1),
    #vps-hosting .grid-item:nth-child(2),
    #vps-hosting .grid-item:nth-child(3),
    #colocation .grid-item:nth-child(1),
    #colocation .grid-item:nth-child(2),
    #colocation .grid-item:nth-child(3),
    #colocation .grid-item:nth-child(4),
    #n8n .grid-item:nth-child(1),
    #n8n .grid-item:nth-child(2),
    #n8n .grid-item:nth-child(3),
    #tally .grid-item:nth-child(1),
    #tally .grid-item:nth-child(2),
    #tally .grid-item:nth-child(3) {
        grid-column: span 6;
    }
    
		.toggle-container {
			flex-wrap: wrap;
			overflow-x: visible;
			padding-bottom: 0;
			justify-content: center;
			gap: 10px;
		}

		/* Allow buttons to shrink and wrap; avoid forced horizontal scroll */
		.toggle-btn {
			flex: 0 1 auto;
		}
    
    .toggle-btn {
        flex: 0 0 auto;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .grid-item h3 {
        font-size: 1.3rem;
    }
    
    .toggle-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .card-with-image {
        flex-direction: column;
    }
    
    .card-content {
        margin-bottom: 20px;
    }

    /* Make visuals full width on small screens */
    #n8n .workflow-visual svg,
    #vps-hosting .vps-visual svg {
        width: 100%;
    }

    /* Stack VPS features into a single column on phones */
    #vps-hosting .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Tally redesigned internals */
#tally { --accent: #0069ff; --accent-2: #004099; }

#tally .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px 16px;
    margin-top: 25px;
}

#tally .feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

#tally .feature .dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

#tally .flow-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

#tally .flow-steps li {
    counter-increment: step;
    margin: 8px 0;
    padding-left: 28px;
    position: relative;
}

#tally .flow-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Loosen tall card min-heights on narrow viewports */
@media (max-width: 768px) {
    #dedicated-servers .grid-item:nth-child(1),
    #dedicated-servers .grid-item:nth-child(2) {
        min-height: auto;
    }
}

/* Scoped TallySec-like styles within #tally only */
                                #tally .features-grid {
                                    display: grid;
                                    grid-template-columns: 1fr 1fr 1fr;
                                    grid-template-rows: auto auto;
                                    gap: 24px;
                                    width: 100%;
                                }

                                #tally .feature-card {
                                    background: rgba(255, 255, 255, 0.95);
                                    border: 1px solid rgba(0, 0, 0, 0.08);
                                    border-radius: 16px;
                                    padding: 24px;
                                    transition: all .3s ease;
                                    position: relative;
                                    overflow: hidden;
                                }

                                #tally .feature-card:hover {
                                    transform: translateY(-4px);
                                    box-shadow: 0 12px 40px rgba(3, 27, 78, 0.12);
                                    border-color: rgba(0, 105, 255, 0.25);
                                }

                                #tally .card-amd {
                                    grid-column: 1;
                                    grid-row: 1 / 3;
                                    min-height: 420px;
                                    display: flex;
                                    flex-direction: column;
                                }

                                #tally .card-pricing {
                                    grid-column: 2;
                                    grid-row: 1;
                                }

                                #tally .card-video {
                                    grid-column: 3;
                                    grid-row: 1;
                                }

                                #tally .card-backup {
                                    grid-column: 2 / 4;
                                    grid-row: 2;
                                    display: flex;
                                    align-items: center;
                                    gap: 20px;
                                }

                                #tally .card-icon {
                                    width: 100px;
                                    height: 100px;
                                    margin-bottom: 18px;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                }

                                #tally .processor-icon {
                                    width: 140px;
                                    height: 96px;
                                    border: 2px solid rgba(99, 102, 241, 0.35);
                                    border-radius: 12px;
                                    display: flex;
                                    flex-direction: column;
                                    align-items: center;
                                    justify-content: center;
                                    background: rgba(99, 102, 241, 0.06);
                                }

                                #tally .processor-icon .brand {
                                    font-size: 26px;
                                    font-weight: 800;
                                    color: #6366f1;
                                    letter-spacing: 1px;
                                }

                                #tally .processor-icon .model {
                                    font-size: 18px;
                                    font-weight: 700;
                                    color: #a5b4fc;
                                    letter-spacing: 2px;
                                }

                                #tally .small-badge {
                                    width: 78px;
                                    height: 56px;
                                    border: 2px solid rgba(99, 102, 241, 0.35);
                                    border-radius: 8px;
                                    display: flex;
                                    flex-direction: column;
                                    align-items: center;
                                    justify-content: center;
                                    background: rgba(99, 102, 241, 0.06);
                                    margin-bottom: 16px;
                                }

                                #tally .small-badge span {
                                    font-size: 13px;
                                    font-weight: 800;
                                    color: #6366f1;
                                }

                                #tally .backup-icon,
                                #tally .price-icon {
                                    width: 90px;
                                    height: 90px;
                                    border-radius: 50%;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                }

                                #tally .backup-icon {
                                    border: 3px solid rgba(99, 102, 241, 0.4);
                                    color: #6366f1;
                                    background: rgba(99, 102, 241, 0.06);
                                }

                                #tally .price-icon {
                                    border: 3px solid rgba(34, 197, 94, 0.4);
                                    color: #22c55e;
                                    background: rgba(34, 197, 94, 0.06);
                                }

                                #tally .price-tag {
                                    display: flex;
                                    align-items: baseline;
                                    gap: 4px;
                                    margin-top: auto;
                                    padding-top: 14px;
                                    border-top: 1px solid rgba(0, 0, 0, 0.06);
                                }

                                #tally .price-tag .currency {
                                    font-size: 22px;
                                    font-weight: 700;
                                    color: #22c55e;
                                }

                                #tally .price-tag .amount {
                                    font-size: 40px;
                                    font-weight: 800;
                                    color: #22c55e;
                                }

                                #tally .price-tag .period {
                                    font-size: 16px;
                                    color: #475569;
                                }

                                #tally .video-container {
                                    position: relative;
                                    width: 100%;
                                    padding-bottom: 56.25%;
                                    border-radius: 12px;
                                    overflow: hidden;
                                    background: #000;
                                }

                                #tally .video-container iframe {
                                    position: absolute;
                                    inset: 0;
                                    width: 100%;
                                    height: 100%;
                                    border: 0;
                                }

                                #tally .video-section,
                                #tally .text-section {
                                    flex: 1;
                                }

                                #tally .feature-card h3 {
                                        font-size: 1.5rem;
                                        font-weight: 700;
                                        line-height: 1.3;
                                        color: #000;
                                    margin-bottom: 10px;
                                }

                                #tally .feature-card p {
                                    font-size: 14px;
                                    color: #475569;
                                    line-height: 1.7;
                                }

                                @media (max-width: 1200px) {
                                    #tally .features-grid {
                                        grid-template-columns: 1fr 1fr;
                                    }

                                    #tally .card-amd {
                                        grid-column: 1;
                                        grid-row: 1/3;
                                    }

                                    #tally .card-pricing {
                                        grid-column: 2;
                                        grid-row: 1;
                                    }

                                    #tally .card-video {
                                        grid-column: 2;
                                        grid-row: 2;
                                    }

                                    #tally .card-backup {
                                        grid-column: 1/3;
                                        grid-row: 3;
                                    }
                                }

                                  @media (max-width: 820px){
                        #tally .card-backup{ display:flex; flex-direction: column; gap:16px; }
                        #tally .video-section{ width:100%; }
                        #tally .text-section{ width:100%; }
                        #tally .video-container{ position:relative; width:100%; border-radius:12px; overflow:hidden; background:#000; }
                        #tally .video-container iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
                    }

                                @media (max-width: 768px) {
                                    #tally .features-grid {
                                        grid-template-columns: 1fr;
                                        gap: 20px;
                                    }

                                    #tally .card-amd,
                                    #tally .card-pricing,
                                    #tally .card-video,
                                    #tally .card-backup {
                                        grid-column: 1;
                                        grid-row: auto;
                                    }

                                    #tally .feature-card {
                                        padding: 20px;
                                    }

                                    #tally .card-backup {
                                        flex-direction: column;
                                    }

                                    #tally .card-amd {
                                        min-height: 360px;
                                    }
                                }

                                @media (max-width: 576px) {
                                    #tally .features-grid {
                                        gap: 16px;
                                    }

                                    #tally .feature-card {
                                        padding: 16px;
                                    }

                                    #tally .card-icon {
                                        width: 72px;
                                        height: 72px;
                                        margin-bottom: 12px;
                                    }

                                    #tally .processor-icon {
                                        width: 120px;
                                        height: 80px;
                                    }

                                    #tally .processor-icon .brand {
                                        font-size: 22px;
                                    }

                                    #tally .processor-icon .model {
                                        font-size: 16px;
                                    }

                                    #tally .feature-card h3 {
                                        font-size: 1.5rem;
                                    }

                                    #tally .feature-card p {
                                        font-size: 13px;
                                    }

                                    #tally .pricing-card .price-header {
                                        font-size: 1.8rem !important;
                                    }

                                    #tally .buy-now-btn {
                                        width: 100%;
                                        text-align: center;
                                    }
                                }

/* Apply the same features grid/card system from Tally to other plan sections */
#dedicated-servers .features-grid,
#vps-hosting .features-grid,
#colocation .features-grid,
#n8n .features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    width: 100%;
}

#dedicated-servers .feature-card,
#vps-hosting .feature-card,
#colocation .feature-card,
#n8n .feature-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

#dedicated-servers .feature-card:hover,
#vps-hosting .feature-card:hover,
#colocation .feature-card:hover,
#n8n .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(3, 27, 78, 0.12);
    border-color: rgba(0, 105, 255, 0.25);
}

#dedicated-servers .card-amd,
#vps-hosting .card-amd,
#colocation .card-amd,
#n8n .card-amd {
    grid-column: 1;
    grid-row: 1 / 3;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

#dedicated-servers .card-pricing,
#vps-hosting .card-pricing,
#colocation .card-pricing,
#n8n .card-pricing { grid-column: 2; grid-row: 1; }

#dedicated-servers .card-video,
#vps-hosting .card-video,
#colocation .card-video,
#n8n .card-video { grid-column: 3; grid-row: 1; }

#dedicated-servers .card-backup,
#vps-hosting .card-backup,
#colocation .card-backup,
#n8n .card-backup {
    grid-column: 2 / 4;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 20px;
}

#dedicated-servers .card-icon,
#vps-hosting .card-icon,
#colocation .card-icon,
#n8n .card-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#dedicated-servers .video-container,
#vps-hosting .video-container,
#colocation .video-container,
#n8n .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

#dedicated-servers .video-container iframe,
#vps-hosting .video-container iframe,
#colocation .video-container iframe,
#n8n .video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#dedicated-servers .video-section,
#dedicated-servers .text-section,
#vps-hosting .video-section,
#vps-hosting .text-section,
#colocation .video-section,
#colocation .text-section,
#n8n .video-section,
#n8n .text-section { flex: 1; width: 100%; }

#dedicated-servers .feature-card h3,
#vps-hosting .feature-card h3,
#colocation .feature-card h3,
#n8n .feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    margin-bottom: 10px;
}

#dedicated-servers .feature-card p,
#vps-hosting .feature-card p,
#colocation .feature-card p,
#n8n .feature-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

@media (max-width: 1200px) {
    #dedicated-servers .features-grid,
    #vps-hosting .features-grid,
    #colocation .features-grid,
    #n8n .features-grid { grid-template-columns: 1fr 1fr; }

    #dedicated-servers .card-amd,
    #vps-hosting .card-amd,
    #colocation .card-amd,
    #n8n .card-amd { grid-column: 1; grid-row: 1/3; }

    #dedicated-servers .card-pricing,
    #vps-hosting .card-pricing,
    #colocation .card-pricing,
    #n8n .card-pricing { grid-column: 2; grid-row: 1; }

    #dedicated-servers .card-video,
    #vps-hosting .card-video,
    #colocation .card-video,
    #n8n .card-video { grid-column: 2; grid-row: 2; }

    #dedicated-servers .card-backup,
    #vps-hosting .card-backup,
    #colocation .card-backup,
    #n8n .card-backup { grid-column: 1/3; grid-row: 3; }
}

@media (max-width: 820px){
    #dedicated-servers .card-backup,
    #vps-hosting .card-backup,
    #colocation .card-backup,
    #n8n .card-backup { display:flex; flex-direction: column; gap:16px; }
}

@media (max-width: 768px) {
    #dedicated-servers .features-grid,
    #vps-hosting .features-grid,
    #colocation .features-grid,
    #n8n .features-grid { grid-template-columns: 1fr; gap: 20px; }

    #dedicated-servers .card-amd,
    #dedicated-servers .card-pricing,
    #dedicated-servers .card-video,
    #dedicated-servers .card-backup,
    #vps-hosting .card-amd,
    #vps-hosting .card-pricing,
    #vps-hosting .card-video,
    #vps-hosting .card-backup,
    #colocation .card-amd,
    #colocation .card-pricing,
    #colocation .card-video,
    #colocation .card-backup,
    #n8n .card-amd,
    #n8n .card-pricing,
    #n8n .card-video,
    #n8n .card-backup { grid-column: 1; grid-row: auto; }
}

@media (max-width: 576px) {
    #dedicated-servers .features-grid,
    #vps-hosting .features-grid,
    #colocation .features-grid,
    #n8n .features-grid { gap: 16px; }

    #dedicated-servers .feature-card,
    #vps-hosting .feature-card,
    #colocation .feature-card,
    #n8n .feature-card { padding: 16px; }
}

/* Make feature card images responsive across all plan sections */
#dedicated-servers .feature-card .card-icon img,
#vps-hosting .feature-card .card-icon img,
#colocation .feature-card .card-icon img,
#n8n .feature-card .card-icon img,
#tally .feature-card .card-icon img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Avoid fixed half-height images inside pricing cards on smaller screens */
@media (max-width: 930px) {
    #dedicated-servers .card-pricing .card-icon,
    #vps-hosting .card-pricing .card-icon,
    #colocation .card-pricing .card-icon,
    #n8n .card-pricing .card-icon,
    #tally .card-pricing .card-icon {
        height: auto !important;
        margin-bottom: 14px;
    }

    #dedicated-servers .card-pricing .card-icon img,
    #vps-hosting .card-pricing .card-icon img,
    #colocation .card-pricing .card-icon img,
    #n8n .card-pricing .card-icon img,
    #tally .card-pricing .card-icon img {
        height: auto !important;
        max-height: 260px;
        object-fit: cover;
    }
}

/* Ensure linked thumbnail videos scale correctly */
.video-container img.thumbnail-img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

/* Ensure all plan section videos remain visible and keep 16:9 on small screens */
@media (max-width: 768px) {
    #dedicated-servers .video-container,
    #vps-hosting .video-container,
    #colocation .video-container,
    #n8n .video-container,
    #tally .video-container {
        position: relative !important;
        width: 100% !important;
        aspect-ratio: 16/9 !important;
        padding-bottom: 0 !important;
        height: auto !important;
        min-height: 200px;
        overflow: hidden;
        border-radius: 12px;
        background: #000;
    }

    #dedicated-servers .video-container iframe,
    #vps-hosting .video-container iframe,
    #colocation .video-container iframe,
    #n8n .video-container iframe,
    #tally .video-container iframe {
        position: static !important;
        width: 100% !important;
        height: 100% !important;
        border: 0 !important;
        display: block;
    }
}

/* Default (all breakpoints): match Tally's 16:9 padding technique for consistent sizing */
#dedicated-servers .video-container,
#vps-hosting .video-container,
#colocation .video-container,
#n8n .video-container,
#tally .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

#dedicated-servers .video-container iframe,
#vps-hosting .video-container iframe,
#colocation .video-container iframe,
#n8n .video-container iframe,
#tally .video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* Pricing Card Styles for Tally Section */

#tally .price-header {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
}


#tally .plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

#tally .plan-subtext {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

#tally .features-list {
    list-style: none;
    padding: 0;
}

#tally .features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    padding-left: 0;
    gap: 0.75rem;
}

#tally .features-list i {
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

#tally .buy-now-btn {
    display: inline-block;
    background: white;
    color: #0069ff;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
}

#tally .buy-now-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Responsive for Pricing Card */
@media (max-width: 768px) {
    #tally .pricing-card {
        padding: 1.5rem;
    }

    #tally .price-header {
        font-size: 2.5rem;
    }

    #tally .plan-name {
        font-size: 1.3rem;
    }

    #tally .features-list li {
        font-size: 0.9rem;
        justify-content: flex-start;
    }

}
