@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Kanit:wght@300;400;500;600&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1e3a8a;
    --accent: #60a5fa;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Kanit', 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
}

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

/* --- Navigation --- */
.main-header {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
}

.logo p {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo span { color: var(--primary); }

.menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.link:hover, .link.active {
    color: var(--primary);
}

.btn-nav {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
}

.btn-nav:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
    background: radial-gradient(circle at top right, #dbeafe 0%, #f8fafc 50%);
    text-align: center;
}

.badge {
    background: #eff6ff;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-title span {
    background: linear-gradient(to right, #2563eb, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
}

.btn-outline {
    border: 2px solid #e2e8f0;
    color: var(--text-main);
}

.btn-outline:hover {
    background: #f1f5f9;
}

/* --- Section Global --- */
section { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.sub-title { color: var(--primary); font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.main-title { font-size: 2.5rem; font-weight: 700; }

/* --- Problem Cards --- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.p-icon { font-size: 2.5rem; margin-bottom: 1.5rem; display: block; }
.problem-card h4 { font-size: 1.4rem; margin-bottom: 1rem; }
.problem-card:hover { transform: scale(1.05); box-shadow: var(--shadow-lg); }

/* --- Feature Cards --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.f-icon-wrap {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.f-icon { font-size: 1.5rem; }

.feature-card:hover {
    background: var(--primary);
    color: white;
}

.feature-card:hover .f-icon-wrap { background: rgba(255,255,255,0.2); }
.feature-card:hover p { color: rgba(255,255,255,0.8); }

/* --- Steps --- */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.step-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border-bottom: 4px solid #e2e8f0;
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f1f5f9;
    position: absolute;
    top: 10px;
    right: 20px;
}

/* --- Team --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 30px;
    text-align: center;
    transition: var(--transition);
}

.member-img {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f1f5f9;
}

.member-img.highlight { border-color: var(--primary); box-shadow: 0 0 20px rgba(37, 99, 235, 0.2); }

.member-img img { width: 100%; height: 100%; object-fit: cover; }

.role { color: var(--primary); font-weight: 600; font-size: 0.9rem; display: block; margin-top: 5px; }
.id { font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; }

/* --- CTA Section --- */
.cta-section {
    background: var(--primary-dark);
    color: white;
    border-radius: 50px;
    margin: 0 1.5rem 80px;
    padding: 80px 2rem;
}

.btn-luxury {
    background: white;
    color: var(--primary-dark);
    margin-top: 2rem;
    display: inline-block;
}

/* --- Footer --- */
.main-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 80px 0 40px;
}

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

.footer-brand h3 { color: white; margin-bottom: 1.5rem; font-size: 1.8rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: white; padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    .menu { display: none; }
    .hero-title { font-size: 2.5rem; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

