/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4267B2;
    --secondary-color: #5CB85C;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --white: #fff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

.logo a {
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.header-search {
    display: flex;
    gap: 10px;
}

.header-search input {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 250px;
    font-size: 14px;
}

.header-search button {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.header-search button:hover {
    background-color: #365899;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5578c4 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 40px;
    font-weight: 700;
}

.hero-search {
    max-width: 700px;
    margin: 0 auto 60px;
    display: flex;
    gap: 10px;
    background-color: var(--white);
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-search input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
    border-radius: 4px;
    min-width: 0;
}

.hero-search button {
    padding: 15px 40px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hero-search button:hover {
    background-color: #4a9d4a;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature p {
    font-size: 14px;
    opacity: 0.9;
}

/* Domains Section */
.domains-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.domain-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.domain-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.domain-name {
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: 700;
}

.badge-featured {
    background-color: #ff9800;
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.domain-description {
    color: #666;
    margin-bottom: 20px;
    min-height: 48px;
}

.domain-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.domain-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: #4a9d4a;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Static Pages */
.page-content {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header .eyebrow {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header .lead {
    font-size: 18px;
    color: #555;
}

.page-header .meta {
    font-size: 14px;
    color: #888;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.content-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.content-card h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.content-card p {
    color: #555;
    line-height: 1.7;
}

.content-card ul {
    padding-left: 20px;
    color: #555;
    line-height: 1.7;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.not-found-hero {
    padding: 80px 0 100px;
}

.not-found-hero .hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin: 0 0 25px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .domains-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .header-search {
        width: 100%;
    }
    
    .header-search input {
        width: 100%;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-search {
        flex-direction: column;
        padding: 10px;
        gap: 12px;
    }

    .hero-search button {
        width: 100%;
    }

    .hero-features {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .domains-section {
        padding: 60px 0;
    }

    .domain-card {
        padding: 30px;
    }
}
/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.contact-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
}

.contact-icon {
    font-size: 22px;
}

.contact-row .label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #777;
    margin-bottom: 2px;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-faq {
    margin-top: 40px;
}

.contact-faq h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.faq-item h3 {
    margin-bottom: 10px;
    font-size: 16px;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5578c4 100%);
    color: var(--white);
    padding: 60px 0 50px;
    text-align: center;
}

.contact-hero .lead {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.contact-cta {
    margin-bottom: 25px;
}

.contact-tiles {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.contact-tile {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.contact-tile .tile-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.contact-tile .label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    margin-bottom: 4px;
    color: rgba(255,255,255,0.8);
}

.contact-tile .value {
    color: #fff;
    font-weight: 600;
}

.help-topics {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.help-topics li {
    position: relative;
    padding-left: 22px;
    color: #555;
    line-height: 1.6;
}

.help-topics li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.contact-card h2 {
    margin-bottom: 8px;
}

.contact-copy {
    color: #555;
    margin-bottom: 16px;
}

.contact-hero h1 {
    font-size: 40px;
    margin: 8px 0 10px;
}

.contact-hero .eyebrow {
    color: rgba(255,255,255,0.85);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-tile a {
    color: #fff;
    text-decoration: none;
}

/* Domain page */
.domain-page {
    padding: 40px 0 80px;
}

.domain-header {
    text-align: center;
    margin-bottom: 50px;
}

.domain-title {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.domain-tagline {
    font-size: 24px;
    color: #666;
}

.domain-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.domain-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.domain-info-card,
.domain-features,
.make-offer-section {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
}

.domain-info-card h2,
.domain-features h3,
.make-offer-section h3 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.domain-full-description {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.domain-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: start;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 5px;
    font-size: 16px;
}

.feature-text p {
    color: #666;
    font-size: 14px;
}

.offer-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.price-card {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.price-header h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.price-amount {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.price-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

.divider-text {
    text-align: center;
    color: #999;
    font-size: 14px;
}

.price-features {
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.price-features ul {
    list-style: none;
}

.price-features li {
    padding: 8px 0;
    color: #555;
}

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

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
}

.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-top: 20px;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.is-hidden {
    display: none;
}

.checkout-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.checkout-modal.is-active {
    display: flex;
}

.checkout-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.checkout-modal__dialog {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    max-width: 620px;
    width: 100%;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    z-index: 10;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-modal__close {
    position: absolute;
    right: 14px;
    top: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.checkout-modal__header {
    margin-bottom: 18px;
}

.checkout-modal__header .eyebrow {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 6px;
    font-size: 12px;
}

.checkout-modal__header h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.checkout-modal__header .subhead {
    color: #555;
    margin-bottom: 14px;
    font-size: 15px;
}

.checkout-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    padding: 12px;
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.checkout-summary .label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #777;
}

.checkout-summary .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
}

.checkout-form .form-group {
    margin-bottom: 14px;
}

.checkout-form label {
    margin-bottom: 6px;
    font-weight: 600;
}

.checkout-form .field-hint {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.checkbox-row input {
    margin-top: 4px;
}

.form-note {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 968px) {
    .domain-content {
        grid-template-columns: 1fr;
    }
    
    .domain-sidebar {
        order: -1;
    }
    
    .price-card {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .domain-stats {
        grid-template-columns: 1fr;
    }
}

/* About page */
.page-content {
    padding: 60px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.lead {
    font-size: 24px;
    color: #666;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.content-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-box p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.step p {
    font-size: 16px;
    color: #666;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5578c4 100%);
    color: var(--white);
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
}

.cta-box h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 40px 20px;
    }
}
