/* ===== LANDING PAGE - CAO HÙNG TECH ===== */

/* ===== HEADER ===== */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 12px 0;
}

.landing-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
}

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.landing-header .landing-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.landing-logo-full {
    height: 96px;
    width: auto;
    display: block;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.landing-header.scrolled .landing-logo-full {
    height: 84px;
}

.landing-logo-mark {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 8px rgba(230, 126, 0, 0.28));
}

.logo-name {
    display: block;
    font-weight: 700;
    font-size: 18px;
    color: #f5a623;
    line-height: 1.2;
}

.logo-slogan {
    display: block;
    font-size: 11px;
    color: #888;
}

.landing-nav {
    display: flex;
    gap: 8px;
}

.landing-nav .nav-link {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    transition: all 0.2s;
}

.landing-nav .nav-link:hover {
    background: #fff3e0;
    color: #e67e00;
}

.landing-nav .nav-link.active {
    background: #e67e00;
    color: #fff;
}

.btn-login {
    padding: 8px 20px;
    background: linear-gradient(135deg, #f5a623, #e67e00);
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-login:hover {
    background: linear-gradient(135deg, #e67e00, #cc6d00);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 126, 0, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
    padding-top: 70px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23e67e00;stop-opacity:0.08"/><stop offset="100%" style="stop-color:%23e67e00;stop-opacity:0.02"/></linearGradient></defs><circle cx="20" cy="20" r="30" fill="url(%23g)"/><circle cx="80" cy="70" r="40" fill="url(%23g)"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: #f5a623;
}

.hero-desc {
    max-width: 600px;
    margin: 0 auto 35px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 0;
}

.btn-hero-primary {
    padding: 14px 32px;
    background: linear-gradient(135deg, #f5a623, #e67e00);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 0, 0.4);
}

.btn-hero-outline {
    padding: 14px 32px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #f5a623;
    color: #f5a623;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 36px;
    color: #f5a623;
    font-weight: 700;
}

.stat-item span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== SECTIONS ===== */
.landing-section {
    padding: 80px 0;
    position: relative;
}

/* Giới thiệu — nền kem nhẹ gradient */
.landing-section#about {
    background: linear-gradient(180deg, #fffaf0 0%, #fff7e6 100%);
}

/* Dịch vụ — nền xám nhạt pha cam */
.landing-section.section-alt {
    background: linear-gradient(135deg, #fef9f0 0%, #f5f0e8 50%, #fef5e7 100%);
}

/* Quy trình — nền kem gradient nhẹ */
.landing-section#process {
    background: linear-gradient(180deg, #fffaf0 0%, #fff7e6 100%);
}

/* Liên hệ — nền tối ấm */
.landing-section#contact {
    background: linear-gradient(180deg, #1a1a2e 0%, #1e293b 100%);
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 34px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f5a623, #e67e00);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

/* Dark section overrides */
#contact .section-header h2 {
    color: #fff;
}

#contact .section-header p {
    color: rgba(255,255,255,0.6);
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
    align-items: start;
}

.about-text h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.about-text > p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #fff3e0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item strong {
    display: block;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.about-card {
    background: linear-gradient(135deg, #203b63 0%, #1f4978 52%, #18406d 100%);
    color: #fff;
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(20, 44, 76, 0.28);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
}

.about-logo-mark {
    width: 112px;
    height: 106px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 6px 14px rgba(245, 166, 35, 0.42));
}

.about-card h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #f5a623;
}

.about-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(230, 126, 0, 0.1);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #f5a623;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.service-card > p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    padding: 5px 0;
    font-size: 13px;
    color: #555;
    position: relative;
    padding-left: 18px;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* ===== PROCESS ===== */
.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-step {
    text-align: center;
    flex: 0 0 200px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5a623, #e67e00);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.process-step h3 {
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.process-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ddd, #f5a623, #ddd);
    margin-top: 28px;
    flex-shrink: 0;
}

/* ===== WARRANTY ===== */
.warranty-box {
    max-width: 700px;
    margin: 0 auto;
}

.warranty-form {
    margin-bottom: 30px;
}

.warranty-input-group {
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #eee;
    transition: border-color 0.3s;
}

.warranty-input-group:focus-within {
    border-color: #e67e00;
}

.warranty-input-group input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: inherit;
}

.warranty-input-group button {
    padding: 16px 28px;
    background: linear-gradient(135deg, #f5a623, #e67e00);
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s;
    white-space: nowrap;
}

.warranty-input-group button:hover {
    background: linear-gradient(135deg, #e67e00, #cc6d00);
}

.warranty-results {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.warranty-results h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.result-table-wrap {
    overflow-x: auto;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
}

.result-table th,
.result-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.result-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #444;
}

.result-table tr:hover td {
    background: #fef9f0;
}

.landing-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.landing-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.landing-badge.status-processing {
    background: #cce5ff;
    color: #004085;
}

.landing-badge.status-done {
    background: #d4edda;
    color: #155724;
}

.landing-badge.status-returned {
    background: #e2e3e5;
    color: #383d41;
}

.warranty-empty {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #666;
}

.warranty-empty p {
    margin-bottom: 8px;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.contact-card:hover {
    border-color: #f5a623;
    background: rgba(255,255,255,0.12);
    box-shadow: 0 4px 20px rgba(230, 126, 0, 0.15);
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-card h3 {
    font-size: 15px;
    color: #f5a623;
    margin-bottom: 8px;
}

.contact-card p {
    color: rgba(255,255,255,0.95);
    font-size: 14px;
    line-height: 1.6;
}

.contact-card a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-weight: 600;
}

.contact-map {
    min-height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ===== FOOTER ===== */
.landing-footer {
    background: linear-gradient(135deg, #203b63 0%, #1f4978 52%, #18406d 100%);
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.logo-circle-sm {
    width: 112px;
    height: 106px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-circle-sm img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 6px 14px rgba(245, 166, 35, 0.42));
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
    color: #f5a623;
}

.footer-brand > p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    margin-bottom: 8px;
}


.footer-desc {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 15px;
    margin-bottom: 15px;
    color: #f5a623;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links ul li a:hover {
    color: #f5a623;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .process-steps {
        flex-wrap: wrap;
        gap: 20px;
    }

    .process-line {
        display: none;
    }

    .process-step {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .landing-logo-full {
        height: 74px;
    }

    .landing-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 4px;
    }

    .landing-nav.open {
        display: flex;
    }

    .landing-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-item strong {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .process-step {
        flex: 0 0 100%;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .landing-section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .contact-info {
        grid-template-columns: 1fr;
    }

    .warranty-input-group {
        flex-direction: column;
    }

    .warranty-input-group button {
        border-radius: 0;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
}
