:root {
    --primary: #0056b3;
    --secondary: #00a8cc;
    --light: #f4f7f6;
    --dark: #333;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
}

/* FIX: Added the missing asterisk (*) */
* { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--light); color: var(--dark); line-height: 1.6; }

/* FIX: Main is full width, .container handles the centering */
main { width: 100%; margin: 0; padding: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header & Nav */
header { background: var(--primary); color: white; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
header .logo { font-size: 1.6rem; font-weight: 800; }
header nav { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
header nav a { color: white; text-decoration: none; font-weight: 500; }
.btn-nav { background: var(--secondary); padding: 0.5rem 1rem; border-radius: 5px; }
.contact-bar { background: #004494; color: white; text-align: center; padding: 0.5rem; font-size: 0.9rem; }
.contact-bar a { color: white; font-weight: bold; text-decoration: none; }

/* Buttons */
.btn { display: inline-block; padding: 0.85rem 1.75rem; text-decoration: none; border-radius: 6px; border: none; cursor: pointer; font-size: 1rem; font-weight: 600; transition: 0.3s; text-align: center; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #004494; }
.btn-secondary { background: var(--secondary); color: white; }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Hero Sections */
.hero, .hero-small { background-size: cover; background-position: center; color: white; text-align: center; padding: 5rem 1rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero h1, .hero-small h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero p, .hero-small p { font-size: 1.2rem; margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Sections & Grids */
section { padding: 4rem 0; }
.section-title { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
.section-title h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 0.5rem; }
.services-grid, .pricing-grid, .testimonials-grid, .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card, .pricing-card, .testimonial-card, .feature-box { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); text-align: center; }
.pricing-card.popular { border: 2px solid var(--secondary); position: relative; }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--secondary); color: white; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
.price { font-size: 2rem; color: var(--primary); font-weight: bold; margin: 1rem 0; }
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0; text-align: left; }
.feature-list li { padding: 0.5rem 0; border-bottom: 1px solid #f0f0f0; }
.feature-list li i { color: var(--success); margin-right: 0.5rem; }

/* Stats */
.stats { display: flex; justify-content: space-around; background: white; padding: 2.5rem 1rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); max-width: 1100px; margin: -3rem auto 3rem; flex-wrap: wrap; gap: 1.5rem; }
.stat-item { text-align: center; flex: 1; min-width: 150px; }
.stat-item h3 { font-size: 2.2rem; color: var(--primary); margin: 0; }

/* Domain Search & Table */
.domain-search-box { max-width: 700px; margin: 0 auto 2rem; display: flex; box-shadow: 0 4px 15px rgba(0,0,0,0.1); border-radius: 8px; overflow: hidden; }
.domain-search-box input { flex: 2; padding: 1rem; border: none; outline: none; }
.domain-search-box select { flex: 1; padding: 1rem; border: none; border-left: 1px solid #ddd; outline: none; background: #f9f9f9; }
.domain-search-box button { border-radius: 0; padding: 1rem 2rem; }
.pricing-table-section { background: white; padding: 2.5rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-top: 2rem; }
.filter-tabs { display: flex; gap: 1rem; margin: 1.5rem 0; border-bottom: 2px solid #eee; flex-wrap: wrap; }
.filter-tabs a { padding: 0.75rem 1.5rem; text-decoration: none; color: #555; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.filter-tabs a.active, .filter-tabs a:hover { color: var(--primary); border-bottom: 3px solid var(--primary); }
.domain-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.domain-table th, .domain-table td { padding: 1rem; text-align: left; border-bottom: 1px solid #eee; }
.domain-table th { background: #f8f9fa; font-weight: 600; color: #555; }
.search-result-card { background: #e8f4f8; border: 1px solid #00a8cc; padding: 1.5rem; border-radius: 8px; text-align: center; max-width: 700px; margin: 0 auto 2rem; }
.text-success { color: #28a745; font-weight: bold; }

/* Contact Page */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.info-item { margin-bottom: 1.5rem; display: flex; align-items: flex-start; }
.info-item i { color: var(--primary); font-size: 1.5rem; margin-right: 1rem; margin-top: 0.2rem; }
.contact-form { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 0.75rem; margin-bottom: 1rem; border: 1px solid #ccc; border-radius: 4px; }

/* Auth Pages */
.auth-page { display: flex; justify-content: center; align-items: center; min-height: 60vh; padding: 3rem 1rem; }
.auth-box { background: white; padding: 2.5rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); width: 100%; max-width: 500px; }
.auth-box h2 { margin-top: 0; color: var(--primary); text-align: center; }
.auth-box .form-group { text-align: left; margin-bottom: 1rem; }
.auth-box .form-group label { display: block; margin-bottom: 0.5rem; font-weight: bold; }
.auth-box .form-group input { width: 100%; padding: 0.75rem; border: 1px solid #ccc; border-radius: 4px; }
.error-message { background: #f8d7da; color: #721c24; padding: 0.75rem; border-radius: 4px; margin-bottom: 1rem; text-align: center; }
.auth-links { margin-top: 1.5rem; font-size: 0.9rem; text-align: center; }
.auth-links a { color: var(--primary); text-decoration: none; }

/* FAQ Section */
.faq-section { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.faq-image img { width: 100%; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: white; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); border-left: 4px solid var(--primary); }
.faq-item h4 { margin: 0 0 0.5rem 0; color: var(--primary); }

/* Footer */
footer { background: var(--dark); color: white; padding: 3rem 1rem 1rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.footer-col h3, .footer-col h4 { color: var(--secondary); margin-bottom: 1rem; }
.footer-col a { display: block; color: #ccc; text-decoration: none; margin-bottom: 0.5rem; }
.footer-bottom { text-align: center; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #555; }

/* Responsive */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 1rem; text-align: center; }
    header nav { justify-content: center; }
    .stats { flex-direction: column; margin-top: 1rem; }
    .domain-search-box { flex-direction: column; }
    .contact-container, .faq-section { grid-template-columns: 1fr; }
    .contact-form .form-row { grid-template-columns: 1fr; }
}