/* Landing Page CSS - Tách từ Index.cshtml */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #ffffff;
    color: #1e293b;
    overflow-x: hidden;
    padding-left: 0;
    padding-right: 0;
}

.left-sidebar .login-btn {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
}

.left-sidebar .login-btn:hover {
    background-color: #1d4ed8;
    color: white;
}

/* Header - Fixed Top */
.header {
    position: fixed;
    top: 0;
    left: 0px;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.header .logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.header .logo-icon {
    background-color: #2563eb;
    color: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1);
}

.header .logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
    margin: 0;
}

.header .logo-text .care {
    color: #2563eb;
}

.header .logo-text span {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.header .nav-links {
    display: none;
    align-items: center;
    gap: 32px;
}

.header .nav-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.header .nav-links a:hover,
.header .nav-links a.active {
    color: #2563eb;
}

.header .nav-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

.header .btn-book {
    background-color: #eff6ff;
    color: #2563eb;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header .btn-book:hover {
    background-color: #dbeafe;
    color: #2563eb;
}

.header .btn-login {
    background-color: #0f172a;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header .btn-login:hover {
    background-color: #1e293b;
    color: white;
}

.header .mobile-menu-btn {
    display: block;
    padding: 8px;
    color: #475569;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mobile-menu.show {
    display: block;
}

.mobile-menu .mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu .mobile-links a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Hero Search Section - Full Width */
.hero-search-section {
    position: relative;
    padding-top: 128px;
    padding-bottom: 80px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-search-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -10;
    background-image: url('https://images.unsplash.com/photo-1517077304055-6e89abbf09b0?q=80&w=2069&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.hero-search-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    z-index: -9;
}

.hero-search-content {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #eff6ff;
    color: #2563eb;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    border: 1px solid #dbeafe;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.hero-search-section h1 {
    font-size: 48px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-search-section h1 .gradient-text {
    background: linear-gradient(to right, #2563eb, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-search-section .subtitle {
    font-size: 18px;
    color: #475569;
    margin-bottom: 32px;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.625;
    font-weight: 500;
}

/* Tab Switcher */
.tab-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.tab-container {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    padding: 6px;
    border-radius: 16px;
    display: inline-flex;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s;
    border: none;
    background: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
}

.tab-btn.active {
    background-color: #2563eb;
    color: white;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.tab-btn:not(.active):hover {
    color: #1e293b;
    background-color: #f8fafc;
}

/* Search Box */
.search-container {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 20px 160px 20px 56px;
    background-color: white;
    border: 2px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 8px 30px rgba(0, 0, 0, 0.12);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 24px;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #0f172a;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.search-btn:hover {
    background-color: #2563eb;
}

.search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error-message {
    position: absolute;
    bottom: -64px;
    left: 0;
    right: 0;
    padding: 12px;
    background-color: #fef2f2;
    color: #dc2626;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #fecaca;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.error-message.show {
    display: flex;
}

.warranty-result-card {
    margin-top: 80px;
    background-color: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.warranty-result-card .warranty-icon.valid {
    color: #22c55e;
}

.warranty-result-card .warranty-icon.invalid {
    color: #ef4444;
}

/* About Section */
.about-section {
    padding: 80px 32px;
    background-color: white;
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image .blur-circle {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 288px;
    height: 288px;
    background-color: #dbeafe;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.5;
    z-index: 0;
}

.about-image img {
    position: relative;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 10;
    border: 1px solid #f1f5f9;
    width: 100%;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-image .badge-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background-color: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 20;
    border: 1px solid #f1f5f9;
}

.about-image .badge-card .badge-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-image .badge-card .number {
    width: 48px;
    height: 48px;
    background-color: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.about-text .label {
    color: #2563eb;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 8px;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
}

.about-text p {
    font-size: 18px;
    color: #475569;
    line-height: 1.625;
    margin-bottom: 24px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature .check-icon {
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 20px;
}

.about-feature p {
    margin: 0;
    font-size: 15px;
    color: #334155;
}

.about-feature p strong {
    color: #0f172a;
    font-weight: 700;
}

/* Services Section */
.services-section {
    padding: 80px 32px;
    background-color: #f8fafc;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.section-label {
    color: #2563eb;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 8px;
}

.services-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 48px;
    letter-spacing: -0.025em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background-color: white;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    transition: transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: left;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.15), 0 8px 10px -6px rgba(37, 99, 235, 0.1);
    transform: translateY(-8px);
    border-color: transparent;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card .icon {
    width: 48px;
    height: 48px;
    background-color: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 24px;
    margin-bottom: 16px;
    transition: background-color 0.2s, color 0.2s;
}

.service-card:hover .icon {
    background-color: #2563eb;
    color: white;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Policy Section */
.policy-section {
    padding: 80px 32px;
    background-color: white;
}

.policy-container {
    max-width: 1280px;
    margin: 0 auto;
}

.policy-card {
    background-color: #0f172a;
    border-radius: 24px;
    padding: 64px;
    color: white;
    position: relative;
    overflow: hidden;
}

.policy-card::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background-color: #2563eb;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.2;
}

.policy-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.policy-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
}

.policy-text h2 .highlight {
    color: #60a5fa;
}

.policy-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.7;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.policy-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.policy-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.policy-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

.policy-image img {
    width: 100%;
    border-radius: 16px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    transform: rotate(3deg);
    transition: transform 0.5s;
    height: 400px;
    object-fit: cover;
}

.policy-image:hover img {
    transform: rotate(0deg);
}

/* Contact Section */
.contact-section {
    padding: 80px 32px;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background-color: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.contact-card .icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.contact-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.map-container {
    background-color: white;
    padding: 8px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.map-content {
    width: 100%;
    height: 100%;
    background-color: #f1f5f9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=2074&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
}

.map-form-card {
    background-color: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 10;
    position: relative;
    text-align: center;
    max-width: 448px;
    width: 100%;
    margin: 0 16px;
}

.map-form-card h4 {
    font-weight: 700;
    color: #0f172a;
    font-size: 24px;
    margin-bottom: 8px;
}

.map-form-card p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.map-form-card input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    margin-bottom: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.map-form-card input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.5);
}

.map-form-card button {
    width: 100%;
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.map-form-card button:hover {
    background-color: #1d4ed8;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 32px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* Responsive */
@media (min-width: 768px) {
    .header .nav-links,
    .header .nav-actions {
        display: flex;
    }
    
    .header .mobile-menu-btn {
        display: none;
    }
}

@media (max-width: 1024px) {
    body {
        padding-left: 0;
    }
    
    .left-sidebar {
        display: none;
    }
    
    .header {
        left: 0;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .policy-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-search-section h1 {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Custom Animations & Glassmorphism Updates */
.search-container.glass-panel {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 9999px;
    padding: 8px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.hero-search-section::after {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #0f172a;
    animation: typing 1.5s steps(40, end), blink-caret .75s step-end infinite;
    max-width: fit-content;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #0f172a; }
}

