/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Commercial Hosting Colors (GoDaddy/Bluehost vibe) */
    --primary-navy: #112233;
    /* Darker navy */
    --secondary-teal: #0073B1;
    /* Brighter, more clickable blue/teal */
    --accent-orange: #ff5e14;
    /* High conversion orange */
    --success-green: #2ecc71;

    /* Neutral Colors */
    --bg-white: #ffffff;
    --bg-light: #f4f5f7;
    --text-dark: #2b2b2b;
    --text-muted: #5b626a;
    --border-color: #dbe0e4;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);

    /* Fonts */
    --font-main: 'Inter', sans-serif;
    --transition: all 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-navy);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.subtitle {
    font-size: 1rem;
    color: var(--secondary-teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.text-center {
    text-align: center;
}

/* Base Layout */
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-navy {
    background-color: var(--primary-navy);
    color: var(--bg-white);
}

.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy p {
    color: var(--bg-white);
}

.bg-teal {
    background-color: var(--secondary-teal);
    color: var(--bg-white);
}

.bg-teal h1,
.bg-teal h2,
.bg-teal h3,
.bg-teal p {
    color: var(--bg-white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-main);
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-teal);
    color: var(--bg-white);
    border-color: var(--secondary-teal);
}

.btn-primary:hover {
    background-color: #005f92;
    border-color: #005f92;
    color: var(--bg-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-navy);
    border-color: var(--primary-navy);
}

.btn-outline:hover {
    background-color: var(--bg-light);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
}

.btn-accent {
    background-color: var(--accent-orange);
    color: var(--bg-white);
    border-color: var(--accent-orange);
    font-size: 1.1rem;
}

.btn-accent:hover {
    background-color: #e55412;
    border-color: #e55412;
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header & Navbar */
header {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    border-bottom: none;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
    margin: 0;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 12px;
    border-radius: 4px;
    transition: var(--transition);
    display: block;
}

.nav-links li a:hover {
    color: var(--secondary-teal);
    background-color: var(--bg-light);
}

.nav-menu-btn {
    margin-left: 10px;
}

.nav-menu-btn a {
    padding: 10px 20px !important;
}

.menu-toggle {
    display: none;
    color: var(--primary-navy);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    min-width: 220px;
    z-index: 1001;
    padding: 10px 0;
}

.nav-links li:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 10px 20px;
    border-radius: 0;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    background-color: var(--bg-white);
    text-align: center;
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.25rem;
}

/* Domain Search Bar (Commercial) */
.domain-search-wrapper {
    max-width: 800px;
    margin: 0 auto 40px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.domain-search-form {
    display: flex;
}

.domain-search-input {
    flex: 1;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-size: 1.25rem;
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition);
}

.domain-search-input:focus {
    border-color: var(--secondary-teal);
    box-shadow: 0 0 0 3px rgba(0, 115, 177, 0.1);
}

.domain-search-btn {
    padding: 20px 40px;
    background: var(--primary-navy);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-main);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.domain-search-btn:hover {
    background: var(--secondary-teal);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.trust-badge i {
    color: var(--success-green);
    font-size: 1.2rem;
}

/* Section Headings */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    max-width: 700px;
    margin: 0 auto 15px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Pricing Cards (Commercial) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: left;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-teal);
    transform: translateY(-3px);
}

.pricing-card.highlight {
    border: 2px solid var(--primary-navy);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02) translateY(-3px);
}

.pricing-card.highlight::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-navy);
    color: var(--bg-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.pricing-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.pricing-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    min-height: 45px;
}

.price-block {
    margin: 20px 0;
}

.price-strike {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.price-currency {
    font-size: 1.5rem;
    margin-top: 5px;
}

.price-term {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
    align-self: flex-end;
    margin-bottom: 5px;
}

.pricing-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 15px;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--secondary-teal);
    margin-top: 4px;
}

.feature-highlight {
    font-weight: 700;
}

/* Comparison Table (Sticky Header) */
.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th {
    background: var(--bg-white);
    padding: 25px 20px;
    font-size: 1.25rem;
    font-weight: 800;
    border-bottom: 2px solid var(--primary-navy);
    position: sticky;
    top: 70px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.comparison-table tr:hover td {
    background-color: var(--bg-light);
}

.comparison-table .feature-group {
    background: var(--bg-light);
    font-weight: 700;
    color: var(--primary-navy);
    padding: 15px 20px;
    font-size: 1.1rem;
}

.comparison-table .highlight-col {
    background-color: rgba(0, 115, 177, 0.03);
    border-left: 1px solid rgba(0, 115, 177, 0.1);
    border-right: 1px solid rgba(0, 115, 177, 0.1);
}

.comparison-table th.highlight-col {
    border-top: 3px solid var(--secondary-teal);
}

.check-icon {
    color: var(--success-green);
    font-size: 1.2rem;
}

.times-icon {
    color: #ccc;
    font-size: 1.2rem;
}

/* FAQ Accordion */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 1.1rem;
    background: var(--bg-white);
}

.faq-header:hover {
    background: var(--bg-light);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--secondary-teal);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active {
    border-color: var(--secondary-teal);
    box-shadow: var(--shadow-sm);
}

.faq-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
    padding: 0 25px 20px;
    max-height: 500px;
}

/* max-height must be larger than content */

/* General Cards (Services/Why Us) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 35px 25px;
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary-teal);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(0, 115, 177, 0.1);
    border-radius: 50%;
}

/* Footer */
footer {
    background-color: var(--primary-navy);
    color: white;
    padding: 60px 0 30px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aab5;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aab5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    color: #a0aab5;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    /* Basic mobile menu toggle implementation */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        padding: 20px 0;
        border-top: 1px solid var(--border-color);
        align-items: flex-start;
    }

    .nav-links.active li {
        width: 100%;
    }

    .nav-links.active li a {
        padding: 15px 20px;
        border-radius: 0;
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-links.active .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 20px;
        display: none;
    }

    .nav-links.active li:hover .dropdown-menu {
        display: block;
        background: var(--bg-light);
    }
}

@media (max-width: 768px) {
    .domain-search-form {
        flex-direction: column;
    }

    .domain-search-input {
        border-radius: 4px;
        margin-bottom: 10px;
        border-right: 1px solid var(--border-color);
    }

    .domain-search-btn {
        border-radius: 4px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}