/*
Theme Name: VIG AI Growth
Theme URI: https://vigdigital.com
Author: VIG Team
Author URI: https://vigdigital.com
Description: Premium AI-First Growth Agency Landing Page theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vig
*/

/* 
  Bản sao của style.css gốc của project 
*/
/* 
  VIG Design Option: "Crystal Growth"
  Theme: Premium AI-First, High Contrast, Deep Tech
  Professional, persuasive, and highly interactive.
*/

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    /* Premium Color Palette - Updated for Vibrancy */
    --brand-magenta: #FF2E93;
    --brand-purple: #9D34DA;
    --brand-blue: #B53253;
    /* Tông màu đỏ từ logo */
    --brand-dark: #0A0F1E;
    --brand-darker: #050811;

    --bg-main: #FFFFFF;
    --bg-soft: #F8FAFC;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-glass-dark: rgba(15, 23, 42, 0.7);
    /* Đậm hơn một chút để nổi bật text */

    /* Text */
    --text-heading: #0F172A;
    --text-body: #334155;
    --text-muted: #64748B;
    --text-light: #F1F5F9;

    /* Tokens */
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-glow: 0 0 40px rgba(255, 46, 147, 0.2);

    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    --container-width: 1248px;
}

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

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: var(--text-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
}

p {
    font-size: 1.05rem;
}

/* Dynamic Mesh Background */
.bg-mesh-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-soft);
}

.mesh-blob {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: meshFlow 20s infinite alternate-reverse;
}

.mesh-1 {
    background: radial-gradient(circle, var(--brand-magenta) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.mesh-2 {
    background: radial-gradient(circle, var(--brand-blue) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
    animation-delay: -5s;
}

.mesh-3 {
    background: radial-gradient(circle, var(--brand-purple) 0%, transparent 70%);
    top: 30%;
    left: 40%;
    width: 600px;
    height: 600px;
    animation-delay: -10s;
    opacity: 0.1;
}

@keyframes meshFlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, 30px) scale(1.05);
    }

    66% {
        transform: translate(-30px, 50px) scale(0.95);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Components */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    transition: var(--transition-fast);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    padding: 0 24px;
    max-width: 1248px;
    margin: 0 auto;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--brand-magenta);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-box {
    width: 24px;
    height: 16px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: var(--text-heading);
    position: absolute;
    transition: transform 0.15s ease;
}

.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -6px;
}

.hamburger-inner::after {
    bottom: -6px;
}

.mobile-menu-toggle.is-active .hamburger-inner {
    transform: rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-magenta), var(--brand-purple));
    color: white;
    box-shadow: 0 10px 20px rgba(255, 46, 147, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 46, 147, 0.35);
}

.btn-primary:hover::after {
    left: 200%;
    transition: left 0.8s ease-in-out;
}

.btn-outline {
    background: white;
    border: 2px solid #E2E8F0;
    color: var(--text-heading);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--brand-magenta);
    color: var(--brand-magenta);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 60px;
    position: relative;
}



.hero-title {
    font-size: 3.5rem;
    line-height: 1.5;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-title .rotate-highlight {
    background: linear-gradient(135deg, var(--brand-magenta) 0%, var(--brand-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: opacity 0.4s ease, transform 0.4s ease;
    min-width: 220px;
    font-weight: 900;
}

.hero-text {
    z-index: 2;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-body);
    margin-bottom: 40px;
    max-width: 650px;
    line-height: 1.6;
}

.hero-visual {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 700px;
    z-index: 1;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

.hero-visual img {
    width: 100%;
    border-radius: var(--radius-xl);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(-54%);
    }
}

/* Sections Variation */
.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

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

.section-dark {
    background: var(--brand-dark);
    color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: white;
}

.section-dark .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

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

.section-title h2 {
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Problem Cards (Hero Cards Section) */
.hero-cards-section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

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

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-bounce);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.glass-card.pain-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
}

.glass-card.pain-card:hover {
    border-color: var(--brand-magenta);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.8rem;
    border: 1px solid #E2E8F0;
    transition: var(--transition-bounce);
}

.glass-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 46, 147, 0.1);
    border-color: rgba(255, 46, 147, 0.2);
}

.glass-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.glass-card p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* OS Dashboard (Light Version) */
.os-preview-section {
    background: white;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    border-radius: 0;
    margin: 0;
}

.os-preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.os-listing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.os-item {
    background: #F8FAFC;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.os-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-magenta), var(--brand-blue));
    opacity: 0.2;
    transition: var(--transition-fast);
}

.os-item:hover {
    background: white;
    border-color: var(--brand-magenta);
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.os-item:hover::before {
    opacity: 1;
}

.os-item-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition-fast);
}

.os-item:hover .os-item-icon {
    background: var(--brand-magenta);
    border-color: var(--brand-magenta);
    transform: scale(1.1) rotate(-5deg);
    color: white;
}

.os-item-body {
    flex: 1;
}

.os-item h4 {
    color: var(--text-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 800;
    line-height: 1.3;
}

.os-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .os-listing-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Stacked Section - Fullwidth Antigravity Style */
.services-stacked {
    padding: 0;
    overflow: hidden;
    background-color: var(--bg-main);
}

.service-row {
    min-height: 80vh;
    display: flex;
    align-items: stretch;
    /* Loại bỏ border-bottom */
}

.service-row:nth-child(even) {
    flex-direction: row-reverse;
    /* Loại bỏ background-color */
}

.service-content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
}

.service-content {
    max-width: 520px;
}

.service-tag {
    font-family: 'JetBrains Mono', monospace;
    color: var(--brand-magenta);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 46, 147, 0.08);
    border-radius: 100px;
}

.service-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--text-heading);
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.service-description {
    font-size: 1.15rem;
    color: var(--text-body);
    margin-bottom: 32px;
    line-height: 1.6;
    opacity: 0.8;
}

.service-benefits {
    list-style: none;
    margin-bottom: 45px;
}

.service-benefits li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--text-heading);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.service-benefits li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--brand-magenta);
    font-size: 1.2rem;
}

.service-visual {
    flex: 0 0 49%;
    /* Giữ 49% screen width */
    position: relative;
    padding: 16px;
    /* Khoảng hở tinh tế */
    min-height: 100%;
    display: flex;
}

.visual-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 48px;
    /* Bo tròn góc mạnh mẽ và hiện đại */
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.visual-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row:hover .visual-placeholder img {
    transform: scale(1.1);
}

@media (max-width: 992px) {

    .service-row,
    .service-row:nth-child(even) {
        flex-direction: column;
        min-height: auto;
    }

    .service-content-wrapper {
        padding: 60px 24px;
        order: 2;
    }

    .service-visual {
        height: 400px;
        order: 1;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-text .btn {
        margin: 0 auto;
    }

    .hero-text>div {
        justify-content: center;
    }

    .hero-visual {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 1;
        margin: 20px auto 0;
        animation: none;
    }

    .visual-content svg {
        width: 100%;
        height: auto;
    }

    .glass-card {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .card-1 {
        top: 10%;
        right: 0%;
    }

    .card-2 {
        bottom: 15%;
        left: 0%;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 16px 0;
    }

    .main-nav {
        padding: 8px 16px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 24px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        box-shadow: var(--shadow-md);
        visibility: hidden;
        opacity: 0;
    }

    .nav-wrapper.is-active {
        max-height: 500px;
        padding: 24px;
        visibility: visible;
        opacity: 1;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 16px;
        margin-bottom: 24px;
    }

    .btn-nav {
        width: 100%;
    }

    .hero {
        padding: 120px 0 60px;
    }

    h2 {
        font-size: 2rem;
    }

    .os-preview-section {
        margin: 0;
        border-radius: 0;
        padding: 80px 0;
    }

    .os-dashboard {
        height: auto;
        flex-direction: column;
        padding: 40px 0;
        gap: 24px;
    }

    .os-node {
        position: relative;
        width: 100%;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    .split-view {
        grid-template-columns: 1fr;
    }

    .comparison-card::after {
        display: none;
    }

    .manual-side,
    .ai-side {
        padding: 40px 24px;
    }

    .manual-side {
        border-bottom: 1px solid #E2E8F0;
    }
}

/* Roadmap Section (Light Version) - Vibrant Aurora */
.roadmap-section {
    padding: 140px 0;
    background: #F1F5F9;
    /* Nền xám xanh nhẹ để làm nổi bật thẻ trắng */
    /* Tăng cường độ Aurora mạnh mẽ hơn trên nền xám */
    background-image:
        radial-gradient(circle at 15% 25%, rgba(255, 46, 147, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(0, 229, 255, 0.15) 0%, transparent 50%),
        /* Lưới Grid đậm hơn một chút để tạo độ sâu */
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
    position: relative;
    border-radius: 60px;
    margin: 0 24px;
    overflow: hidden;
}

.roadmap-section::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    /* Aurora core rực rỡ hơn */
    background: radial-gradient(circle, rgba(157, 52, 218, 0.08) 0%, rgba(0, 229, 255, 0.04) 30%, transparent 60%);
    animation: aurora-rotation 30s linear infinite;
    z-index: 0;
}

@keyframes aurora-rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.gspar-cards-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.gspar-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    /* Border rõ nét ngay từ đầu */
    border: 1px solid rgba(255, 46, 147, 0.15);
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-smooth);
    overflow: hidden;
    /* Shadow đậm đà ngay từ đầu */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.gspar-card:hover {
    transform: translateY(-15px);
    /* Hiệu ứng nổi lên mạnh hơn */
    background: #FFFFFF;
    border-color: var(--brand-magenta);
    box-shadow: 0 25px 50px rgba(255, 46, 147, 0.15);
}

.card-letter {
    font-family: 'JetBrains Mono', monospace;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 35px;
    /* Hiển thị màu đậm rực rỡ ngay từ đầu */
    background: linear-gradient(135deg, var(--brand-magenta) 0%, var(--brand-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    /* Tăng độ hiển thị tối đa */
    transition: var(--transition-smooth);
}

.gspar-card:hover .card-letter {
    transform: translateY(-5px) scale(1.05) rotate(-3deg);
    /* Nâng cao hơn 1 chút */
    filter: drop-shadow(0 10px 15px rgba(255, 46, 147, 0.2));
}

.card-content h3 {
    color: var(--text-heading);
    font-size: 1.4rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.card-content .sub-title {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 18px;
    opacity: 0.8;
}

.card-content p {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

.card-glow {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    background: var(--brand-magenta);
    filter: blur(70px);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.gspar-card:hover .card-glow {
    opacity: 0.1;
}

@media (max-width: 1100px) {
    .gspar-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gspar-cards-container {
        grid-template-columns: 1fr;
    }

    .gspar-card {
        padding: 40px;
        text-align: center;
        align-items: center;
    }
}

/* Case Studies */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.case-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-magenta);
}

.case-img-wrapper {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.case-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition-smooth);
}

.case-card:hover .case-img {
    transform: scale(1.08);
}

.case-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-magenta);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}

.case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    line-height: 1.3;
    color: var(--text-heading);
}

.case-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.case-link {
    margin-top: auto;
    font-weight: 800;
    color: var(--brand-magenta);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.case-link:hover {
    gap: 12px;
}

@media (max-width: 768px) {
    .case-study-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials: Focused Typography Style */
.section-image {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
    color: white;
    padding: 140px 0;
}

.section-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.8) 0%, #030712 100%);
    backdrop-filter: blur(8px);
}

.testimonial-focus-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.quote-mark-large {
    font-size: 8rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--brand-magenta);
    line-height: 1;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.15;
    pointer-events: none;
}

.testimonial-content-display {
    min-height: 200px;
}

.testimonial-quote-text {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 40px;
    color: white;
    font-style: italic;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.testimonial-quote-text.active {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-author-info {
    margin-bottom: 60px;
}

.testimonial-author-info h4 {
    color: var(--brand-magenta);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.testimonial-author-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
}

.nav-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition-bounce);
    opacity: 0.4;
    filter: grayscale(1);
    background-size: cover;
    background-position: center;
}

.nav-item:hover,
.nav-item.active {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.2);
    border-color: var(--brand-magenta);
    box-shadow: 0 0 20px rgba(255, 46, 147, 0.4);
}

@media (max-width: 768px) {
    .testimonial-quote-text {
        font-size: 1.3rem;
    }

    .nav-item {
        width: 50px;
        height: 50px;
    }
}

/* Testimonials: Minimalist Trust Style (Dark Version) */
.section-trust-minimal {
    background: var(--brand-dark);
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 46, 147, 0.05) 0%, transparent 40%);
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

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

.trust-item {
    position: relative;
}

.trust-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    padding-left: 24px;
    border-left: 3px solid var(--brand-magenta);
    font-style: italic;
}

.trust-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 24px;
}

.trust-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-size: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.trust-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: white;
}

.trust-info span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* CTA Banner */
.cta-banner {
    background: var(--brand-dark);
    background-image: linear-gradient(135deg, var(--brand-magenta), var(--brand-purple));
    padding: 80px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    color: white;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateGear 20s linear infinite;
}

.cta-banner h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 24px;
    position: relative;
}

.cta-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    position: relative;
}

/* Footer */
.site-footer {
    background: #0F172A;
    color: white;
    padding: 80px 0 24px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,46,147,0.5), transparent);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.brand-widget p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 300px;
}

.site-footer .footer-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--brand-magenta);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.85rem;
    font-weight: 700;
}

.social-links a:hover {
    background: var(--brand-magenta);
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

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

    .social-links {
        justify-content: center;
    }
}

.blog-link {
    display: inline-flex;
    align-items: center;
    margin-top: 24px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: var(--transition-smooth);
    position: relative;
    gap: 8px;
}

.blog-link:hover {
    color: var(--brand-magenta);
    gap: 12px;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}
/* Full-stack Marketing Page Refinements */
.audience-card {
    position: relative;
    padding: 60px 40px;
    border-radius: 30px;
    background: white;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--brand-magenta);
}

.audience-card.bứt-phá::before {
    background: var(--brand-purple);
}

.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.audience-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-magenta);
    margin-bottom: 24px;
    display: inline-block;
}

.audience-card.bứt-phá .audience-label {
    color: var(--brand-purple);
}

/* Service Matrix Table-like layout */
.service-matrix {
    margin-top: 60px;
    border-radius: 30px;
    overflow: hidden;
    background: white;
    box-shadow: 0 30px 60px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
}

.matrix-header {
    display: grid;
    grid-template-columns: 100px 1fr 350px;
    gap: 40px;
    background: linear-gradient(135deg, rgba(255, 46, 147, 0.05), rgba(157, 52, 218, 0.05));
    padding: 24px 50px;
    border-bottom: 2px solid rgba(157, 52, 218, 0.15);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    color: var(--brand-purple);
}

.matrix-row {
    display: grid;
    grid-template-columns: 100px 1fr 350px;
    gap: 40px;
    padding: 50px;
    border-bottom: 1px solid #edf2f7;
    align-items: flex-start;
    transition: background 0.4s ease;
}

.matrix-row:last-child {
    border-bottom: none;
}

.matrix-row:hover {
    background: #fcfdfe;
}

.matrix-tag {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 900;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--brand-magenta) 0%, var(--brand-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.matrix-content h4 {
    margin-bottom: 15px;
    font-size: 1.35rem;
    font-weight: 800;
}

.matrix-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.85;
}

.matrix-outcome {
    background: transparent;
    padding: 10px 0 10px 30px;
    border-radius: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    border: none;
    border-left: 3px solid rgba(255, 46, 147, 0.4);
    color: var(--text-heading);
    font-weight: 600;
}

@media (max-width: 992px) {
    .matrix-header {
        display: none;
    }
    .matrix-row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px;
    }
    .matrix-outcome {
        margin-top: 10px;
    }
}

/* Animated Aurora Background for Sections */
.aurora-bg {
    position: relative;
    background: var(--brand-dark) !important;
    overflow: hidden;
}

.aurora-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 46, 147, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 70% 70%, rgba(157, 52, 218, 0.15) 0%, transparent 40%);
    animation: aurora-shift 20s ease-in-out infinite alternate;
}

@keyframes aurora-shift {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(5deg) scale(1.1); }
}

.aurora-bg > .container {
    position: relative;
    z-index: 2;
}



.section-title h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
/* Update for form styling in the new CTA style */
.cta-banner label {
    color: var(--text-heading) !important;
}
