/* ===== CSS VARIABLES ===== */
:root {
    --primary: #5a67d8;
    --primary-dark: #4c51bf;
    --primary-light: #7f9cf5;
    --secondary: #ed64a6;
    --accent: #38b2ac;
    --dark: #2d3748;
    --dark-light: #4a5568;
    --light: #f7fafc;
    --gray: #e2e8f0;
    --gray-dark: #cbd5e0;
    --success: #48bb78;
    --warning: #ecc94b;
    --error: #e53e3e;
    --white: #ffffff;
    --shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 35px -7px rgba(0, 0, 0, 0.15), 0 15px 15px -7px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --section-padding: 80px 0;
    --section-bg: #f8fafc;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%; /* Base font size for better rem scaling */
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem; /* Use rem for fluid padding */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Accessibility Focus States */
a:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.account-btn:focus-visible,
.social-link:focus-visible,
.feature-detail:focus-visible,
.modal-close:focus-visible {
    outline: 3px solid var(--primary-dark);
    outline-offset: 2px;
    box-shadow: none;
}
/* Specific focus for form elements */
input[type="text"]:focus-visible,
select:focus-visible {
     outline: 3px solid var(--primary-dark);
     outline-offset: 0;
     border-color: var(--primary-dark);
}


ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents small gaps below images */
}

.section {
    padding: var(--section-padding);
    background-color: var(--section-bg);
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--section-bg);
    border-radius: 0 0 70% 70%;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--section-bg);
    border-radius: 70% 70% 0 0;
    box-shadow: 0 -20px 30px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 30px auto 60px;
    color: var(--dark-light);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.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;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: padding 0.3s ease; /* Smooth transition on scroll */
}
/* Smoother padding transition on scroll */
.header.scrolled .nav {
    padding: 5px 0;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 8px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: 5px 0; /* Add padding for easier clicking */
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
}

.account-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    z-index: 1001;
    padding: 5px; /* Easier to tap */
}

/* ===== HERO SECTION (MODIFIED FOR WHITE BG) ===== */
.hero {
    background: var(--white); /* --- MODIFIED --- */
    color: var(--dark);     /* --- MODIFIED --- */
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* --- MODIFIED --- */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%232d3748" fill-opacity="0.05" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,192C672,181,768,139,864,138.7C960,139,1056,181,1152,197.3C1248,213,1344,203,1392,197.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center bottom;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 150px 20px 60px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* --- NEW --- Style for secondary button on white bg */
.hero .btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.hero .btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 80px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark); /* --- MODIFIED --- */
}

.stat-label {
    font-size: 16px;
    opacity: 0.8;
    color: var(--dark-light); /* --- MODIFIED --- */
}

/* ===== DOMAIN SECTION ===== */
.domain {
    background-color: var(--section-bg);
    padding: var(--section-padding);
}

.domain-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Domain Search Form Styling */
.search-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #F5F6FF;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.search-form:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.search-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.input-container {
    display: flex;
    flex: 1;
    gap: 10px;
    min-width: 300px;
}

.input-container input[type="text"] {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    padding: 15px 20px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.input-container input[type="text"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.1);
}

.input-container input[type="submit"] {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(90, 103, 216, 0.2);
}

.input-container input[type="submit"]:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(90, 103, 216, 0.3);
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.pricing-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 15px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    min-width: 120px;
}

.pricing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.pricing-item img {
    width: 60px;
    height: auto;
}

.pricing-item .price {
    font-size: 18px;
    font-weight: bold;
    color: var(--dark);
}

.domain-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.domain-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
}

/* Accessibility fix: Replaced --primary-light with --primary for better contrast */
.domain-feature:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.domain-feature i {
    font-size: 24px;
    color: var(--primary);
    transition: color 0.3s ease; /* Smooth icon color transition */
}

.domain-feature:hover i {
    color: var(--white);
}

/* ===== ALL-IN-ONE PACKAGES SECTION ===== */
.plan-section {
    background-color: var(--section-bg);
    padding: var(--section-padding);
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: start; /* Align cards to the top */
}

.plan-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    padding: 30px;
    display: flex; /* Use flex-column for equal height footer */
    flex-direction: column; 
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.plan-card.popular {
    border: 2px solid var(--secondary);
    transform: scale(1.05);
}

.plan-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary);
    color: var(--white);
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    border-bottom-left-radius: var(--radius);
    z-index: 1;
}

.plan-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--gray);
}

.plan-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.plan-description {
    color: var(--dark-light);
    font-size: 15px;
}

.plan-price {
    padding: 30px;
    text-align: center;
    background: var(--gradient);
    color: var(--white);
}

.price-amount {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 16px;
    opacity: 0.9;
}

.plan-features {
    padding: 30px;
    flex-grow: 1; /* Pushes footer elements to the bottom */
}

.plan-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.plan-feature i {
    color: var(--success);
    margin-right: 10px;
    font-size: 14px;
}

.plan-feature.not-included i {
    color: var(--gray-dark);
}

.feature-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.feature-detail {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 15px;
    background: var(--light);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.feature-detail:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.feature-detail i {
    font-size: 24px;
}

.feature-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.feature-modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--primary);
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gray);
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--dark-light);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1; 
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.modal-title {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--dark);
    padding-right: 40px;
    border-bottom: 2px solid var(--light);
    padding-bottom: 15px;
}

.modal-features {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.modal-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.modal-features li:hover {
    background: rgba(90, 103, 216, 0.1);
}

.modal-features li i {
    margin-right: 12px;
    margin-top: 0;
    flex-shrink: 0;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.modal-features li .fa-check {
    color: var(--success);
}

.modal-features li .fa-times {
    color: var(--error);
}

.plan-location {
    padding: 0 30px 15px;
}

.location-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: var(--radius);
    background-color: var(--white);
    font-size: 14px;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    -webkit-appearance: none; /* Custom select arrow */
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%232d3748" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
}
/* Validation error style for select */
.location-select.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.location-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.1);
}

.plan-action {
    padding: 0 30px 30px;
}

.btn-plan {
    width: 100%;
}
/* Disabled state for order buttons */
.btn-plan:disabled {
    background-color: var(--gray-dark);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-plan:disabled:hover {
    background-color: var(--gray-dark);
}
.btn-plan:disabled::before {
    display: none;
}


/* ===== DOMAIN + HOSTING COMBO SECTION ===== */
.combo-section {
    background-color: var(--section-bg);
    padding: var(--section-padding);
}

.combo-plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: start; 
}

.combo-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    padding: 30px;
    display: flex; 
    flex-direction: column; 
}

.combo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.combo-card.popular {
    border: 2px solid var(--accent);
    transform: scale(1.05);
}

.combo-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.combo-card.popular::before {
    content: 'Best Value';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: var(--white);
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    border-bottom-left-radius: var(--radius);
    z-index: 1;
}

.combo-header {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent) 0%, #319795 100%);
    color: var(--white);
}

.combo-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.combo-description {
    opacity: 0.9;
    font-size: 15px;
}

.combo-price {
    padding: 25px 30px;
    text-align: center;
    background: var(--light);
}

.combo-price-amount {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    color: var(--dark);
}

.combo-price-period {
    font-size: 16px;
    color: var(--dark-light);
}

.combo-features {
    padding: 30px;
    flex-grow: 1; 
}

.combo-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.combo-feature i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 14px;
}

/* NEW COMBO FEATURE DETAILS */
.combo-feature-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.combo-feature-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.combo-feature-detail:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.combo-feature-detail i {
    font-size: 20px;
    margin-bottom: 8px;
}

.combo-feature-detail .value {
    font-weight: 700;
    font-size: 18px;
    margin: 5px 0;
}

.combo-feature-detail .label {
    font-size: 12px;
    opacity: 0.8;
}

.combo-location {
    padding: 0 30px 15px;
}

.combo-action {
    padding: 0 30px 30px;
}

/* ===== RDP SECTION ===== */
.rdp-section {
    background-color: var(--section-bg);
    padding: var(--section-padding);
}

.rdp-plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    align-items: start; 
}

.rdp-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    padding: 30px;
    display: flex; 
    flex-direction: column; 
}

.rdp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.rdp-card.popular {
    border: 2px solid var(--warning);
    transform: scale(1.05);
}

.rdp-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.rdp-card.popular::before {
    content: 'Recommended';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--warning);
    color: var(--dark);
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 600;
    border-bottom-left-radius: var(--radius);
    z-index: 1;
}

.rdp-header {
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid var(--gray);
}

.rdp-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.rdp-description {
    color: var(--dark-light);
    font-size: 14px;
}

.rdp-specs {
    padding: 25px;
    flex-grow: 1; 
}

.rdp-spec {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray);
}
.rdp-spec:last-child { /* Remove border from last item */
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.spec-name {
    color: var(--dark-light);
}

.spec-value {
    font-weight: 600;
    color: var(--dark);
}

.rdp-price {
    padding: 20px 25px;
    text-align: center;
    background: var(--light);
}

.rdp-price-amount {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: var(--dark);
}

.rdp-price-period {
    font-size: 14px;
    color: var(--dark-light);
}

.rdp-location {
    padding: 0 25px 15px;
}

.rdp-action {
    padding: 0 25px 25px;
}

/* ===== FEATURES SECTION ===== */
.features {
    background-color: var(--section-bg);
    padding: var(--section-padding);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 32px;
    flex-shrink: 0; /* Prevents icon from shrinking */
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-description {
    color: var(--dark-light);
    line-height: 1.7;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--section-bg);
    padding: var(--section-padding);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--gray);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 20px;
    color: var(--dark-light);
    font-style: italic;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 60px;
    color: var(--primary-light);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
    line-height: 1; 
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0; 
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--dark-light);
}

/* ===== CTA SECTION ===== */
.cta {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,192C672,181,768,139,864,138.7C960,139,1056,181,1152,197.3C1248,213,1344,203,1392,197.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center bottom;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-dark);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-dark);
    font-size: 14px;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: var(--shadow);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ===== WHATSAPP WIDGET ===== */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}
/* Ensure floating animation doesn't get cut off */
.plan-card.floating,
.combo-card.floating,
.rdp-card.floating {
    transform-origin: center;
}


/* ===== LOADING ANIMATION ===== */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--white);
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--gray);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== COUNTER ANIMATION ===== */
.counter {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 46px;
    }
    
    .search-form {
        gap: 15px;
    }
    
    .pricing-item img {
        width: 60px;
    }

    /* Reset popular card scale on tablet */
    .plan-card.popular,
    .combo-card.popular,
    .rdp-card.popular {
        transform: scale(1);
    }
    .plan-card.popular:hover,
    .combo-card.popular:hover,
    .rdp-card.popular:hover {
        transform: translateY(-10px);
    }
    .floating {
        animation: none; /* Disable floating on tablet */
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .desktop-account {
        display: none;
    }
    
    .mobile-account {
        display: block;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .input-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .input-container input[type="text"],
    .input-container input[type="submit"] {
        width: 100%;
        min-width: unset; /* Reset min-width */
        max-width: unset; /* Reset max-width */
    }

    .pricing-container {
        justify-content: center;
        gap: 15px;
    }

    .pricing-item {
        flex: 1 1 45%;
    }
    
    .plans-container, .combo-plans-container {
        grid-template-columns: 1fr;
    }
    
    .rdp-plans-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 32px;
    }

    .whatsapp-widget {
        bottom: 20px;
        left: 20px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .modal-features {
        grid-template-columns: 1fr; /* Stack modal features */
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem; 
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .feature-card, .plan-card, .combo-card, .rdp-card, .testimonial-card {
        padding: 30px 20px;
    }
    
    .search-form {
        padding: 20px; 
    }

    .input-container input[type="text"] {
        font-size: 14px;
        padding: 12px 15px;
    }

    .input-container input[type="submit"] {
        font-size: 14px;
        padding: 12px 20px;
    }

    .pricing-item img {
        width: 50px;
    }

    .pricing-item .price {
        font-size: 16px;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat-item {
        flex: 1 1 45%;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .search-form {
        gap: 10px;
    }

    .input-container {
        flex-direction: column;
    }

    .pricing-container {
        gap: 10px;
    }

    .pricing-item {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        flex-basis: 100px; /* Allow them to be smaller */
        min-width: 100px; 
    }

    .pricing-item img {
        width: 40px;
    }

    .pricing-item .price {
        font-size: 12px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat-item {
        width: 100%;
    }
}

/* Fix for account button duplication */
.mobile-account {
    display: none;
}

.desktop-account {
    display: flex;
}

@media (max-width: 768px) {
    .desktop-account {
        display: none;
    }
    
    .mobile-account {
        display: flex;
    }
}