/* Base Styles */
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* Remove tap highlight on mobile */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Titillium Web', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Titillium Web', Arial, sans-serif !important;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    width: 100%;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    font-family: 'Titillium Web', Arial, sans-serif !important;
    font-weight: 700;
}

h1 {
    font-weight: 900;
    letter-spacing: -0.5px;
}

.button, button, .nav-links a, .category-button, .domain-name {
    font-family: 'Titillium Web', Arial, sans-serif !important;
    font-weight: 600;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #1f2937;
    width: 100%;
}

/* Section General Styles */
section {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

section > .container {
    width: 100%;
    max-width: 1200px;
}

/* Hero Section */
.hero {
    background-color: #1e3a8a;
    color: white;
    padding: 50px 0;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styles */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Call to Action Button */
#submitFormBtn, #modalSubmitBtn {
    font-size: 1.2rem;
    padding: 14px 34px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.button-offer, .button-learn, .button-visit {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.button {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.button-primary {
    background-color: white;
    color: #1e3a8a;
    border-color: white;
}

.button-primary:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.button-secondary {
    border: 2px solid white;
    color: white;
}

.button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
    width: 100%;
}

/* About Teaser Section */
.about-teaser-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    width: 100%;
}

.about-teaser-section .section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #1e3a8a;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-teaser-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-teaser-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
}

.about-teaser-content .button {
    background-color: #2563eb;
    color: white;
    border: none;
}

.about-teaser-content .button:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.feature-card {
    padding: 2rem;
    border-radius: 8px;
    background: linear-gradient(145deg, #f0f9ff, white);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

/* Domains Section */
.domains-section {
    padding: 40px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Domain Categories */
.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.category-button {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.category-button:hover {
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.category-button.active {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.category-button.active:hover {
    background: #4f46e5;
    border-color: #4f46e5;
}

/* Related Domains Styling */
.related-domains {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #e5e7eb;
    font-size: 0.85rem;
    color: #6b7280;
}

.related-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #4b5563;
}

.related-domains a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-domains a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Share Button and Modal Styles */
.button-share {
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
    width: 100%;
}

.button-share:hover {
    background-color: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.share-modal {
    display: block !important;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow: auto;
}

.share-modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-share-modal {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-share-modal:hover {
    color: #333;
}

.share-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.share-option {
    flex: 1 0 calc(50% - 15px);
    padding: 12px;
    text-align: center;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.share-option:hover {
    opacity: 0.9;
}

.share-option.twitter {
    background-color: #1DA1F2;
}

.share-option.facebook {
    background-color: #4267B2;
}

.share-option.linkedin {
    background-color: #0077B5;
}

.share-option.copy {
    background-color: #6c757d;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

@media (max-width: 768px) {
    .share-option {
        flex: 1 0 100%;
    }
    
    .share-modal-content {
        margin: 30% auto;
        width: 95%;
        padding: 20px;
    }
}

/* Domain Cards */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    width: 100%;
}

.domain-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

/* Copy Domain Button */
.copy-domain-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    font-size: 14px;
    z-index: 10;
}

.copy-domain-btn:hover {
    background: #e0e0e0;
    color: #333;
    transform: scale(1.1);
}

.copy-domain-btn:active {
    transform: scale(0.95);
}

.copy-domain-btn.copied {
    background: #4CAF50;
    color: white;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #333;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
    background: #555;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top:active {
    transform: translateY(-1px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

.domain-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.domain-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.premium-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.domain-description {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.domain-target {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.check-icon {
    color: #10b981;
}

.domain-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: space-between;
}

.domain-actions .button-offer,
.domain-actions .button-learn,
.domain-actions .button-visit {
    flex: 1 1 30%;
    min-width: 100px;
}

@media (max-width: 480px) {
    .domain-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .domain-card {
        padding: 1.25rem; /* Slightly reduced padding on mobile */
    }
    
    .button-offer,
    .button-learn,
    .button-visit {
        width: 100%;
    }
}

.button-offer {
    flex: 1;
    background-color: #2563eb;
    color: white;
    padding: 12px 16px; /* Increased padding for better touch targets */
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem; /* Ensure readable text size on mobile */
    min-height: 48px; /* Minimum height for touch targets */
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-offer:hover {
    background-color: #1d4ed8;
}

.button-learn {
    padding: 12px 16px; /* Increased padding for better touch targets */
    border: 1px solid #2563eb;
    color: #2563eb;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem; /* Ensure readable text size on mobile */
    min-height: 48px; /* Minimum height for touch targets */
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-learn:hover {
    background-color: #f0f9ff;
}

.button-visit {
    padding: 12px 16px; /* Increased padding for better touch targets */
    border: 1px solid #10b981;
    color: #10b981;
    border-radius: 8px;
    background: none;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem; /* Ensure readable text size on mobile */
    min-height: 48px; /* Minimum height for touch targets */
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-visit:hover {
    background-color: rgba(16, 185, 129, 0.1);
}

/* CTA Section */
.cta-section {
    background-color: #1e3a8a;
    color: white;
    text-align: center;
    padding: 60px 0;
    width: 100%;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

/* Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

@keyframes highlight-pulse {
    0% { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
    50% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.6); }
    100% { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
}

.highlight-form {
    animation: highlight-pulse 1.5s ease;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1f2937;
}

.form-group label .required {
    color: #dc2626;
    font-weight: bold;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc2626;
}

.form-group .error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.has-error .error-message {
    display: block;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px; /* Increased padding for better touch targets */
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px; /* 16px prevents iOS zoom on focus */
    width: 100%;
    max-width: 100%;
    min-height: 48px; /* Minimum height for touch targets */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.contact-form button {
    margin-top: 1rem;
    border: none;
    min-height: 48px; /* Minimum height for touch targets */
    font-size: 1rem;
    padding: 12px 24px;
    width: 100%;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #1f2937;
}

/* Modal Content Styles */
.modal-story {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-story h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.modal-story h4 {
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-story p {
    color: #4b5563;
    margin-bottom: 1rem;
}

.modal-section {
    margin-bottom: 1.5rem;
}

.modal-section h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
}

.modal-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.modal-actions {
    margin-top: 2rem;
    text-align: center;
}

.modal-actions .button {
    margin: 0 0.5rem;
}

/* Footer */
.footer {
    background-color: white;
    border-top: 1px solid #e5e7eb;
    padding: 32px 0;
    width: 100%;
    text-align: center;
}

.footer p {
    color: #6b7280;
    margin: 8px 0;
}

.footer-links {
    margin-top: 16px;
}

.footer-links a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.footer-divider {
    margin: 0 10px;
    color: #d1d5db;
}

/* Navigation Bar */
.main-nav {
    background-color: #1e3a8a !important;
    padding: 10px 0 !important;
    width: 100% !important;
    display: block !important;
    clear: both !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 100 !important;
}

.main-nav .container {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.nav-links {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: fit-content !important;
    gap: 30px !important;
}

.nav-links a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    display: inline-block !important;
    padding: 5px 0 !important;
    position: relative !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
}

.nav-links a::after {
    content: '' !important;
    position: absolute !important;
    width: 100% !important;
    height: 2px !important;
    bottom: 0 !important;
    left: 0 !important;
    background-color: transparent !important;
    transform: scaleX(0) !important;
    transition: transform 0.3s !important;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    background-color: #ffffff !important;
    transform: scaleX(1) !important;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 15px !important;
        flex-wrap: wrap !important;
    }
    
    .nav-links a {
        font-size: 16px !important; /* Increased for better readability */
        padding: 10px 0 !important; /* Increased touch target */
        margin: 2px 0 !important; /* Add some vertical spacing */
    }
}


.nav-links a.active {
    color: #2563eb;
    font-weight: 700;
    border-bottom: 2px solid #2563eb;
}

/* Search Functionality */
.search-section {
    background-color: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.search-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Search Specific Styles */
.hero-search {
    margin-top: 30px;
    margin-bottom: 20px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: box-shadow 0.3s ease;
    width: 100%;
    backdrop-filter: blur(10px);
}

.search-container.search-active .search-wrapper:hover,
.search-wrapper:focus-within {
    box-shadow: 0 6px 30px rgba(0,0,0,0.2);
    background-color: #fff;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 20px;
    font-size: 16px;
    background-color: transparent;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-container.search-active .search-input {
    width: 300px;
}

.search-button,
.search-clear {
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    font-size: 18px;
}

.search-button:hover,
.search-clear:hover {
    color: #1f2937;
}

.search-results {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto;
    width: 100%;
    padding: 12px;
    backdrop-filter: blur(10px);
}

.search-result-count {
    font-size: 14px;
    color: #6b7280;
}

.search-no-results {
    font-size: 14px;
    color: #9ca3af;
    text-align: center;
    padding: 8px;
}

/* Search match highlight */
.domain-card.search-match {
    animation: highlightMatch 0.3s ease;
}

@keyframes highlightMatch {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Category count badges */
.category-count {
    display: inline-block;
    background: #2563eb;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
    min-width: 20px;
    text-align: center;
}

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

    .container {
        padding: 0 16px;
    }
    
    /* Mobile search styles */
    .search-container {
        margin: 10px 0;
        width: 100%;
    }
    
    .hero-search {
        margin-top: 20px;
        margin-bottom: 10px;
        padding: 0 10px;
    }
    
    .search-wrapper {
        width: 100%;
    }
    
    .search-input {
        width: 100%;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .search-container.search-active .search-input {
        width: 100%;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: stretch;
    }

    .domain-grid {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
    }

    .categories {
        flex-direction: column;
        align-items: center;
    }

    .category-button {
        width: 100%;
        justify-content: center;
        padding: 12px 16px; /* Increased padding for better touch targets */
        min-height: 48px; /* Minimum height for touch targets */
        margin-bottom: 8px; /* Add spacing between buttons */
    }
    
    /* Form improvements for mobile */
    .contact-form-container {
        padding: 16px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    /* Improve spacing in domain cards for mobile */
    .domain-card {
        margin-bottom: 16px;
    }
    
    /* Make modal more mobile-friendly */
    .modal-content {
        width: 95%;
        max-height: 80vh;
        overflow-y: auto;
        padding: 16px;
    }
    
    /* Improve footer links spacing on mobile */
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .footer-divider {
        display: none; /* Hide dividers on mobile */
    }
}

/* Big 20 Buy Block */
.big20-buy-block {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.buy-block-inner h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: white;
}

.buy-block-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.price-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: #f59e0b;
    letter-spacing: -1px;
}

.buy-block-method {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.buy-block-method strong {
    color: #ffe7a3;
    font-weight: 700;
}

.buy-block-tagline {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
    opacity: 0.95;
}

.buy-block-support {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.buy-block-support strong {
    color: #ffe7a3;
}

.buy-block-negotiation {
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem;
    opacity: 0.85;
    font-style: italic;
}

.buy-block-scarcity {
    font-size: 0.95rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #ffe7a3;
    border-radius: 4px;
}

.buy-block-scarcity strong {
    color: #ffe7a3;
}

.buy-block-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.buy-block-actions .button {
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.buy-block-actions .button-primary {
    background-color: #10b981;
}

.buy-block-actions .button-primary:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.buy-block-actions .button-secondary {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.buy-block-actions .button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .big20-buy-block {
        padding: 1.5rem;
    }

    .buy-block-inner h2 {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .buy-block-actions {
        flex-direction: column;
    }

    .buy-block-actions .button {
        width: 100%;
        text-align: center;
    }
}

/* Featured 20 Page */
.featured-20-intro {
    max-width: 800px;
    margin: 2rem auto 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.featured-20-intro p {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.featured-20-intro p:last-child {
    margin-bottom: 0;
}

.featured-20-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.big20-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .big20-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .big20-grid {
        grid-template-columns: 1fr;
    }
}

.big20-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-image-slice: 1;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.big20-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
    border-image: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
    border-image-slice: 1;
}

.big20-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.big20-card .domain-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.category-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    flex-shrink: 0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.big20-card-price {
    margin-bottom: 1rem;
    text-align: center;
}

.big20-card-price strong {
    color: #f59e0b;
    font-size: 1.4rem;
    font-weight: 800;
}

.big20-card-tagline {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.big20-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.big20-card-actions .button {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.make-offer-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

/* Sidebar Card Styling */
.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.make-offer-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Featured 20 CTA Section */
.featured-20-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.featured-20-cta h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.cta-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
}

.cta-step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: white;
}

.cta-step p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: 'Titillium Web', Arial, sans-serif;
    font-size: 1rem;
    background-color: white;
    transition: border-color 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .big20-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .big20-card {
        padding: 1.5rem;
    }

    .big20-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-tag {
        align-self: flex-start;
    }

    .featured-20-cta h2 {
        font-size: 2rem;
    }

    .cta-button-group {
        flex-direction: column;
    }

    .cta-button-group .button {
        width: 100%;
    }
}

/* Accessibility Improvements */

/* Button styles are defined earlier in the file to avoid conflicts */

/* Focus states for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1rem;
    background-color: #1e3a8a;
    color: white;
    text-decoration: none;
}

.skip-to-main:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
}

/* Improve link text visibility */
a {
    text-decoration-skip-ink: auto;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
/* Contact direct line */
.contact-direct-line {
    font-size: 1.05rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    color: #4b5563;
}

.contact-direct-line strong {
    color: #1e3a8a;
}
