/* ===== CSS Variables ===== */
:root {
    --accent: #C3BE2C;
    --accent-light: #D4CF3D;
    --accent-dark: #A8A324;
    --accent-bg: rgba(195, 190, 44, 0.08);
    --accent-bg-hover: rgba(195, 190, 44, 0.15);
    --text-primary: #1a1a1a;
    --text-secondary: #555;
    --text-muted: #888;
    --bg-cream: #FAF8F2;
    --bg-green-light: #F0F5E8;
    --bg-white: #ffffff;
    --bg-dark: #111111;
    --bg-dark-card: #1a1a1a;
    --border-light: rgba(0, 0, 0, 0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 50px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
    --shadow-accent: 0 4px 20px rgba(195, 190, 44, 0.25);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif;
    background: var(--bg-cream);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Utility ===== */
.text-accent { color: var(--accent); }
.text-dark { color: var(--text-primary); }
.text-left { text-align: left; }

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.section-tag {
    display: inline-block;
    background: var(--accent-bg);
    color: var(--accent-dark);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.tag-light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn:hover::after {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(195, 190, 44, 0.35);
}

.btn-primary i { transition: transform var(--transition); }
.btn-primary:hover i { transform: translateX(4px); }

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-light);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    background: var(--accent-bg);
}

.btn-cta {
    background: #fff;
    color: var(--accent-dark);
    font-size: 1.1rem;
    padding: 1rem 2.2rem;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-cta i { transition: transform var(--transition); }
.btn-cta:hover i { transform: translateX(4px); }

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 242, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(250, 248, 242, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.3rem;
}

.nav-links a {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all var(--transition);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-links a:hover {
    color: var(--accent-dark);
}

/* Language Selector */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    background: var(--accent-bg);
    border-radius: var(--radius-full);
    padding: 0.2rem;
    margin-right: 0.5rem;
}

.lang-switch a {
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition);
}

.lang-switch a.active {
    background: var(--accent);
    color: #fff;
}

.lang-switch a:hover:not(.active) {
    color: var(--accent-dark);
}

.nav-cta {
    background: var(--accent);
    color: #fff;
    padding: 0.55rem 1.3rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
    display: block;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
    background: linear-gradient(160deg, var(--bg-cream) 0%, var(--bg-green-light) 50%, var(--bg-cream) 100%);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    background: var(--accent);
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -50px;
    animation: floatShape 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 30%;
    animation: floatShape 18s ease-in-out infinite 3s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* Hero entrance animations */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-bg);
    color: var(--accent-dark);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.7s ease forwards 0.2s;
}

.hero-badge i { font-size: 0.8rem; }

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.7s ease forwards 0.4s;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.7s ease forwards 0.6s;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.7s ease forwards 0.7s;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.7s ease forwards 0.85s;
}

.hero-stats-mini {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.7s ease forwards 1s;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-mini-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.stat-mini-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-mini-divider {
    width: 1px;
    height: 36px;
    background: var(--border-light);
}

/* Hero Phone */
.hero-phone {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(40px);
    animation: heroSlideIn 0.9s ease forwards 0.5s;
}

@keyframes heroSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.phone-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195, 190, 44, 0.15) 0%, transparent 70%);
    z-index: 0;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

.phone-wrapper {
    position: relative;
    z-index: 1;
    max-width: 420px;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: phoneFloat 5s ease-in-out infinite 1.5s;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.phone-wrapper:hover {
    animation-play-state: paused;
    transform: translateY(-8px) scale(1.02);
}

.phone-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.12));
}

/* ===== Stats Banner ===== */
.stats-banner {
    background: var(--bg-dark);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(195, 190, 44, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(195, 190, 44, 0.05) 0%, transparent 50%);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-icon {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: inline;
    color: #fff;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    display: inline;
}

.stat-label {
    font-size: 0.88rem;
    color: #aaa;
    margin-top: 0.3rem;
}

/* ===== Scroll Reveal Animations ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-left"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"].visible {
    transform: translateX(0);
}

[data-animate="fade-right"] {
    transform: translateX(40px);
}

[data-animate="fade-right"].visible {
    transform: translateX(0);
}

[data-animate="zoom"] {
    transform: scale(0.9);
}

[data-animate="zoom"].visible {
    transform: scale(1);
}

/* ===== Section Background Animations ===== */

/* Features - floating circles */
.features {
    padding: 5rem 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195, 190, 44, 0.06) 0%, transparent 70%);
    top: -80px;
    left: -80px;
    animation: floatBg 12s ease-in-out infinite;
}

.features::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195, 190, 44, 0.05) 0%, transparent 70%);
    bottom: -60px;
    right: -60px;
    animation: floatBg 15s ease-in-out infinite reverse;
}

@keyframes floatBg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -15px) scale(1.1); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.05); }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-dark);
    margin-bottom: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-accent);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-cream) 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(195, 190, 44, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: expandRing 8s ease-in-out infinite;
}

.how-it-works::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px dashed rgba(195, 190, 44, 0.06);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: expandRing 8s ease-in-out infinite 2s;
}

@keyframes expandRing {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.1;
    line-height: 1;
}

.step-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    margin: 0 auto 1.2rem;
    box-shadow: var(--shadow-accent);
    transition: all 0.4s ease;
    position: relative;
}

.step-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed var(--accent);
    opacity: 0;
    transition: all 0.4s ease;
    animation: none;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

.step-card:hover .step-icon::after {
    opacity: 0.3;
    animation: spinBorder 8s linear infinite;
}

@keyframes spinBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.step-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    opacity: 0.4;
    padding-top: 4.5rem;
    animation: pulseArrow 2s ease-in-out infinite;
}

@keyframes pulseArrow {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 0.6; transform: translateX(4px); }
}

/* ===== Services ===== */
.services {
    padding: 5rem 0;
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195, 190, 44, 0.05) 0%, transparent 70%);
    top: 15%;
    right: -120px;
    animation: floatBg 18s ease-in-out infinite;
}

.services::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(195, 190, 44, 0.03);
    bottom: 10%;
    left: -50px;
    animation: morphShape 10s ease-in-out infinite;
}

@keyframes morphShape {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; transform: rotate(90deg); }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-img-wrapper {
    background: linear-gradient(135deg, var(--accent-bg) 0%, var(--bg-green-light) 100%);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-img-wrapper::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(195, 190, 44, 0.08);
    top: -20px;
    right: -20px;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper::after {
    transform: scale(1.5);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: var(--shadow-accent);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon-large {
    transform: scale(1.15) rotate(10deg);
}

.service-info {
    padding: 1.5rem;
    flex: 1;
}

.service-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-info > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
}

.service-tags li {
    background: var(--accent-bg);
    color: var(--accent-dark);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 500;
    transition: all var(--transition);
}

.service-tags li:hover {
    background: var(--accent);
    color: #fff;
}

/* ===== Why WonWon ===== */
.why-wonwon {
    padding: 5rem 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.why-wonwon::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195, 190, 44, 0.04) 0%, transparent 60%);
    top: -150px;
    right: -150px;
    animation: floatBg 20s ease-in-out infinite 3s;
}

.why-wonwon::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(195, 190, 44, 0.06);
    bottom: 15%;
    left: 5%;
    animation: expandRing 6s ease-in-out infinite;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform var(--transition);
}

.why-point:hover {
    transform: translateX(6px);
}

.why-point-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-md);
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-dark);
    transition: all var(--transition);
}

.why-point:hover .why-point-icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

.why-point h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.why-point p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Impact Card */
.impact-card {
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(195, 190, 44, 0.04) 0%, transparent 50%);
    animation: impactGlow 6s ease-in-out infinite;
}

@keyframes impactGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5%, 5%); }
}

.impact-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.impact-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.impact-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.impact-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.impact-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.impact-label {
    font-size: 0.9rem;
    color: #aaa;
}

.impact-footer {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-cream) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195, 190, 44, 0.05) 0%, transparent 70%);
    top: 10%;
    left: -80px;
    animation: floatBg 14s ease-in-out infinite 1s;
}

.testimonials::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
    background: rgba(195, 190, 44, 0.03);
    bottom: 5%;
    right: -40px;
    animation: morphShape 12s ease-in-out infinite reverse;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-bg-hover);
}

.testimonial-stars {
    color: #F5A623;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.15rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== For Business ===== */
.for-business {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.business-card {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, var(--accent-light) 100%);
    border-radius: var(--radius-xl);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: center;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.business-card::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -100px;
    right: -100px;
}

.business-content {
    position: relative;
}

.business-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.business-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.business-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.business-benefits li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    transition: transform var(--transition);
}

.business-benefits li:hover {
    transform: translateX(4px);
}

.business-benefits i { font-size: 1rem; opacity: 0.9; }

.business-card .btn-primary {
    background: #fff;
    color: var(--accent-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.business-card .btn-primary:hover {
    background: #f5f5f5;
}

.business-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.business-illustration {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    animation: businessPulse 3s ease-in-out infinite;
}

@keyframes businessPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.illustration-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.illustration-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: dotPulse 1.5s ease-in-out infinite;
}

.illustration-dots span:nth-child(2) {
    background: rgba(255, 255, 255, 0.7);
    animation-delay: 0.2s;
}

.illustration-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    top: -200px;
    left: -100px;
    animation: floatShape 15s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    bottom: -150px;
    right: -50px;
    animation: floatShape 12s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 4rem 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.footer-tagline {
    font-size: 0.92rem;
    color: #999;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.7rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(195, 190, 44, 0.3);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-column ul { list-style: none; }

.footer-column li { margin-bottom: 0.6rem; }

.footer-column a {
    font-size: 0.88rem;
    color: #999;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-column a i {
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p { font-size: 0.85rem; color: #666; }

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: #666;
    transition: color var(--transition);
}

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

/* ===== Fluid Typography & Buttons ===== */
.hero-title { font-size: clamp(1.8rem, 5vw + 0.5rem, 4.2rem); }
.hero-subtitle { font-size: clamp(1rem, 2vw + 0.3rem, 1.3rem); }
.hero-description { font-size: clamp(0.88rem, 1.2vw + 0.3rem, 1.05rem); }
.section-title { font-size: clamp(1.5rem, 3vw + 0.3rem, 2.6rem); }
.section-subtitle { font-size: clamp(0.9rem, 1vw + 0.3rem, 1.05rem); }
.btn { font-size: clamp(0.85rem, 1vw + 0.2rem, 1rem); padding: clamp(0.65rem, 1.2vw, 0.85rem) clamp(1.2rem, 2vw, 1.8rem); }
.btn-cta { font-size: clamp(0.95rem, 1.2vw + 0.2rem, 1.1rem); padding: clamp(0.75rem, 1.3vw, 1rem) clamp(1.5rem, 2.5vw, 2.2rem); }
.stat-number { font-size: clamp(1.8rem, 3vw + 0.3rem, 2.5rem); }
.cta-content h2 { font-size: clamp(1.4rem, 3vw + 0.3rem, 2.6rem); }

/* ===== Responsive - Tablet Landscape (1024px) ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    /* Phone BEFORE text on tablet and below */
    .hero-phone { order: -1; }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-stats-mini { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .section-title.text-left { text-align: center; }
    .why-content { text-align: center; }
    .why-content .section-tag { display: inline-block; }
    .why-point { text-align: left; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .business-card {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }

    .business-visual { display: none; }
}

/* ===== Responsive - Tablet Portrait (768px) ===== */
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: flex; }
    .lang-switch { margin-right: auto; margin-left: auto; }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-cream);
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
        animation: menuSlideDown 0.3s ease;
    }

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

    .nav-links.active a {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .nav-links.active a::after { display: none; }

    .hero-stats-mini {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-mini-divider {
        width: 40px;
        height: 1px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding: 0;
        margin: -0.5rem 0;
    }

    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .phone-wrapper { max-width: 300px; }
    .hero { min-height: auto; padding-top: 70px; padding-bottom: 0; }
    .hero-container { padding: 0.5rem 1.5rem; gap: 0.5rem; }
    .hero-stats-mini { display: none; }

    section { padding: 2.5rem 0 !important; }
    .section-header { margin-bottom: 1.2rem; }
    .service-img-wrapper { padding: 1.5rem; }
    .service-icon-large { width: 60px; height: 60px; font-size: 1.5rem; }
    .why-description { margin-bottom: 1.2rem; }
    .why-points { gap: 1rem; }
    .impact-card { padding: 1.5rem; }
    .testimonial-card { padding: 1.5rem; }
    .for-business { padding: 2.5rem 0 !important; }
    .cta-section { padding: 3rem 0 !important; }
    .footer { padding: 2.5rem 0 0; }

    section { padding: 4rem 0 !important; }
}

/* ===== Responsive - Mobile Large (576px) ===== */
@media (max-width: 576px) {
    .hero-container { padding: 0.3rem 1rem; gap: 0; }
    .hero-phone { margin-top: -0.5rem; margin-bottom: -0.5rem; }
    .phone-wrapper { max-width: 200px; }
    .phone-glow { width: 200px; height: 200px; }

    .hero-badge { margin-bottom: 0.4rem; font-size: 0.75rem; padding: 0.25rem 0.8rem; }
    .hero-subtitle { margin-bottom: 0.3rem; }
    .hero-description { margin-bottom: 0.8rem; font-size: 0.85rem; line-height: 1.6; }
    .hero-actions { margin-bottom: 1rem; }

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

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

    /* Hide secondary button on small screens to save space */
    .hero-actions .btn-outline { display: none; }

    .business-card { padding: 1.5rem; }
    .business-content h2 { font-size: clamp(1.2rem, 4vw, 1.6rem); }

    .feature-card { padding: 1.5rem; }
    .step-card { padding: 1.2rem 1rem; }
    .step-number { font-size: 3rem; }
}

/* ===== Responsive - Mobile Small (480px) ===== */
@media (max-width: 480px) {
    .hero-container { padding: 1rem; }
    .hero-badge { font-size: 0.75rem; padding: 0.3rem 0.8rem; }

    .stats-container { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

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

    .business-card { padding: 1.5rem; }

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

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }

    .impact-card { padding: 1.5rem; }
    .impact-number { font-size: 1.6rem; }
}

/* ===== Responsive - Very small (360px) ===== */
@media (max-width: 360px) {
    .nav-container { padding: 0 0.8rem; }
    .nav-logo span { font-size: 1.2rem; }
    .phone-wrapper { max-width: 220px; }
}

/* ===== Ultra-wide screens (1600px+) ===== */
@media (min-width: 1600px) {
    .section-container,
    .hero-container,
    .nav-container,
    .stats-container,
    .footer-container {
        max-width: 1400px;
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }

/* ===== Selection ===== */
::selection { background: var(--accent); color: #fff; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html { scroll-behavior: auto; }

    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-badge, .hero-title, .hero-subtitle,
    .hero-description, .hero-actions, .hero-stats-mini,
    .hero-phone {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* ===== Print ===== */
@media print {
    .navbar, .hero-bg-shapes, .phone-glow,
    .cta-section, .mobile-toggle { display: none !important; }
    body { background: #fff; }
    section { break-inside: avoid; }
}
