:root {
    /* Gia Viet Brand Colors (Royal Blue & Red) */
    --gv-blue-dark: #002266;
    --gv-blue-primary: #003D99;
    --gv-blue-light: #005ce6;
    --gv-red-primary: #D32F2F;
    --gv-red-light: #E53935;
    
    --text-main: #334155;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --white: #FFFFFF;
    --background: #F8FAFC;
    
    /* UI Constants */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 92, 230, 0.1);
    --glass-border: 1px solid rgba(0, 92, 230, 0.1);

    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-headline: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Material Icons configuration */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
    color: var(--gv-blue-dark);
    line-height: 1.2;
}

.font-headline {
    font-family: var(--font-headline);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.highlight {
    color: var(--gv-red-primary);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
}

.section-padding {
    padding: 80px 0;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 48px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gv-blue-light);
    letter-spacing: 1px;
    background: rgba(0, 180, 216, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 800;
}

.section-title span {
    color: var(--gv-red-primary);
}

.hidden {
    display: none !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    font-family: var(--font-headline);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gv-blue-primary) 0%, var(--gv-blue-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 92, 230, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 92, 230, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--gv-red-primary) 0%, var(--gv-red-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(217, 54, 62, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 54, 62, 0.4);
}

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

.btn-outline:hover {
    background: rgba(0, 92, 230, 0.05);
}

.btn-text {
    color: var(--gv-blue-primary);
    font-weight: 600;
}

.btn-text:hover {
    color: var(--gv-blue-light);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gv-blue-dark);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 600;
    color: var(--gv-blue-dark);
}

.nav-links a:hover {
    color: var(--gv-blue-primary);
}

.nav-action {
    display: flex;
    gap: 16px;
}

/* Top Countdown Banner */
.countdown-banner {
    background: var(--gv-red-primary);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.countdown-timer-inline {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-family: monospace;
    font-weight: bold;
    font-size: 15px;
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #F8FAFC 0%, #E0F2FE 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-main);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    animation: floatImage 6s ease-in-out infinite;
}

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

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--gv-blue-dark);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0,0,0,0.05);
}

.badge-1 {
    top: 40px;
    right: -20px;
    color: var(--gv-blue-primary);
}

.badge-2 {
    bottom: 40px;
    left: -20px;
    color: var(--gv-red-primary);
}

/* Highlights */
.highlights {
    padding: 40px 0;
    background: white;
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--background);
    border: 1px solid rgba(0, 92, 230, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 92, 230, 0.15);
}

.highlight-item .icon-wrapper {
    background: rgba(0, 92, 230, 0.1);
    color: var(--gv-blue-primary);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-item h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    font-weight: 800;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 92, 230, 0.05) 0%, rgba(0, 180, 216, 0.05) 100%);
}

.pricing-calculator {
    padding: 36px 40px;
    border-top: 5px solid var(--gv-red-primary);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 36px rgba(0, 61, 153, 0.08);
}

/* Toggle Switch Styling */
.toggle-switch {
    display: flex;
    position: relative;
    background: rgba(0, 21, 51, 0.05);
    border-radius: 30px;
    padding: 4px;
    margin: 24px 0;
}

.toggle-switch input[type="radio"] {
    display: none;
}

.toggle-switch label {
    flex: 1;
    text-align: center;
    padding: 12px 24px;
    cursor: pointer;
    z-index: 2;
    font-weight: 700;
    color: var(--gv-blue-dark);
    transition: color 0.3s;
}

.toggle-switch .slider {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: white;
    border-radius: 26px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
}

#type-group:checked ~ .slider {
    transform: translateX(100%);
}

#type-individual:checked ~ label[for="type-individual"],
#type-group:checked ~ label[for="type-group"] {
    color: var(--gv-blue-primary);
}

.group-size-control {
    margin-top: 24px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}

.counter {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
}

.counter button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gv-blue-light);
    background: transparent;
    color: var(--gv-blue-primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter input {
    width: 80px;
    height: 40px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--gv-blue-dark);
}

.calc-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.original-price {
    display: block;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.final-price {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-headline);
    color: var(--gv-red-primary);
    line-height: 1;
    margin-bottom: 16px;
}

.final-price .unit {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
}

.savings-badge {
    display: inline-block;
    background: rgba(217, 54, 62, 0.1);
    color: var(--gv-red-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
}

.total-summary {
    margin-bottom: 32px;
    padding-top: 24px;
    border-top: 1px dashed rgba(0,0,0,0.1);
}

.total-summary h4 {
    font-size: 1.75rem;
    margin-top: 8px;
    color: var(--gv-blue-primary);
}

/* Roadmap */
.roadmap-section {
    padding: 80px 0;
    background: white;
}

.roadmap-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    background: var(--background);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50px;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn.active {
    background: var(--gv-blue-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 92, 230, 0.3);
}

.roadmap-content {
    display: none;
    animation: fadeIn 0.5s;
}

.roadmap-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.roadmap-card {
    display: flex;
    gap: 40px;
    padding: 40px;
    border-left: 5px solid var(--gv-blue-primary);
}

.phase-number {
    font-size: 5rem;
    font-weight: 800;
    font-family: var(--font-headline);
    color: rgba(0, 92, 230, 0.1);
    line-height: 1;
}

.phase-details h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    font-weight: 800;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.feature-list li .material-symbols-outlined {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gv-red-primary);
}

/* Registration */
.register-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #E0F2FE 100%);
    border-top: 1px solid var(--glass-border);
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-item .material-symbols-outlined {
    background: rgba(0, 92, 230, 0.1);
    color: var(--gv-blue-primary);
    padding: 12px;
    border-radius: 50%;
}

.form-container {
    padding: 40px;
    border-top: 5px solid var(--gv-blue-primary);
}

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

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

.form-group input, .form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: border-color 0.3s;
    background: white;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--gv-blue-primary);
}

/* Footer */
footer {
    background: var(--gv-blue-dark);
    color: #94a3b8;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-branch h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 12px;
}

.footer-branch p {
    font-size: 0.875rem;
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
}

/* Floating CTAs (Right Side) */
.floating-ctas {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.floating-cta-btn {
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.floating-cta-btn:hover {
    transform: translateX(-5px);
}

.floating-cta-red {
    background: linear-gradient(135deg, var(--gv-red-primary) 0%, #d32f2f 100%);
}

.floating-cta-blue {
    background: linear-gradient(135deg, var(--gv-blue-primary) 0%, var(--gv-blue-light) 100%);
}

/* Toast */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #10B981;
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transition: bottom 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast.show {
    bottom: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content, .calc-grid, .register-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-action .btn-outline {
        display: none;
    }
    
    .nav-action .btn-primary {
        padding: 8px 16px;
        font-size: 14px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-banner {
        font-size: 12px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .hero {
        padding: 40px 0;
    }
    
    .roadmap-card {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }
    
    .phase-number {
        font-size: 3rem;
    }

    .pricing-calculator {
        padding: 24px;
    }
    
    .calc-result {
        padding: 20px;
    }
    
    .final-price {
        font-size: 2.2rem;
    }
    
    .roadmap-tabs {
        flex-direction: column;
        gap: 12px;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
}
