/* General Styling & Variables */
:root {
    --primary-color: #4A47A3;
    --secondary-color: #706FD3;
    --accent-color: #3498db;
    --orange-highlight: #ff4d07;
    --orange-badge: #F39C12;
    --dark-bg: #19183E;
    --light-text: #ffffff;
    --dark-text: #333333;
    --body-bg: #F4F7FC;
    --card-bg: #ffffff;
    --review-card-bg: #ffffff;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--body-bg);
    color: var(--dark-text);
    overflow-x: hidden;
}

section {
    padding: 80px 5%;
}

h1, h2, h3, h4 {
    color: var(--dark-bg);
    font-weight: 600;
}

p {
    line-height: 1.6;
    color: #666;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: #E8EAF6;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}


/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader-text {
    font-size: 36px;
    font-weight: 700;
    color: var(--light-text);
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}


/* Animation Styles */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card.hidden:nth-child(2) {
    transition-delay: 100ms;
}

.pricing-card.hidden:nth-child(3) {
    transition-delay: 200ms;
}


/* Header & Navigation */
header {
    background-color: var(--dark-bg);
    padding: 20px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--light-text);
    z-index: 10;
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav .nav-links li a {
    color: var(--light-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav .nav-links li a:hover {
    color: var(--orange-highlight);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
    z-index: 10;
}


/* Hero Section */
.hero-section {
    padding: 120px 5%;
    background: url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    min-height: 80vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 20px;
}

.hero-text .orange-text {
    color: var(--orange-highlight);
}

.hero-text p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text .btn-primary {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
}


/* Domain Search Section */
.domain-search-section {
    background-color: var(--body-bg);
    text-align: center;
}

.domain-search-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.domain-search-form {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.domain-search-form input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    outline: none;
}

.domain-search-form button {
    border-radius: 0 5px 5px 0;
}


/* Features Split Section */
.features-split {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: #fff;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.feature-text .highlight {
    color: #ff4d07;
}

.feature-text ul {
    list-style: none;
    margin: 30px 0;
}

.feature-text ul li {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-text ul li i {
    color: var(--primary-color);
    font-size: 20px;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}


/* Differentiators Section */
.differentiators {
    text-align: center;
}

.differentiators h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.diff-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.diff-card i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.diff-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}


/* Pricing Section */
.pricing {
    text-align: center;
}

.pricing h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.pricing-card {
    background-color: var(--card-bg);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 40px;
    text-align: left;
    width: 350px;
    box-shadow: 0 4px 15px #19183E;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.recommended {
    border: 2px solid #ff4d07;
    transform: scale(1.05);
    z-index: 5;
}

.recommend-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4d07;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    /* Rectangular shape */
    font-size: 14px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.plan-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 20px;
    min-height: 45px;
}

.pricing-card .price {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.pricing-card .price span {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-card .btn-primary, .pricing-card .btn-secondary {
    display: block;
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
}

.pricing-card ul {
    list-style: none;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.pricing-card ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.pricing-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}


/* Customer Reviews Section */
.reviews-section {
    background-color: #fff;
    text-align: center;
}

.reviews-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.review-card {
    background-color: var(--review-card-bg);
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    max-width: 350px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-stars {
    color: var(--orange-badge);
    font-size: 20px;
    margin-bottom: 15px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    margin: 0;
    font-size: 16px;
}

.reviewer-info span {
    font-size: 14px;
    color: #777;
}


/* FAQ Section */
.faq-section {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--body-bg);
}

.faq-content {
    flex: 1.2;
}

.faq-image {
    flex: 1;
}

.faq-image img {
    max-width: 100%;
}

.faq-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.faq-content p {
    margin-bottom: 30px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 0 15px;
}


/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 5% 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-about, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
}

footer h4 {
    color: var(--light-text);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-about p {
    color: #ccc;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--accent-color);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #aaa;
}


/* WhatsApp Chat & Scroll to Top Buttons */
#scrollTopBtn, .whatsapp-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
}

#scrollTopBtn:hover, .whatsapp-chat:hover {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

.whatsapp-chat {
    bottom: 90px;
    background-color: #25D366;
    display: flex;
}

#scrollTopBtn.show {
    display: flex;
}


/* --- RESPONSIVENESS & MOBILE MENU --- */
@media (max-width: 992px) {
    .features-split, .features-split.reversed {
        flex-direction: column;
    }

    .feature-image {
        margin-top: 30px;
    }

    .faq-section {
        flex-direction: column;
    }

    .faq-image {
        display: none;
    }
}

@media (max-width: 768px) {

    /* Mobile Menu */
    .desktop-btn {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--dark-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: right 0.4s ease-in-out;
        padding-top: 60px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        right: 0;
    }

    /* Adjust font sizes for mobile */
    .hero-text h1 {
        font-size: 36px;
    }

    .feature-text h2, .pricing h2, .differentiators h2, .faq-content h2 {
        font-size: 28px;
    }

    /* Layout adjustments */
    section {
        padding: 60px 5%;
    }

    .hero-section {
        padding: 80px 5%;
        min-height: 60vh;
    }

    .pricing-card.recommended {
        transform: scale(1);
    }

    .pricing-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 400px;
    }

    .plan-subtitle {
        min-height: unset;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .domain-search-form {
        flex-direction: column;
    }

    .domain-search-form input, .domain-search-form button {
        border-radius: 5px;
    }

    .domain-search-form input {
        margin-bottom: 10px;
    }
}