/* ==========================================================================
   M3 - Microsoft 365 Landing Page | Azure Horizon Light Theme
   HITC (Hanoi Telecom International) - CSP Partner
   ========================================================================== */

/* 1. CSS Custom Properties
   ========================================================================== */
:root {
    /* Azure Brand Palette */
    --azure-50:  hsl(210, 100%, 97%);
    --azure-100: hsl(210, 96%, 93%);
    --azure-200: hsl(210, 93%, 85%);
    --azure-500: hsl(210, 100%, 45%);
    --azure-600: hsl(210, 100%, 38%);
    --azure-700: hsl(210, 100%, 28%);

    /* Accent Colors */
    --emerald: hsl(160, 84%, 39%);
    --emerald-light: hsl(160, 50%, 94%);
    --amber: hsl(38, 92%, 50%);
    --amber-light: hsl(38, 80%, 95%);
    --red-500: hsl(0, 84%, 60%);

    /* Neutral Slate Scale */
    --slate-50:  hsl(210, 40%, 98%);
    --slate-100: hsl(214, 32%, 91%);
    --slate-200: hsl(213, 27%, 84%);
    --slate-300: hsl(215, 20%, 65%);
    --slate-500: hsl(215, 16%, 47%);
    --slate-700: hsl(215, 25%, 27%);
    --slate-900: hsl(222, 47%, 11%);
    --white: #ffffff;

    /* Semantic Tokens */
    --bg-page: var(--slate-50);
    --bg-card: var(--white);
    --text-heading: var(--slate-900);
    --text-body: var(--slate-700);
    --text-muted: var(--slate-500);
    --border-color: hsl(214, 32%, 91%);
    --border-hover: hsla(210, 100%, 45%, 0.3);

    /* Shadows (azure-tinted, not pure black) */
    --shadow-sm: 0 1px 3px hsla(210, 50%, 30%, 0.06);
    --shadow-md: 0 4px 16px hsla(210, 50%, 30%, 0.08);
    --shadow-lg: 0 12px 40px hsla(210, 50%, 30%, 0.1);
    --shadow-xl: 0 20px 50px hsla(210, 100%, 45%, 0.1);

    /* Typography */
    --font-heading: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
    --font-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;

    /* Motion */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --max-width: 1200px;
    --header-height: 72px;
}

/* 2. Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-page);
    color: var(--text-body);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-azure-tint {
    background-color: var(--azure-50);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.text-gradient {
    background: linear-gradient(135deg, var(--azure-500), hsl(250, 65%, 52%), var(--emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--azure-600);
    background-color: var(--azure-50);
    border: 1px solid var(--azure-200);
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.bg-azure-tint .section-tag {
    background-color: var(--white);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.02rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 4. Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
    text-decoration: none;
    line-height: 1;
    padding: 12px 24px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--azure-500), var(--azure-600));
    color: var(--white);
    box-shadow: 0 4px 15px hsla(210, 100%, 45%, 0.25);
    border-color: hsla(210, 100%, 60%, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px hsla(210, 100%, 45%, 0.4), 0 0 15px hsla(210, 100%, 60%, 0.5);
    filter: brightness(1.1);
}

.btn-outline {
    background-color: var(--white);
    color: var(--text-heading);
    border-color: var(--border-color);
}

.btn-outline:hover {
    border-color: var(--azure-500);
    color: var(--azure-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 14px 30px;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

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

/* 5. Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: hsla(210, 40%, 98%, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-fast);
}

.header.scrolled {
    height: 62px;
    background-color: hsla(0, 0%, 100%, 0.95);
    box-shadow: var(--shadow-md);
}

.header.hidden {
    transform: translateY(-100%);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-divider {
    width: 1px;
    height: 18px;
    background-color: var(--slate-200);
}

.logo-ms-partner {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-ms-text {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-img {
    height: 34px;
    width: auto;
    transition: transform var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.03);
}

.nav-list {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--azure-500);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--text-heading);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle .bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-heading);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* 6. Hero Section
   ========================================================================== */
.hero {
    padding-top: calc(var(--header-height) + 56px);
    padding-bottom: 72px;
    background: linear-gradient(180deg, var(--azure-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, hsla(210, 100%, 80%, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.badge-azure {
    display: inline-flex;
    align-items: center;
    background-color: var(--white);
    border: 1px solid var(--azure-200);
    color: var(--azure-600);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 28px;
    line-height: 1.65;
    max-width: 520px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.5;
}

.hero-features .check-icon {
    flex-shrink: 0;
    color: var(--emerald);
    margin-top: 2px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}

.cta-trust-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* 7. Floating Cards (Hero Visual)
   ========================================================================== */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cards-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    z-index: 2;
}

.floating-card:hover {
    transform: scale(1.08) !important;
    box-shadow: var(--shadow-xl);
}

.floating-card span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-heading);
}

.floating-card svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.floating-card.card-1 {
    top: 8%;
    left: 8%;
    animation: float-1 6s ease-in-out infinite;
}

.floating-card.card-2 {
    top: 4%;
    right: 8%;
    animation: float-2 7s ease-in-out infinite;
}

.floating-card.card-3 {
    bottom: 18%;
    left: 12%;
    animation: float-3 8s ease-in-out infinite;
}

.floating-card.card-4 {
    bottom: 8%;
    right: 6%;
    animation: float-4 5.5s ease-in-out infinite;
}

.floating-card.card-5 {
    top: 44%;
    right: 2%;
    animation: float-5 6.5s ease-in-out infinite;
}

.hero-ms-logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    z-index: 1;
    animation: pulse-logo 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-ms-logo-center svg {
    width: 100%;
    height: 100%;
}

@keyframes float-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(-2.5deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1.5deg); }
}

@keyframes float-4 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(-1.8deg); }
}

@keyframes float-5 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(2.5deg); }
}

@keyframes pulse-logo {
    0%, 100% { opacity: 0.1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.18; transform: translate(-50%, -50%) scale(1.05); }
}

/* 8. Trust Section
   ========================================================================== */
.trust-section {
    padding: 36px 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
}

.trust-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.trust-title {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.trust-logos {
    display: flex;
    gap: 36px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-logo-item {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    opacity: 0.45;
    transition: opacity var(--transition-fast);
    white-space: nowrap;
}

.trust-logo-item:hover {
    opacity: 0.85;
}

/* 9. Benefits Section
   ========================================================================== */
.benefits-section {
    background-color: var(--bg-page);
}

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

.benefit-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.benefit-card:hover::before {
    background: linear-gradient(135deg, var(--azure-400), var(--emerald));
    opacity: 1;
}

.benefit-icon-row {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.benefit-icon-row svg {
    width: 36px;
    height: 36px;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* 10. Pricing Section
   ========================================================================== */
.pricing-section {
    background: var(--white);
}


/* Calculator Box */
.calculator-box {
    background: var(--azure-50);
    border: 1px solid var(--azure-200);
    border-radius: 16px;
    padding: 26px 30px;
    margin: 36px auto;
    max-width: 680px;
}

.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calculator-header h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-heading);
}

.user-count-display {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--azure-500);
}

/* Range Slider */
.user-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--slate-200);
    outline: none;
    transition: var(--transition-fast);
}

.user-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--azure-500);
    cursor: pointer;
    box-shadow: 0 2px 8px hsla(210, 100%, 45%, 0.3);
    transition: transform var(--transition-fast);
}

.user-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.user-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--azure-500);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px hsla(210, 100%, 45%, 0.3);
}

.slider-marks {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 8px;
    padding: 0 2px;
}

.discount-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--emerald-light);
    border-radius: 8px;
    margin-top: 14px;
    font-size: 0.84rem;
    color: var(--emerald);
    font-weight: 500;
    transition: opacity var(--transition-fast);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 48px hsla(210, 50%, 30%, 0.15);
    border-color: var(--azure-200);
    z-index: 2;
}

.pricing-card.popular {
    border-color: var(--azure-500);
    box-shadow: 0 8px 30px hsla(210, 100%, 45%, 0.12);
}

.pricing-card.popular:hover {
    transform: translateY(-14px) scale(1.04);
    box-shadow: 0 32px 64px hsla(210, 100%, 45%, 0.2);
    border-color: var(--azure-600);
}

/* Hiệu ứng làm mờ các gói khác khi di chuột vào một gói */
.pricing-grid:hover .pricing-card:not(:hover) {
    opacity: 0.75;
    transform: scale(0.98);
}

.popular-ribbon {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--azure-500), var(--azure-600));
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 0 0 10px 10px;
    letter-spacing: 0.3px;
}

.pricing-card-header {
    margin-bottom: 20px;
}

.pricing-card-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--azure-600);
    background-color: var(--azure-50);
    border: 1px solid var(--azure-100);
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 12px;
    width: fit-content;
}

.pricing-card-logo svg {
    flex-shrink: 0;
}

.pricing-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.pricing-tagline {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.pricing-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.pricing-features li {
    font-size: 0.85rem;
    color: var(--text-body);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.pricing-features .feat-check {
    flex-shrink: 0;
    color: var(--emerald);
    margin-top: 2px;
}

/* Enterprise Notice */
.enterprise-notice {
    background: var(--azure-50);
    border: 1px solid var(--azure-200);
    border-radius: 16px;
    padding: 28px 32px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.enterprise-notice .btn {
    flex-shrink: 0;
}

.enterprise-notice h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-heading);
    font-size: 1rem;
    margin-bottom: 4px;
}

.enterprise-notice p {
    font-size: 0.88rem;
    color: var(--text-body);
}

/* 11. Process + FAQ Section
   ========================================================================== */
.process-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.process-content .section-tag,
.faq-content .section-tag {
    display: inline-block;
}

.process-content .section-title,
.faq-content .section-title {
    font-size: 1.6rem;
    text-align: left;
    margin-bottom: 28px;
}

/* Step Cards */
.step-card {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 14px;
    transition: all var(--transition-fast);
}

.step-card:hover {
    border-color: var(--azure-500);
    box-shadow: var(--shadow-md);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--azure-500), var(--azure-600));
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-body h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.step-body p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* FAQ Accordion */
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    background: var(--white);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--azure-200);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 18px;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    transition: background var(--transition-fast);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.4;
    gap: 12px;
}

.faq-question:hover {
    background: var(--azure-50);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--azure-500);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer p {
    padding: 0 18px 16px;
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* 12. Contact Section
   ========================================================================== */
.contact-section {
    background: var(--bg-page);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.contact-info .section-tag {
    display: inline-block;
}

.contact-info .section-title {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 12px;
}

.contact-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 28px;
    line-height: 1.65;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-detail-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    color: var(--azure-500);
    margin-top: 2px;
}

.contact-detail-item strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.84rem;
    color: var(--text-heading);
    margin-bottom: 2px;
}

.contact-detail-item span,
.contact-detail-item div {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.5;
}

.contact-detail-item a {
    color: var(--azure-500);
}

.contact-detail-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.calc-service-banner {
    background: var(--azure-50);
    border: 1px solid var(--azure-200);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.84rem;
    color: var(--azure-600);
    margin-bottom: 18px;
    min-height: 20px;
}

.calc-service-banner:empty {
    display: none;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-heading);
    background: var(--white);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--azure-500);
    box-shadow: 0 0 0 3px hsla(210, 100%, 45%, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-300);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--red-500);
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    color: var(--red-500);
    margin-top: 4px;
}

.form-group.has-error .error-msg {
    display: block;
}

/* Form Success */
.form-success-banner {
    align-items: center;
    gap: 16px;
    background: var(--emerald-light);
    border: 1px solid hsla(160, 84%, 39%, 0.2);
    border-radius: 14px;
    padding: 28px;
}

.form-success-banner h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--emerald);
    font-size: 1rem;
    margin-bottom: 6px;
}

.form-success-banner p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* 13. Footer
   ========================================================================== */
.footer {
    background-color: var(--slate-900);
    color: var(--slate-300);
    padding: 56px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
}

.footer-logo-img {
    height: 30px;
    margin-bottom: 14px;
    filter: brightness(0) invert(1) opacity(0.8);
}

.footer-brand-desc {
    font-size: 0.84rem;
    line-height: 1.65;
    color: var(--slate-300);
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.84rem;
    color: var(--slate-300);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    font-size: 0.84rem;
    line-height: 1.7;
    color: var(--slate-300);
}

.footer-contact a {
    color: var(--azure-200);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 36px;
    padding: 18px 0;
    border-top: 1px solid hsla(0, 0%, 100%, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--slate-500);
}

.footer-social {
    color: var(--slate-500);
    transition: color var(--transition-fast);
}

.footer-social:hover {
    color: var(--white);
}

/* 14. Floating Elements
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--azure-500);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--azure-600);
    transform: translateY(-2px);
}

.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--azure-500), var(--azure-600));
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.84rem;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 25px hsla(210, 100%, 45%, 0.3);
    transition: all var(--transition-fast);
    z-index: 999;
    text-decoration: none;
}

.floating-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px hsla(210, 100%, 45%, 0.4);
}

/* 15. Scroll Reveal
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 16. Responsive
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .process-faq-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .enterprise-notice {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--white);
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-fast);
        padding: 16px 24px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 0.95rem;
    }

    .nav-link::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-actions .btn-sm {
        display: none;
    }

    .hero {
        padding-top: calc(var(--header-height) + 36px);
        padding-bottom: 56px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .trust-logos {
        gap: 20px;
    }

    .trust-logo-item {
        font-size: 0.88rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .floating-cta {
        bottom: 16px;
        right: 16px;
        font-size: 0.8rem;
        padding: 10px 16px;
    }

    .back-to-top {
        bottom: 70px;
        right: 16px;
    }

    .pricing-card {
        padding: 24px;
    }

    .calculator-box {
        padding: 20px;
    }

    .contact-form-card {
        padding: 24px;
    }

    .contact-info .section-title,
    .process-content .section-title,
    .faq-content .section-title {
        font-size: 1.4rem;
    }

    .step-card {
        padding: 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-features li {
        font-size: 0.85rem;
    }

    .price-amount {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 16px;
    }
}

/* ==========================================================================
   F6 FEATURES CSS INTEGRATION
   ========================================================================== */

/* Service Hint */
.service-hint {
    background: var(--azure-50);
    border: 1px solid var(--azure-200);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--azure-700);
    margin-bottom: 16px;
    line-height: 1.4;
}

.service-hint strong {
    color: var(--azure-600);
}

/* Popup Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1; visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    width: 100%; max-width: 500px;
    padding: 32px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--slate-100);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--slate-500);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--slate-200);
    color: var(--slate-900);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.35rem; font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 6px; padding-right: 30px;
}

.modal-subtitle {
    font-size: 0.85rem; color: var(--text-muted);
    margin-bottom: 20px; line-height: 1.5;
}

/* Sticky Bottom CTA Bar */
.sticky-cta-bar {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--azure-200);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 998;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 0;
}

.sticky-cta-bar.show {
    transform: translateY(0);
    opacity: 1;
}

.sticky-cta-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
}

.sticky-cta-text {
    font-family: var(--font-heading);
    font-size: 0.9rem; font-weight: 600;
    color: var(--text-heading);
    display: flex; align-items: center; gap: 10px;
}

.live-pulse-dot {
    width: 8px; height: 8px;
    background: var(--emerald);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 124, 65, 0.7);
    animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(16, 124, 65, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 124, 65, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 124, 65, 0); }
}

.text-highlight {
    color: var(--azure-600);
    font-weight: 700;
}

@media (max-width: 768px) {
    .sticky-cta-text span:last-child {
        font-size: 0.82rem;
    }
    .sticky-cta-container {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 8px;
    }
    .sticky-cta-text {
        justify-content: center;
    }
}
