:root {
    --ar-light-blue: #74ACDF;
    --ar-dark-blue: #1a3a5c;
    --ar-white: #FFFFFF;
    --ar-sun-yellow: #F6B40E;
    --ar-gradient: linear-gradient(135deg, #74ACDF 0%, #1a3a5c 100%);
    --ar-gradient-hero: linear-gradient(135deg, #1a3a5c 0%, #2d5a8e 40%, #74ACDF 100%);
    --ar-shadow: 0 4px 20px rgba(26, 58, 92, 0.15);
    --ar-shadow-hover: 0 8px 30px rgba(26, 58, 92, 0.25);
    --ar-radius: 12px;
    --ar-transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.main-content {
    padding-top: 76px;
}

#mainNav {
    background: var(--ar-dark-blue);
    padding: 10px 0;
    transition: var(--ar-transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#mainNav.scrolled {
    padding: 5px 0;
    background: rgba(26, 58, 92, 0.98);
    backdrop-filter: blur(10px);
}

.brand-logo .logo-ar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--ar-sun-yellow);
    color: var(--ar-dark-blue);
    font-weight: 800;
    font-size: 16px;
    border-radius: 10px;
    letter-spacing: -0.5px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.brand-sub {
    font-size: 11px;
    color: var(--ar-light-blue);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--ar-transition);
    font-size: 14px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(116, 172, 223, 0.2);
}

.nav-auth-btn {
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
    padding: 6px 14px;
    transition: var(--ar-transition);
}

.btn-sun {
    background: var(--ar-sun-yellow);
    color: var(--ar-dark-blue);
    border: none;
    font-weight: 600;
}

.btn-sun:hover {
    background: #e5a800;
    color: var(--ar-dark-blue);
    transform: translateY(-1px);
}

.lang-switcher .btn {
    border-color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

.lang-switcher .btn:hover {
    border-color: var(--ar-light-blue);
    background: rgba(116, 172, 223, 0.1);
}

.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: var(--ar-shadow);
    overflow: hidden;
}

.dropdown-item.active,
.dropdown-item:hover {
    background: var(--ar-light-blue);
    color: #fff;
}

.hero-section {
    background: var(--ar-gradient-hero);
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2374ACDF' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #f8f9fa, transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-slogan {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-slogan span {
    color: var(--ar-sun-yellow);
}

.hero-sub {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-search-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 8px;
    display: flex;
    align-items: center;
    max-width: 640px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--ar-transition);
}

.hero-search-box:focus-within {
    border-color: var(--ar-sun-yellow);
    box-shadow: 0 0 30px rgba(246, 180, 14, 0.2);
}

.hero-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    padding: 12px 16px;
    font-size: 16px;
    outline: none;
}

.hero-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-search-box select {
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    margin: 0 4px;
}

.hero-search-box select option {
    background: var(--ar-dark-blue);
    color: #fff;
}

.hero-search-box .btn-search {
    background: var(--ar-sun-yellow);
    color: var(--ar-dark-blue);
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--ar-transition);
    white-space: nowrap;
}

.hero-search-box .btn-search:hover {
    background: #e5a800;
    transform: scale(1.02);
}

.hero-decoration {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    opacity: 0.15;
}

.hero-sun-svg {
    width: 300px;
    height: 300px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ar-dark-blue);
    margin-bottom: 12px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--ar-sun-yellow);
    border-radius: 2px;
    margin-top: 12px;
}

.section-subtitle {
    color: #666;
    font-size: 1.05rem;
    max-width: 700px;
}

.section-subtitle.center {
    margin-left: auto;
    margin-right: auto;
}

.why-card {
    background: #fff;
    border-radius: var(--ar-radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--ar-shadow);
    transition: var(--ar-transition);
    height: 100%;
    border: 1px solid rgba(116, 172, 223, 0.1);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ar-shadow-hover);
    border-color: var(--ar-light-blue);
}

.why-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
}

.why-card-icon.blue {
    background: linear-gradient(135deg, #74ACDF, #1a3a5c);
}

.why-card-icon.yellow {
    background: linear-gradient(135deg, #F6B40E, #e5a800);
}

.why-card-icon.teal {
    background: linear-gradient(135deg, #2d9cdb, #1a6daa);
}

.why-card-icon.navy {
    background: linear-gradient(135deg, #1a3a5c, #0d1f33);
}

.why-card h5 {
    font-weight: 700;
    color: var(--ar-dark-blue);
    margin-bottom: 12px;
}

.why-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

.domain-card {
    background: #fff;
    border-radius: var(--ar-radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--ar-shadow);
    transition: var(--ar-transition);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ar-gradient);
}

.domain-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ar-shadow-hover);
    border-color: var(--ar-light-blue);
}

.domain-card.featured {
    border-color: var(--ar-sun-yellow);
}

.domain-card.featured::before {
    background: var(--ar-sun-yellow);
    height: 4px;
}

.domain-suffix {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ar-dark-blue);
    margin-bottom: 8px;
}

.domain-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ar-light-blue);
    margin-bottom: 4px;
}

.domain-price-period {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.domain-card .btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 24px;
}

.stats-section {
    background: var(--ar-gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
    text-align: center;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--ar-sun-yellow);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.cta-section .btn-sun {
    padding: 14px 40px;
    font-size: 16px;
    border-radius: 10px;
}

.page-header {
    background: var(--ar-gradient-hero);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, #f8f9fa, transparent);
}

.page-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

.content-card {
    background: #fff;
    border-radius: var(--ar-radius);
    padding: 36px;
    box-shadow: var(--ar-shadow);
    margin-bottom: 24px;
    border: 1px solid rgba(116, 172, 223, 0.1);
}

.content-card h3 {
    color: var(--ar-dark-blue);
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ar-light-blue);
}

.content-card p {
    color: #555;
    line-height: 1.8;
    font-size: 0.98rem;
}

.content-card ul {
    list-style: none;
    padding: 0;
}

.content-card ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.content-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--ar-light-blue);
    font-size: 14px;
}

.query-section {
    max-width: 700px;
    margin: 0 auto;
}

.query-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--ar-shadow);
}

.query-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.query-input-group input {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 16px;
    transition: var(--ar-transition);
}

.query-input-group input:focus {
    border-color: var(--ar-light-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(116, 172, 223, 0.2);
}

.query-input-group select {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 16px;
    min-width: 140px;
    transition: var(--ar-transition);
    background: #fff;
}

.query-input-group select:focus {
    border-color: var(--ar-light-blue);
    outline: none;
}

.query-btn {
    background: var(--ar-gradient);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--ar-transition);
    white-space: nowrap;
}

.query-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 58, 92, 0.3);
    color: #fff;
}

.query-result {
    display: none;
    margin-top: 24px;
    border-radius: 12px;
    padding: 24px;
    animation: fadeInUp 0.4s ease;
}

.query-result.available {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 1px solid #28a745;
}

.query-result.taken {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 1px solid #dc3545;
}

.query-result.error {
    background: linear-gradient(135deg, #fff3cd, #ffeeba);
    border: 1px solid #ffc107;
}

.query-result-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.query-result.available .query-result-icon {
    color: #28a745;
}

.query-result.taken .query-result-icon {
    color: #dc3545;
}

.query-result.error .query-result-icon {
    color: #ffc107;
}

.query-result h4 {
    font-weight: 700;
    margin-bottom: 8px;
}

.query-result.available h4 {
    color: #155724;
}

.query-result.taken h4 {
    color: #721c24;
}

.query-result-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ar-dark-blue);
    margin: 12px 0;
}

.query-result .btn-register {
    background: var(--ar-sun-yellow);
    color: var(--ar-dark-blue);
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 700;
    transition: var(--ar-transition);
}

.query-result .btn-register:hover {
    background: #e5a800;
    transform: translateY(-2px);
}

.query-tips {
    margin-top: 32px;
}

.query-tips .tip-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 12px 16px;
    background: rgba(116, 172, 223, 0.08);
    border-radius: 8px;
}

.query-tips .tip-item i {
    color: var(--ar-light-blue);
    margin-right: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

.query-tips .tip-item span {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.type-card {
    background: #fff;
    border-radius: var(--ar-radius);
    overflow: hidden;
    box-shadow: var(--ar-shadow);
    transition: var(--ar-transition);
    height: 100%;
    border: 1px solid rgba(116, 172, 223, 0.1);
}

.type-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ar-shadow-hover);
}

.type-card-header {
    padding: 28px 24px;
    text-align: center;
    position: relative;
}

.type-card-header.ar-header {
    background: linear-gradient(135deg, #74ACDF, #5a9ad4);
}

.type-card-header.comar-header {
    background: linear-gradient(135deg, #1a3a5c, #2d5a8e);
}

.type-card-header.netar-header {
    background: linear-gradient(135deg, #2d9cdb, #1a6daa);
}

.type-card-header.orgar-header {
    background: linear-gradient(135deg, #F6B40E, #e5a800);
}

.type-card-header h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
}

.type-card-header .type-price {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 8px;
}

.type-card-body {
    padding: 24px;
}

.type-card-body p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}

.type-card-body .scene-tag {
    display: inline-block;
    background: rgba(116, 172, 223, 0.1);
    color: var(--ar-dark-blue);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.compare-table {
    border-radius: var(--ar-radius);
    overflow: hidden;
    box-shadow: var(--ar-shadow);
}

.compare-table thead th {
    background: var(--ar-dark-blue);
    color: #fff;
    font-weight: 600;
    padding: 16px;
    border: none;
    font-size: 0.95rem;
}

.compare-table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-color: #eee;
    color: #555;
}

.compare-table tbody tr:hover {
    background: rgba(116, 172, 223, 0.05);
}

.compare-table .suffix-badge {
    display: inline-block;
    background: var(--ar-gradient);
    color: #fff;
    padding: 4px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

.site-footer {
    background: var(--ar-dark-blue);
    color: rgba(255, 255, 255, 0.8);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-brand .logo-ar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--ar-sun-yellow);
    color: var(--ar-dark-blue);
    font-weight: 800;
    font-size: 14px;
    border-radius: 8px;
}

.footer-brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-brand-link a {
    color: var(--ar-sun-yellow);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--ar-transition);
}

.footer-brand-link a:hover {
    color: #fff;
}

.footer-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--ar-sun-yellow);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--ar-transition);
}

.footer-links a:hover {
    color: var(--ar-sun-yellow);
    padding-left: 4px;
}

.footer-links i {
    color: var(--ar-light-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-bottom-brand {
    color: var(--ar-sun-yellow);
    text-decoration: none;
    font-weight: 500;
    transition: var(--ar-transition);
}

.footer-bottom-brand:hover {
    color: #fff;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

.loading-spinner.dark {
    border-color: rgba(26, 58, 92, 0.2);
    border-top-color: var(--ar-dark-blue);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.argentine-stripe {
    height: 4px;
    background: linear-gradient(90deg, var(--ar-light-blue) 33.3%, #fff 33.3%, #fff 66.6%, var(--ar-light-blue) 66.6%);
}

@media (max-width: 991.98px) {
    .hero-slogan {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-search-box {
        flex-direction: column;
        gap: 8px;
    }

    .hero-search-box select {
        width: 100%;
    }

    .hero-search-box .btn-search {
        width: 100%;
    }

    .hero-decoration {
        display: none;
    }

    .nav-right {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-wrap: wrap;
        gap: 8px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .query-input-group {
        flex-direction: column;
    }

    .query-input-group select {
        min-width: auto;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 500px;
    }

    .hero-slogan {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .content-card {
        padding: 24px;
    }

    .query-box {
        padding: 24px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

.btn:focus,
.form-control:focus,
.form-select:focus {
    box-shadow: none;
}

a {
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--ar-light-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ar-dark-blue);
}
