/* --- Root Variables --- */
:root {
    --primary-color: #ff3366; /* ชมพูหลัก */
    --primary-gradient: linear-gradient(45deg, #ff3366, #ff6688);
    --accent-color: #cc0000;  /* แดง */
    --text-color: #2d3436;    /* ดำถ่าน */
    --text-muted: #636e72;    /* เทาตัวหนังสือ */
    --light-color: #ffffff;   /* ขาว */
    --bg-gray: #f9f9f9;       /* พื้นหลังเทาอ่อนมากๆ */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(255, 51, 102, 0.15);
    --radius-lg: 18px;
    --radius-md: 12px;
}

body {
    font-family: 'Kanit', sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: var(--bg-gray);
    scroll-behavior: smooth;
    line-height: 1.6;
}

.tef-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-spacing {
    padding: 60px 0;
}

.tef-hero {
    background: white;
    padding: 180px 0 120px 0;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
}

.tef-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.05;
    border-radius: 50%;
}

.tef-hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.tef-hero-badge {
    display: inline-block;
    background: #fff0f3;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 51, 102, 0.1);
}

.tef-hero h2 {
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.tef-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 40px auto;
}

.btn-primary-lg {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(255, 51, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 51, 102, 0.4);
}

.hero-trust-tags {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 0.9rem;
    color: #999;
}

.hero-trust-tags i {
    color: #2ecc71;
    margin-right: 5px;
}

.tf-main-container {
    margin-bottom: 80px;
}

.tf-section-header {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 40px;
}

.tf-title-wrapper {
    flex-shrink: 0;
}

.tf-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-color);
}

.tf-main-subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-top: 5px;
}

.tf-header-line {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(90deg, #eee 0%, transparent 100%);
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .tef-hero { padding: 140px 0 80px 0; }
    .tf-section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .tf-header-line { display: none; }
    .hero-trust-tags { flex-direction: column; gap: 10px; }
}


