/* =====================================================
   HY.studio — Light Theme · UI UX Pro Max
   Clean · Trustworthy · Easy to Use
   ===================================================== */

/* ===== DESIGN TOKENS ===== */
:root {
    /* Backgrounds */
    --bg:        #f8f9fb;
    --bg-white:  #ffffff;
    --bg-subtle: #f2f4f8;
    --bg-muted:  #eef0f6;

    /* Text */
    --text-primary:   #111827;
    --text-secondary: #4b5563;
    --text-muted:     #9ca3af;
    --text-inverted:  #ffffff;

    /* Brand — Indigo (trust + premium) */
    --brand:       #4f6ef7;
    --brand-dark:  #3b57d9;
    --brand-light: #eef1fe;
    --brand-mid:   rgba(79,110,247,0.12);

    /* Accents */
    --accent-violet: #7c5cfc;
    --accent-green:  #10b981;
    --accent-rose:   #f43f5e;
    --accent-amber:  #f59e0b;

    /* Borders */
    --border:       #e5e7eb;
    --border-hover: #c7cfe0;
    --border-focus: var(--brand);

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 28px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.06);
    --shadow-brand: 0 6px 24px rgba(79,110,247,0.3);

    /* Layout */
    --nav-h:    68px;
    --max-w:    1140px;
    --pad-x:    40px;

    /* Radius */
    --r-sm:   10px;
    --r-md:   16px;
    --r-lg:   24px;
    --r-xl:   32px;
    --r-full: 9999px;

    /* Typography */
    --font-en: 'Outfit', sans-serif;
    --font-tc: 'Noto Sans TC', sans-serif;

    /* Transitions */
    --t-fast:   0.18s ease;
    --t-base:   0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --t-bounce: 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-tc);
    background: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ===== HELPERS ===== */
.text-accent {
    color: var(--brand);
}

.section-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-en);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: var(--brand);
    background: var(--brand-light);
    border: 1px solid rgba(79,110,247,0.2);
    border-radius: var(--r-full);
    padding: 5px 14px;
    margin-bottom: 20px;
}

.section-eyebrow::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--brand);
    flex-shrink: 0;
}

.section-head {
    margin-bottom: 28px;
}

.section-head h2 {
    font-family: var(--font-en);
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 14px;
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 100;
    background: rgba(248,249,251,0.92);
    transition: background var(--t-base), box-shadow var(--t-base), backdrop-filter var(--t-base);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 var(--border), var(--shadow-xs);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: opacity var(--t-fast);
}

.nav-logo:hover { opacity: 0.75; }

.logo-mark {
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 900;
    color: var(--text-inverted);
    background: var(--brand);
    border-radius: 8px;
    padding: 3px 8px;
    letter-spacing: 0.5px;
    line-height: 1.5;
    display: inline-block;
    flex-shrink: 0;
}

.logo-mark.sm {
    font-size: 0.78rem;
    border-radius: 6px;
    padding: 2px 6px;
}

.logo-text {
    font-family: var(--font-en);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--r-full);
    transition: color var(--t-base), background var(--t-base);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-muted);
}

.nav-cta {
    font-family: var(--font-en);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand);
    background: var(--brand-light);
    border: 1.5px solid rgba(79,110,247,0.25);
    padding: 8px 20px;
    border-radius: var(--r-full);
    transition: all var(--t-base);
}

.nav-cta:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    box-shadow: var(--shadow-brand);
    transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
    padding: calc(var(--nav-h) + 48px) var(--pad-x) 48px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    /* 精緻背景 */
    background:
        radial-gradient(ellipse 80% 60% at 70% 30%, rgba(79,110,247,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(124,92,252,0.04) 0%, transparent 55%),
        var(--bg);
}

.hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 7px 16px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-xs);
}

.badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-green);
    flex-shrink: 0;
    animation: dot-pulse 2.2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
    50%      { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}

/* Hero Title */
.hero-title {
    font-family: var(--font-en);
    font-size: clamp(2.8rem, 5.5vw, 4.4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-title-accent {
    color: var(--brand);
    display: inline;
    /* 底線裝飾 */
    background-image: linear-gradient(to right, var(--brand), var(--accent-violet));
    background-size: 100% 3px;
    background-repeat: no-repeat;
    background-position: bottom 2px left;
    padding-bottom: 6px;
}

/* Hero Desc */
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 420px;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: var(--brand);
    border-radius: var(--r-full);
    padding: 13px 28px;
    box-shadow: 0 4px 14px rgba(79,110,247,0.32);
    transition: background var(--t-base), transform var(--t-bounce), box-shadow var(--t-base);
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79,110,247,0.42);
}

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-full);
    padding: 13px 24px;
    transition: all var(--t-base);
    box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Trust Bar */
.trust-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.trust-icon {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(16,185,129,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 820px;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.hero-img-bg {
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,110,247,0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: img-glow 5s ease-in-out infinite;
}

@keyframes img-glow {
    0%,100% { opacity: 0.5; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.06); }
}

.hero-avatar {
    width: 100%;
    filter: drop-shadow(0 16px 48px rgba(79,110,247,0.18));
    animation: float-hero 7s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

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

/* Float Cards */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 10px 16px;
    box-shadow: var(--shadow-md);
    z-index: 5;
    pointer-events: none;
    white-space: nowrap;
}

.float-icon { font-size: 1.2rem; flex-shrink: 0; }

.float-title {
    font-family: var(--font-en);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
}

.float-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.card-top {
    top: 12%;
    left: -28px;
    animation: float-c1 5s ease-in-out infinite;
}

.card-bottom {
    bottom: 20%;
    right: -24px;
    animation: float-c2 6s ease-in-out infinite 0.8s;
}

@keyframes float-c1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes float-c2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }

/* ===== ABOUT ===== */
.about-section {
    padding: 28px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-en);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 5px 14px;
    transition: all var(--t-fast);
    cursor: default;
}

.tag:hover {
    color: var(--brand);
    background: var(--brand-light);
    border-color: rgba(79,110,247,0.3);
}

/* About Card */
.about-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--t-base), transform var(--t-bounce);
}

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

.about-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.about-avatar-wrap {
    width: 48px; height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border);
    flex-shrink: 0;
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-avatar-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.avatar-initial {
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--brand);
}

.about-name {
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.about-role {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.about-quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    border-left: 3px solid var(--brand);
    padding: 8px 0 8px 16px;
    margin: 0 0 24px;
    font-style: normal;
    background: var(--bg-subtle);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.about-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 12px 16px;
    transition: all var(--t-base);
}

.social-btn:hover {
    color: var(--brand);
    background: var(--brand-light);
    border-color: rgba(79,110,247,0.3);
    transform: translateX(4px);
}

/* ===== TOOLS ===== */
.tools-section {
    padding: 28px 0;
    background: var(--bg);
}

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

.tool-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-bounce), box-shadow var(--t-base), border-color var(--t-base);
    height: 100%;
}

.tool-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--brand);
}

/* Image Area */
.tool-img-area {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* 允許內部圖片溢出破格 */
    overflow: visible;
    /* Clean solid background */
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    padding: 50px 32px 0;
    min-height: 280px; 
    z-index: 1;
}

/* 乾淨柔和的純色背景 */
.tool-color-1 { background: #f1f5f9; } /* Slate */
.tool-color-2 { background: #f5f3ff; } /* Violet */
.tool-color-3 { background: #f0fdf4; } /* Green */

.tool-img {
    position: relative;
    z-index: 10; /* Ensure image sits on top of all borders */
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    /* 緊湊寫實的 SaaS 風格陰影 */
    filter:
        drop-shadow(0 4px 6px rgba(0,0,0,0.05))
        drop-shadow(0 10px 20px rgba(0,0,0,0.08))
        drop-shadow(0 20px 45px rgba(0,0,0,0.06));
    transform-origin: bottom center;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                filter var(--t-base);
    
    /* 統一破格設定 */
    height: 100%;
    max-height: 400px;
    margin-bottom: -35px; /* 沉底破格跨越分割線 */
}

.tool-card:hover .tool-img {
    /* Hover 時不再做浮沉動畫，而是有質感的放大與拉近 */
    transform: scale(1.06) translateY(-6px);
    filter:
        drop-shadow(0 6px 12px rgba(0,0,0,0.06))
        drop-shadow(0 16px 32px rgba(0,0,0,0.12))
        drop-shadow(0 32px 64px rgba(0,0,0,0.1));
}

.tool-num {
    position: absolute;
    top: 14px;
    right: 18px;
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 900;
    color: rgba(0,0,0,0.06);
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

/* Tool Body */
.tool-body {
    padding: 48px 24px 28px; /* 加大上方 padding 以容納破格下垂的圖片 */
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2; /* 在底色之上，但在圖片之下 */
}

.tool-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--r-full);
    padding: 3px 10px;
    margin-bottom: 12px;
    width: fit-content;
}

.tool-badge-1 {
    color: var(--brand);
    background: var(--brand-light);
    border: 1px solid rgba(79,110,247,0.2);
}
.tool-badge-2 {
    color: var(--accent-violet);
    background: rgba(124,92,252,0.08);
    border: 1px solid rgba(124,92,252,0.18);
}
.tool-badge-3 {
    color: var(--accent-green);
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.18);
}

.tool-name {
    font-family: var(--font-tc);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.35;
}

.tool-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 18px;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand);
    transition: gap var(--t-base);
}

.tool-card:hover .tool-link { gap: 10px; }

/* ===== FEATURES ===== */
.features-section {
    padding: 28px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 12px;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow-xs);
    transition: transform var(--t-bounce), box-shadow var(--t-base), border-color var(--t-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.feat-icon {
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform var(--t-bounce);
}

.feature-card:hover .feat-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feat-icon-blue   { background: var(--brand-light); color: var(--brand); }
.feat-icon-violet { background: rgba(124,92,252,0.1); color: var(--accent-violet); }
.feat-icon-green  { background: rgba(16,185,129,0.1); color: var(--accent-green); }
.feat-icon-rose   { background: rgba(244,63,94,0.08); color: var(--accent-rose); }

.feature-card h3 {
    font-family: var(--font-en);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

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

/* Use Cases */
.use-cases {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.use-case-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.use-case-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.use-chip {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 6px 16px;
    cursor: default;
    transition: all var(--t-fast);
}

.use-chip:hover {
    color: var(--brand);
    border-color: rgba(79,110,247,0.3);
    background: var(--brand-light);
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 28px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.contact-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 60px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    box-shadow: var(--shadow-md);

    /* 精緻背景 */
    background-image:
        radial-gradient(ellipse 60% 80% at 90% 50%, rgba(79,110,247,0.05) 0%, transparent 60%),
        var(--bg-white);
}

.contact-left h2 {
    font-family: var(--font-en);
    font-size: clamp(1.7rem, 2.8vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.8px;
    margin: 10px 0 16px;
}

.contact-left p {
    font-size: 0.97rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    min-width: 210px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--r-full);
    padding: 13px 28px;
    transition: all var(--t-bounce);
    white-space: nowrap;
}

.btn-ig {
    color: #fff;
    background: linear-gradient(135deg, #e1306c, #833ab4);
    box-shadow: 0 4px 14px rgba(225,48,108,0.3);
}

.btn-ig:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(225,48,108,0.42);
}

.btn-email {
    color: var(--text-secondary);
    background: var(--bg-subtle);
    border: 1.5px solid var(--border);
}

.btn-email:hover {
    color: var(--text-primary);
    background: var(--bg-muted);
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 10px 0;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color var(--t-fast);
}

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

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

/* ===== FADE-IN ===== */
.fade-in {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.85s ease, transform 0.85s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar          { width: 6px; }
::-webkit-scrollbar-track    { background: var(--bg); }
::-webkit-scrollbar-thumb    { background: #c4cad8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    :root { --pad-x: 28px; }

    .tools-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 48px 36px;
    }

    .contact-actions { width: 100%; }
    .contact-btn { width: 100%; }
}

@media (max-width: 768px) {
    :root { --nav-h: 60px; --pad-x: 20px; }

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

    .hero {
        padding: calc(var(--nav-h) + 20px) var(--pad-x) 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-badge, .hero-desc, .trust-item { display: flex; }
    .hero-badge{ max-width: 15rem; margin: auto auto 1rem; }
    .hero-title { font-size: clamp(2.4rem, 10vw, 3.5rem); }
    .hero-desc { margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }
    .trust-bar { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-img-wrapper { max-width: 260px; margin: 0 auto; }
    .card-top, .card-bottom { display: none; }

    .about-section, .tools-section, .features-section, .contact-section {
        padding: 18px 0;
    }

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

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

    .use-cases { flex-direction: column; align-items: flex-start; gap: 16px; }

    .footer-inner { flex-direction: column; text-align: center; gap: 14px; }
    .footer-nav { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(2rem, 12vw, 2.8rem); letter-spacing: -1.5px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-primary, .btn-outline { justify-content: center; width: 100%; }
    .hero-img-wrapper { max-width: 200px; }
    .feature-card { padding: 28px 22px; }
    .contact-card { padding: 36px 20px; }
    .tools-grid { max-width: 100%; }
}