/* ========================================
   KloverLoansApply - Premium Purple & Gold Design
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

:root {
    --purple-dark: #0f0c29;
    --purple-primary: #302b63;
    --purple-mid: #24243e;
    --blue-dark: #0a1628;
    --blue-primary: #1e3a5f;
    --blue-mid: #2d5a87;
    --blue-light: #4a90c2;
    --blue-sky: #7bb8e0;
    --green-primary: #2d8f4e;
    --green-light: #3da85e;
    --green-bright: #4dc76b;
    --gold: #d4a84b;
    --gold-light: #f4d03f;
    --gold-dark: #c9a227;
    --white: #ffffff;
    --gray-100: #f5f7fa;
    --gray-200: #e8ecf1;
    --gray-600: #6b7280;
    --gray-800: #1f2937;
    --shadow-card: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 10000;
}
.skip-link:focus { top: 10px; }

/* ========================================
   HEADER - Static (ไม่เลื่อนตาม)
   ======================================== */
.header {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 100%);
    padding: 15px 0;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(212,168,75,0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--green-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
}

.logo-text span { color: var(--green-bright); }

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

.nav a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.9;
    padding: 8px 0;
}

.nav a:hover, .nav a.active { 
    opacity: 1; 
    color: var(--gold-light);
}

.btn-nav {
    background: linear-gradient(135deg, #c9a227 0%, #d4a84b 50%, #f4d03f 100%) !important;
    color: #1a1a2e !important;
    padding: 12px 25px !important;
    border-radius: 25px;
    font-weight: 600 !important;
    opacity: 1 !important;
}

.btn-nav:hover {
    background: linear-gradient(135deg, #f4d03f 0%, #d4a84b 50%, #c9a227 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212,168,75,0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 90vh;
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 30%, #2d5a87 60%, #4a90c2 100%);
    display: flex;
    align-items: center;
    padding: 60px 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(77, 199, 107, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text { color: var(--white); }

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text h1 .highlight {
    color: var(--green-bright);
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.7;
}

.hero-checklist {
    list-style: none;
    margin-bottom: 30px;
}

.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    margin-bottom: 12px;
}

.hero-checklist .check {
    color: var(--green-bright);
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-apply {
    display: inline-block;
    background: var(--green-primary);
    color: white;
    padding: 16px 45px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(45, 143, 78, 0.4);
}

.btn-apply:hover {
    background: var(--green-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 143, 78, 0.5);
}

.hero-note {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    overflow: hidden;
}

.hero-wave svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 80px 0;
}

.section-white { background: var(--white); }
.section-gray { background: var(--gray-100); }

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.section-title h2 span {
    color: var(--green-primary);
}

.section-title p {
    color: var(--gray-600);
    font-size: 1.05rem;
}

/* ========================================
   CARDS & GRIDS
   ======================================== */
.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: 25px; }

.card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
}

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

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Steps Card */
.step-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-primary);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.step-card h4 {
    font-size: 1.05rem;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Service Card */
.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
}

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

.service-img {
    height: 180px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-content h4 {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.service-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-details {
    background: var(--gray-100);
    padding: 15px;
    border-radius: 10px;
    font-size: 0.85rem;
}

.service-details div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.service-details div:last-child {
    margin-bottom: 0;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d8f4e 100%);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    color: white;
}

.stat-item h3 {
    font-size: 2.8rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ========================================
   BLUE SECTION
   ======================================== */
.section-blue {
    background: linear-gradient(180deg, #1e3a5f 0%, #0a1628 100%);
    padding: 100px 0 80px;
    position: relative;
}

.section-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60V30C360 60 720 0 1080 30C1260 45 1380 40 1440 30V60H0Z' fill='%23d4a84b'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.section-blue .section-title h2 {
    color: var(--white);
}

.section-blue .section-title p {
    color: rgba(255,255,255,0.8);
}

/* ========================================
   BENEFIT CARDS
   ======================================== */
.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.benefit-card h4 {
    color: var(--blue-primary);
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.benefit-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========================================
   FAQ
   ======================================== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--gray-800);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.active .faq-answer { max-height: 500px; }

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-card);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    fill: var(--gold);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

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

.testimonial-info h5 { font-size: 1rem; color: var(--gray-800); }
.testimonial-info span { font-size: 0.85rem; color: var(--gray-600); }

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #2d5a87 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-white {
    display: inline-block;
    background: white;
    color: var(--blue-primary);
    padding: 16px 40px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-green {
    display: inline-block;
    background: var(--green-primary);
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-green:hover {
    background: var(--green-light);
    transform: translateY(-3px);
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   APPLY FORM
   ======================================== */
.apply-section {
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
    padding: 80px 0;
}

.apply-form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.apply-form h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--blue-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--gray-800);
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--green-primary);
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #2d5a87 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.about-hero-text h2 {
    font-size: 2rem;
    color: var(--blue-primary);
    margin-bottom: 20px;
}

.about-hero-text p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-hero-img img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-card-content {
    padding: 20px;
}

.team-card h4 {
    color: var(--gray-800);
    margin-bottom: 5px;
}

.team-card span {
    color: var(--green-primary);
    font-size: 0.9rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(180deg, #0a1628 0%, #050d18 100%);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
}

.footer-stars svg {
    width: 24px;
    height: 24px;
    fill: var(--gold);
}

.footer-review-text {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-review-author {
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-review-author span { color: var(--gold); }

.footer h5 {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--green-bright);
}

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

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

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--green-bright);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--green-bright);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-disclaimer {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* ========================================
   GUIDES
   ======================================== */
.guide-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
}

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

.guide-img {
    height: 160px;
    overflow: hidden;
}

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

.guide-content { padding: 25px; }

.guide-category {
    display: inline-block;
    background: rgba(45, 143, 78, 0.1);
    color: var(--green-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.guide-card h4 { 
    font-size: 1.1rem; 
    margin-bottom: 10px; 
}

.guide-card h4 a { color: var(--gray-800); }
.guide-card h4 a:hover { color: var(--blue-primary); }

.guide-excerpt {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 15px;
    line-height: 1.6;
}

.guide-meta {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 { font-size: 2.2rem; }
    
    .hero-checklist {
        display: inline-block;
        text-align: left;
    }
    
    .hero-image { order: -1; }
    .hero-image img { max-width: 350px; }
    
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-hero { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 25px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .nav.active { opacity: 1; visibility: visible; }
    .nav a { font-size: 1.2rem; }
    .menu-toggle { display: flex; z-index: 1001; }
    
    .hero-text h1 { font-size: 1.8rem; }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-item h3 { font-size: 2rem; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    
    .section { padding: 60px 0; }
    .section-blue::before { display: none; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.6rem; }
    .section-title h2 { font-size: 1.8rem; }
    .stat-item h3 { font-size: 1.8rem; }
}

/* ========================================
   HERO FORM SECTION - Form อยู่ด้านบนสุด
   ======================================== */
.hero-form-section {
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-text-content {
    padding: 20px 0;
    color: white;
}

.hero-text-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    line-height: 1.7;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-disclaimer {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.hero-form-box {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.hero-form-box h2 {
    text-align: center;
    margin-bottom: 5px;
    color: #1e3a5f;
    font-size: 1.3rem;
}

.form-subtitle {
    text-align: center;
    margin-bottom: 15px;
    color: #6b7280;
    font-size: 0.9rem;
}

.form-security {
    text-align: center;
    margin-top: 12px;
    font-size: 0.75rem;
    color: #6b7280;
}

/* Tablet - Form แสดงก่อน */
@media (max-width: 992px) {
    .hero-form-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-form-box {
        order: -1; /* Form ขึ้นมาก่อน */
    }
    
    .hero-text-content {
        text-align: center;
    }
    
    .hero-text-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-features li {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-form-section {
        padding-top: 80px;
        padding-bottom: 50px;
    }
    
    .hero-form-grid {
        gap: 25px;
    }
    
    .hero-form-box {
        padding: 20px;
    }
    
    .hero-form-box h2 {
        font-size: 1.2rem;
    }
    
    .hero-text-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-features li {
        font-size: 0.85rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-form-section {
        padding-top: 70px;
    }
    
    .hero-form-box {
        padding: 15px;
        border-radius: 15px;
    }
    
    .hero-text-content h1 {
        font-size: 1.3rem;
    }
    
    .hero-features {
        display: none; /* ซ่อน features บนมือถือเล็กเพื่อให้เห็น form ได้เลย */
    }
}
