/* ======================================================= */
/* ORIN LANDING PAGE - MODERN REDESIGN                     */
/* ======================================================= */

/* --- Google Fonts Import (Vietnamese, English, Chinese Support) --- */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

/* ======================================================= */
/* 1. CSS VARIABLES & ROOT                                  */
/* ======================================================= */

:root {
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Typography */
    --font-display: 'Be Vietnam Pro', 'Noto Sans SC', sans-serif;
    --font-body: 'Be Vietnam Pro', 'Noto Sans SC', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Accent Gradient (shared) */
    --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #5773ff 50%, #ff00e5 100%);
    --gradient-accent: linear-gradient(135deg, #00f0ff 0%, #5773ff 100%);
    --gradient-warm: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    
    /* Accent Colors (shared) */
    --color-accent-cyan: #00f0ff;
    --color-accent-purple: #5773ff;
    --color-accent-pink: #ff00e5;
    --color-accent-gold: #feca57;
}

/* ===== DARK THEME (Default) ===== */
[data-theme="dark"] {
    --color-bg-deep: #0a0a0f;
    --color-bg-main: #0d0d14;
    --color-bg-card: rgba(20, 20, 35, 0.6);
    --color-bg-card-solid: #14141f;
    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0b8;
    --color-text-muted: #6b6b80;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --input-bg: #0a0a0f;
    --divider-color: rgba(255, 255, 255, 0.08);
}

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
    --color-bg-deep: #f8f9fc;
    --color-bg-main: #ffffff;
    --color-bg-card: rgba(255, 255, 255, 0.8);
    --color-bg-card-solid: #ffffff;
    --color-text-primary: #1a1a2e;
    --color-text-secondary: #4a4a68;
    --color-text-muted: #8888a0;
    --glass-bg: rgba(0, 0, 0, 0.02);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --input-bg: #f0f2f5;
    --divider-color: rgba(0, 0, 0, 0.08);
    
    /* Adjusted accent for light mode */
    --color-accent-cyan: #0891b2;
    --color-accent-purple: #4f46e5;
    --gradient-accent: linear-gradient(135deg, #0891b2 0%, #4f46e5 100%);
}

/* Default to dark theme */
html {
    color-scheme: dark;
}

html[data-theme="light"] {
    color-scheme: light;
}

/* ======================================================= */
/* 2. RESET & BASE                                          */
/* ======================================================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-main);
    color: var(--color-text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background Mesh */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(87, 115, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 60% 80%, rgba(255, 0, 229, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: meshFloat 20s ease-in-out infinite;
    transition: opacity 0.5s ease;
}

[data-theme="light"] body::before {
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(8, 145, 178, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(79, 70, 229, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 60% 80%, rgba(236, 72, 153, 0.04) 0%, transparent 50%);
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(2%, -2%) scale(1.02); }
    66% { transform: translate(-1%, 1%) scale(0.98); }
}

/* Noise Texture Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: -1;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Selection Color */
::selection {
    background: var(--color-accent-cyan);
    color: var(--color-bg-deep);
}

/* ======================================================= */
/* 3. TYPOGRAPHY                                            */
/* ======================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* ======================================================= */
/* 4. BUTTONS                                               */
/* ======================================================= */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--gradient-accent);
    color: var(--color-bg-deep);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--color-accent-cyan);
    color: var(--color-accent-cyan);
    transform: translateY(-3px);
}

.large-btn {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ======================================================= */
/* 5. HEADER & NAVIGATION                                   */
/* ======================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: rgba(13, 13, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar a {
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: 30px;
    transition: var(--transition-smooth);
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.navbar a:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.navbar a.active {
    color: var(--color-accent-cyan);
    background: rgba(0, 240, 255, 0.15);
    border-color: rgba(0, 240, 255, 0.3);
}

/* Mobile Controls - ẩn trên desktop */
.navbar .mobile-controls {
    display: none;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
}

.lang-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
    color: var(--color-bg-deep);
    background: var(--gradient-accent);
    border-color: transparent;
}

@media (max-width: 768px) {
    .lang-switcher {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1001;
        margin-left: 0;
    }
    
    .lang-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    margin-left: 12px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    color: var(--color-accent-cyan);
    border-color: var(--color-accent-cyan);
    background: rgba(0, 240, 255, 0.1);
    transform: rotate(15deg);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: var(--transition-smooth);
}

.theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

@media (max-width: 768px) {
    .theme-toggle {
        position: fixed;
        top: 20px;
        right: 150px;
        z-index: 1001;
        margin-left: 0;
        background: var(--color-bg-main);
        box-shadow: var(--glass-shadow);
    }
}

/* ======================================================= */
/* 6. HERO SECTION                                          */
/* ======================================================= */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

/* Floating Elements */
.hero-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--gradient-accent);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: pulse 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: var(--color-accent-pink);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    animation: pulse 8s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.hero-text h1 strong {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Image with Glow */
.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-accent);
    border-radius: 26px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
}

/* ======================================================= */
/* 7. SECTION STYLES                                        */
/* ======================================================= */

.section {
    padding: var(--section-padding) 0;
    text-align: center;
    position: relative;
}

/* Section Divider */
.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--divider-color), transparent);
    margin: 0;
}

/* Light theme specific overrides */
[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

[data-theme="light"] .header.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .service-detail-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .team-member,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .project-card,
[data-theme="light"] .detail-block {
    background: var(--color-bg-card);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .service-detail-card:hover,
[data-theme="light"] .project-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .navbar a {
    color: var(--color-text-secondary);
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .navbar a:hover {
    color: var(--color-text-primary);
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .navbar a.active {
    color: var(--color-accent-purple);
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.2);
}

[data-theme="light"] .form-section {
    background: var(--color-bg-card);
    border: 1px solid var(--glass-border);
}

[data-theme="light"] .input-group input,
[data-theme="light"] .input-group select,
[data-theme="light"] .input-group textarea {
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-text-primary);
}

[data-theme="light"] .footer {
    background: var(--color-bg-deep);
    border-top: 1px solid var(--glass-border);
}

[data-theme="light"] .cta-section-bottom {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
}

[data-theme="light"] .cta-section-bottom::before {
    background: var(--gradient-accent);
    opacity: 0.05;
}

[data-theme="light"] .lang-btn {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-text-secondary);
}

[data-theme="light"] .lang-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--color-text-primary);
}

[data-theme="light"] .lang-btn.active {
    background: var(--gradient-accent);
    color: white;
}

[data-theme="light"] .mobile-lang-btn {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-text-secondary);
}

[data-theme="light"] .mobile-lang-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mobile-lang-btn.active {
    background: var(--gradient-accent);
    color: white;
}

[data-theme="light"] .navbar .mobile-theme-toggle {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .navbar .mobile-theme-toggle:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--color-accent-purple);
    border-color: var(--color-accent-purple);
}

/* Card Grid */
.card-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.card-grid.two-columns {
    grid-template-columns: repeat(2, 1fr);
}

.card-grid.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

/* ======================================================= */
/* 8. SERVICE CARDS                                         */
/* ======================================================= */

.service-detail-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-detail-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.1);
}

.service-detail-card:hover::before {
    transform: scaleX(1);
}

.icon-card {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-detail-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.service-detail-card p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* ======================================================= */
/* 9. FEATURE CARDS (WHY US)                                */
/* ======================================================= */

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.icon-feature {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    font-size: 1.8rem;
    color: var(--color-accent-cyan);
    transition: var(--transition-smooth);
}

.feature-card:hover .icon-feature {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-accent);
    color: var(--color-bg-deep);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* ======================================================= */
/* 10. TEAM SECTION                                         */
/* ======================================================= */

.team-member {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.team-member:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 0, 229, 0.3);
}

.member-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid transparent;
    background: 
        linear-gradient(var(--color-bg-card-solid), var(--color-bg-card-solid)) padding-box,
        var(--gradient-primary) border-box;
    transition: var(--transition-smooth);
}

.team-member:hover .member-photo {
    transform: scale(1.05);
}

/* Avatar Initials Style */
.member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-bg-deep);
    background: var(--gradient-accent);
    position: relative;
    transition: var(--transition-smooth);
}

.member-avatar::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
    transition: var(--transition-smooth);
}

.team-member:hover .member-avatar {
    transform: scale(1.1) rotate(5deg);
}

.team-member:hover .member-avatar::before {
    opacity: 0.8;
    filter: blur(12px);
}

.team-member h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.member-role {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--color-accent-cyan);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.member-bio {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* ======================================================= */
/* 11. TESTIMONIAL SECTION                                  */
/* ======================================================= */

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    text-align: left;
    position: relative;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: rgba(254, 202, 87, 0.3);
}

/* Quote Icon */
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    font-family: Georgia, serif;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-card > p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-bg-deep);
    background: var(--gradient-warm);
    flex-shrink: 0;
}

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.client-info p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-style: normal;
}

/* ======================================================= */
/* 12. CTA SECTION                                          */
/* ======================================================= */

.cta-section-bottom {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section-bottom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.cta-content > p {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ======================================================= */
/* 13. FOOTER                                               */
/* ======================================================= */

.footer {
    background: var(--color-bg-deep);
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content > p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: none; /* Tạm ẩn social buttons */
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--gradient-accent);
    border-color: transparent;
    color: var(--color-bg-deep);
    transform: translateY(-3px);
}

/* ======================================================= */
/* 14. PAGE-SPECIFIC STYLES                                 */
/* ======================================================= */

/* Services Page */
.services-page-main {
    padding-top: 140px;
}

/* About Page */
.about-main {
    padding-top: 140px;
}

/* Portfolio Page */
.portfolio-main {
    padding-top: 140px;
}

/* Contact Page */
.contact-main {
    padding-top: 140px;
}

.page-hero-title {
    text-align: center;
    padding: 40px 0 60px;
}

.page-hero-title h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 16px;
}

.page-hero-title h1 strong {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-title .subtitle-text {
    color: var(--color-text-secondary);
    font-size: 1.15rem;
}

.service-category {
    text-align: left;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.category-title i {
    color: var(--color-accent-cyan);
    margin-right: 12px;
}

.category-desc {
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.tech-stack {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--color-accent-cyan);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 12px;
}

/* Contact Page - already defined above */

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: 60px;
    font-size: 1.15rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.form-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-primary);
}

.input-group input,
.input-group select,
.input-group textarea {
    background: var(--color-bg-deep);
    color: var(--color-text-primary);
    border: 1px solid var(--glass-border);
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-smooth);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--color-accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: var(--color-text-muted);
}

.btn-submit {
    padding: 16px 32px;
    background: var(--gradient-accent);
    color: var(--color-bg-deep);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
}

/* Info Section */
.info-section h2 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 12px;
    color: var(--color-accent-cyan);
    font-size: 1.1rem;
}

.detail-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.detail-text p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.map-title {
    margin-top: 40px;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.map-container iframe {
    display: block;
}

/* Portfolio Page */
.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.1);
}

.project-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: var(--color-bg-card-solid);
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.project-info p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

/* About Page */
.vision-mission-section .detail-block {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    text-align: left;
    backdrop-filter: blur(10px);
}

.vision-mission-section .detail-block h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vision-mission-section .detail-block .icon-feature {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Breadcrumb */
.breadcrumb {
    text-align: left;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--color-accent-cyan);
    transition: var(--transition-smooth);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ======================================================= */
/* 15. ANIMATIONS                                           */
/* ======================================================= */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Stagger Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* ======================================================= */
/* 16. RESPONSIVE DESIGN                                    */
/* ======================================================= */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== TABLET (1024px) ===== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-grid.three-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* ===== MOBILE (768px) ===== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    /* Header Mobile */
    .header {
        padding: 12px 0;
    }
    
    .header.scrolled {
        padding: 10px 0;
    }
    
    .nav-container {
        flex-wrap: wrap;
        position: relative;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    /* Navbar Mobile */
    .navbar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-bg-main);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 40px;
        gap: 8px;
        transition: left 0.3s ease;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
        overflow-y: auto;
    }
    
    .navbar.active {
        left: 0;
    }
    
    .navbar a {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    /* Mobile Overlay */
    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 998;
        backdrop-filter: blur(4px);
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    /* Header Controls */
    .header-controls {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .header .btn-primary {
        display: none;
    }
    
    /* Lang Switcher Mobile - ẩn trên header, hiển thị trong menu */
    .lang-switcher {
        display: none;
    }
    
    /* Theme Toggle Mobile - ẩn trên header */
    .theme-toggle {
        display: none;
    }
    
    /* Hiển thị trong mobile menu */
    .navbar .mobile-controls {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid var(--glass-border);
    }
    
    .navbar .mobile-lang-switcher {
        display: flex;
        gap: 8px;
    }
    
    .navbar .mobile-lang-btn {
        flex: 1;
        padding: 12px;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--color-text-secondary);
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        cursor: pointer;
        transition: var(--transition-smooth);
        font-family: var(--font-body);
        text-align: center;
    }
    
    .navbar .mobile-lang-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .navbar .mobile-lang-btn.active {
        color: var(--color-bg-deep);
        background: var(--gradient-accent);
        border-color: transparent;
    }
    
    .navbar .mobile-theme-toggle {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50%;
        color: var(--color-text-secondary);
        cursor: pointer;
        transition: var(--transition-smooth);
        position: relative;
        overflow: hidden;
    }
    
    .navbar .mobile-theme-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--color-accent-cyan);
        border-color: var(--color-accent-cyan);
    }
    
    .navbar .mobile-theme-toggle .icon-sun,
    .navbar .mobile-theme-toggle .icon-moon {
        font-size: 1.3rem;
        position: absolute;
        transition: var(--transition-smooth);
    }
    
    .navbar .mobile-theme-toggle .icon-sun {
        opacity: 0;
        transform: rotate(-90deg) scale(0);
    }
    
    .navbar .mobile-theme-toggle .icon-moon {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
    
    [data-theme="light"] .navbar .mobile-theme-toggle .icon-sun {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
    
    [data-theme="light"] .navbar .mobile-theme-toggle .icon-moon {
        opacity: 0;
        transform: rotate(90deg) scale(0);
    }
    
    /* Hero Section Mobile */
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    /* Cards Mobile */
    .card-grid,
    .card-grid.two-columns,
    .card-grid.three-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-detail-card,
    .feature-card,
    .team-member {
        padding: 28px 20px;
    }
    
    .icon-card {
        font-size: 2rem;
    }
    
    .icon-feature {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Team Member Mobile */
    .member-avatar {
        width: 80px;
        height: 80px;
        font-size: 1.6rem;
    }
    
    .team-member h4 {
        font-size: 1.15rem;
    }
    
    .member-role {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    /* Testimonials Mobile */
    .testimonial-card {
        padding: 28px 20px;
    }
    
    .testimonial-card::before {
        font-size: 4rem;
        top: 10px;
        right: 15px;
    }
    
    .testimonial-card > p {
        font-size: 1rem;
    }
    
    .client-avatar {
        width: 48px;
        height: 48px;
        font-size: 0.9rem;
    }
    
    .client-info h4 {
        font-size: 1rem;
    }
    
    .client-info p {
        font-size: 0.85rem;
    }
    
    /* CTA Section Mobile */
    .cta-section-bottom {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .cta-content > p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 30px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-content > p {
        font-size: 0.85rem;
    }
    
    /* Form Mobile */
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-section {
        padding: 24px 16px;
        border-radius: 16px;
    }
    
    .form-section h2 {
        font-size: 1.3rem;
        margin-bottom: 24px;
    }
    
    .contact-form {
        gap: 16px;
    }
    
    .input-group label {
        font-size: 0.85rem;
    }
    
    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    
    .btn-submit {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    /* Contact Info Mobile */
    .contact-detail {
        gap: 12px;
    }
    
    .contact-detail i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Page Specific Mobile */
    .services-page-main,
    .about-main,
    .portfolio-main,
    .contact-main {
        padding-top: 100px;
    }
    
    .page-hero-title {
        padding: 24px 0 40px;
    }
    
    .page-hero-title h1 {
        font-size: 1.8rem;
    }
    
    .page-hero-title .subtitle-text {
        font-size: 1rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .category-desc {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    
    /* Project Cards Mobile */
    .project-card {
        border-radius: 16px;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-info {
        padding: 20px 16px;
    }
    
    .project-info h3 {
        font-size: 1.2rem;
    }
    
    .project-info p {
        font-size: 0.9rem;
    }
    
    .tech-stack {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    /* Vision Mission Mobile */
    .vision-mission-section .detail-block {
        padding: 28px 20px;
        border-radius: 16px;
    }
    
    .vision-mission-section .detail-block h2 {
        font-size: 1.4rem;
    }
    
    /* Map Mobile */
    .map-container iframe {
        height: 200px;
    }
}

/* ===== SMALL MOBILE (480px) ===== */
@media (max-width: 480px) {
    .container {
        width: 94%;
    }
    
    .hero-text h1 {
        font-size: 1.7rem;
    }
    
    .hero-section::before,
    .hero-section::after {
        width: 200px;
        height: 200px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .service-detail-card,
    .feature-card,
    .team-member,
    .testimonial-card {
        padding: 20px 16px;
    }
    
    .service-detail-card h3,
    .feature-card h3 {
        font-size: 1.15rem;
    }
    
    .service-detail-card p,
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .large-btn {
        padding: 14px 24px;
    }
    
    .member-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.4rem;
    }
    
    .team-member h4 {
        font-size: 1.1rem;
    }
    
    .member-bio {
        font-size: 0.85rem;
    }
    
    .cta-content h2 {
        font-size: 1.4rem;
    }
    
    .cta-content > p {
        font-size: 0.9rem;
    }
    
    .page-hero-title h1 {
        font-size: 1.5rem;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .project-image {
        height: 160px;
    }
    
    .project-info h3 {
        font-size: 1.1rem;
    }
    
    /* Lang Switcher Small */
    .lang-switcher {
        padding: 6px;
    }
    
    .lang-btn {
        padding: 8px 10px;
        font-size: 0.7rem;
    }
    
    /* Theme Toggle Small */
    .theme-toggle {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* ===== EXTRA SMALL (360px) ===== */
@media (max-width: 360px) {
    .container {
        width: 96%;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* ======================================================= */
/* 17. UTILITY CLASSES                                      */
/* ======================================================= */

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.glass-effect {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
