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

body {
    font-family: "Inter", sans-serif;
    background-color: #0d1528;
    color: #c5cad0;
}

/* CSS Variables - giống như trong dự án gốc */
:root {
    --primary-green: #0A9345;
    --secondary-green: #00AD4B;
    --tertiary-green: #02BE53;
    --primary-ocean-blue: #1699C2;
    --secondary-ocean-blue: #32B6DF;
    --tertiary-ocean-blue: #7ED2EC;
    --primary-yellow: #F4A100;
    --secondary-yellow: #FFFCF0;
    --tertiary-yellow: #FFD339;
    --dark-yellow: #D88F02;
    --primary-red: #B7342F;
    --secondary-red: #EC0900;
    --tertiary-red: #FD5D57;
    --primary-black: #1E1E1E;
    --secondary-black: #3D3D3D;
    --tertiary-black: #616161;
    --gray: #808080;
    --light-gray: #E2E2E2;
    --light-grey: #fafafa;
    --primary-purple: #476FFF;
}

/* Typography */
h1 {
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
}

h2 {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
}

h3 {
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
}

h4 {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
}

h5 {
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
}

/* Utility Classes */
.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.flex-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Main Container - giống như layout của trang login */
.main-container {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("desktop.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 24px;
    position: relative;
}

.main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 21, 40, 0.8);
    pointer-events: none;
}

/* Content Card - giống như card login */
.content-card {
    background: #000912;
    padding: 32px;
    width: 100%;
    max-width: 614px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    z-index: 1;
    color: #c5cad0;
}

@media (min-width: 768px) {
    .content-card {
        border: 1px solid #444;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 6px 20px rgba(0, 0, 0, 0.4);
    }
}

/* Logo */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.logo {
    width: 81px;
    height: 81px;
    object-fit: contain;
}

/* Header */
.header-title {
    margin-top: 16px;
    text-transform: uppercase;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 8px;
}

.header-subtitle {
    color: #c5cad0;
    font-size: 14px;
    margin-bottom: 32px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: #0d1528;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #444;
    color: #c5cad0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 4px 10px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 8px 15px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3);
}

.feature-card:hover .feature-icon {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4), 0 3px 8px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-title {
    color: #c5cad0;
    margin-bottom: 8px;
}

.feature-description {
    color: #c5cad0;
    font-size: 13px;
    line-height: 1.5;
}

/* Policy Section */
.policy-section {
    margin: 0;
    padding-top: 32px;
    border-top: 1px solid #444;
}

.section-title {
    text-align: center;
    color: #c5cad0;
    margin-bottom: 32px;
    font-size: 20px;
    font-weight: 600;
}

.policy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .policy-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.policy-card {
    background: #0d1528;
    border: 2px solid #444;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #c5cad0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4), 0 3px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.policy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transition: left 0.5s ease;
}

.policy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 8px 15px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-green);
}

.policy-card:hover::before {
    left: 100%;
}

.policy-card:nth-child(1):hover {
    border-color: var(--primary-ocean-blue);
}

.policy-card:nth-child(2):hover {
    border-color: var(--primary-yellow);
}

.policy-card:nth-child(3):hover {
    border-color: var(--primary-red);
}

.policy-icon {
    width: 56px;
    height: 56px;
    background: var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.policy-card:hover .policy-icon {
    transform: scale(1.1);
    background: var(--light-grey);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.policy-card:nth-child(1):hover .policy-icon {
    background: rgba(22, 153, 194, 0.1);
}

.policy-card:nth-child(2):hover .policy-icon {
    background: rgba(244, 161, 0, 0.1);
}

.policy-card:nth-child(3):hover .policy-icon {
    background: rgba(183, 52, 47, 0.1);
}

.policy-title {
    color: #c5cad0;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.policy-description {
    color: #c5cad0;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.policy-link {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 13px;
    transition: color 0.3s ease;
}

.policy-card:nth-child(1) .policy-link {
    color: var(--primary-ocean-blue);
}

.policy-card:nth-child(2) .policy-link {
    color: var(--primary-yellow);
}

.policy-card:nth-child(3) .policy-link {
    color: var(--primary-red);
}

.policy-card:hover .policy-link {
    text-decoration: underline;
}

/* Simple Policy Grid - Clean Layout */
.policy-grid-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

@media (min-width: 576px) {
    .policy-grid-simple {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (min-width: 768px) {
    .policy-grid-simple {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }
}

.policy-item-simple {
    background: linear-gradient(135deg, #0d1528 0%, #1a1f2e 100%);
    border: 1px solid #3f4956;
    border-radius: 8px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #c5cad0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-item-simple::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    transition: width 0.3s ease;
}

.policy-item-simple:hover::before {
    width: 100%;
}

.policy-item-simple:hover {
    transform: translateY(-2px);
    border-color: var(--primary-green);
    background: linear-gradient(135deg, #1a1f2e 0%, #0d1528 100%);
    box-shadow: 0 4px 16px rgba(10, 147, 69, 0.15), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.policy-title-simple {
    font-size: 13px;
    font-weight: 600;
    color: #c5cad0;
    line-height: 1.4;
    text-align: center;
    transition: color 0.3s ease;
}

.policy-item-simple:hover .policy-title-simple {
    color: var(--primary-green);
}

/* Responsive adjustments for simple layout */
@media (max-width: 480px) {
    .policy-grid-simple {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .policy-item-simple {
        padding: 14px 10px;
        min-height: 50px;
    }
    
    .policy-title-simple {
        font-size: 12px;
        line-height: 1.3;
    }
}

/* Statistics */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0 24px 0;
    padding: 24px;
    background: #0d1528;
    border-radius: 8px;
    border: 1px solid #444;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 3px 8px rgba(0, 0, 0, 0.3);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #c5cad0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .policy-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .policy-card {
        padding: 20px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 24px;
    }
}

/* Action Section */
.action-section {
    margin-bottom: 40px;
}

.web-platforms {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.app-downloads {
    text-align: center;
    margin-bottom: 24px;
}

.download-title {
    color: #c5cad0;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.contact-section {
    display: flex;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    min-width: 140px;
}

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

.btn-primary:hover {
    background: var(--secondary-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 147, 69, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 147, 69, 0.3);
}

/* Web Platform Buttons */
.btn-shipper {
    background: var(--primary-ocean-blue);
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-shipper:hover {
    background: var(--secondary-ocean-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 153, 194, 0.3);
}

.btn-carrier {
    background: var(--tertiary-green);
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-carrier:hover {
    background: var(--secondary-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 190, 83, 0.3);
}

/* Download Buttons */
.btn-download {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.btn-download.android {
    background: #c5cad0;
    color: #01875f;
    border-color: #01875f;
}

.btn-download.android:hover {
    background: #01875f;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 135, 95, 0.3);
}

.btn-download.ios {
    background: #c5cad0;
    color: #007AFF;
    border-color: #007AFF;
}

.btn-download.ios:hover {
    background: #007AFF;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        padding: 16px;
        align-items: flex-start;
        padding-top: 60px;
    }
    
    .content-card {
        padding: 24px;
    }
    
    .web-platforms {
        flex-direction: column;
        align-items: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn,
    .btn-download {
        width: 100%;
        max-width: 280px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card,
.policy-card,
.stats-container,
.action-section {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.policy-card:nth-child(1) { animation-delay: 0.6s; }
.policy-card:nth-child(2) { animation-delay: 0.7s; }
.policy-card:nth-child(3) { animation-delay: 0.8s; }

.stats-container { animation-delay: 0.5s; }
.action-section { animation-delay: 0.5s; }

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0d1528 0%, #1a1f2e 100%);
    border-top: 1px solid #3f4956;
    margin-top: 60px;
    padding: 40px 0 20px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3.footer-company-name {
    color: var(--primary-green);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-section h3.footer-company-name::before {
    content: "🏢";
    margin-right: 10px;
    font-size: 18px;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-item svg {
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-item span {
    color: #c5cad0;
    font-size: 13px;
}

.footer-item strong {
    color: var(--primary-ocean-blue);
    font-weight: 600;
}

.footer-link {
    color: var(--primary-ocean-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--secondary-ocean-blue);
    text-decoration: underline;
}

.footer-legal {
    padding-left: 20px;
    border-left: 2px solid #3f4956;
}

.footer-bottom {
    border-top: 1px solid #3f4956;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright,
.footer-powered {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #8892b0;
}

.footer-copyright svg {
    margin-right: 8px;
}

.footer-powered {
    font-style: italic;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        margin-top: 40px;
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 20px;
    }
    
    .footer-legal {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid #3f4956;
        padding-top: 20px;
    }
    
    .footer-section h3.footer-company-name {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-item {
        margin-bottom: 10px;
    }
    
    .footer-item span {
        font-size: 13px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .footer-section h3.footer-company-name {
        font-size: 14px;
        line-height: 1.2;
    }
    
    .footer-section h3.footer-company-name::before {
        font-size: 14px;
        margin-right: 8px;
    }
}