:root {
    --primary: #F05123;
    --primary-dark: #D4421A;
    --secondary: #142850;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--secondary);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    color: var(--dark);
}

h1 span {
    color: var(--primary);
}

h2 {
    font-size: 2.5rem;
}

p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(240, 81, 35, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
}

.floating-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

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

.badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(240, 81, 35, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Sections */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light);
}

.bg-dark {
    background-color: var(--secondary);
    color: var(--white);
}

.bg-dark h2 {
    color: var(--white);
}

.bg-dark p {
    color: #cbd5e1;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Grid & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Solution */
.solution-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.solution-image {
    flex: 1;
}

.solution-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.solution-text {
    flex: 1;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--dark);
}

/* Forms */
.form-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.form-text, .form-box {
    flex: 1;
}

.form-box {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(240, 81, 35, 0.1);
}

.form-note {
    font-size: 0.85rem;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-content, .solution-content, .form-container {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .hero, .section {
        padding: 50px 0;
    }
}

/* Floating Widgets */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.widget-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    font-size: 24px;
    color: white;
}

.widget-btn:hover {
    transform: scale(1.15);
}

.widget-btn img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.widget-btn.zalo {
    background-color: #0068ff;
}

.widget-btn.messenger {
    background: linear-gradient(45deg, #0695FF, #A334FA, #FF6968);
}

.widget-btn.hotline {
    background-color: #28a745;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}
