/* ═══════════════════════════════════════════════
   VR Holding LP - Main Stylesheet v4
   ═══════════════════════════════════════════════ */

:root {
    --allpfit-orange: 24, 100%, 50%;
    --allpfit-orange-dark: 24, 100%, 40%;
    --allpfit-orange-light: 24, 100%, 60%;
    --allpfit-dark: 220, 25%, 10%;
    --allpfit-dark-lighter: 220, 20%, 15%;
    --allpfit-gray: 220, 10%, 25%;
    --background: 0, 0%, 100%;
    --foreground: 220, 25%, 10%;
    --card: 0, 0%, 100%;
    --card-foreground: 220, 25%, 10%;
    --primary: 24, 100%, 50%;
    --primary-foreground: 0, 0%, 100%;
    --secondary: 220, 25%, 10%;
    --secondary-foreground: 0, 0%, 100%;
    --muted: 220, 10%, 95%;
    --muted-foreground: 220, 10%, 40%;
    --accent: 24, 100%, 95%;
    --accent-foreground: 24, 100%, 40%;
    --border: 220, 10%, 90%;
    --radius: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.vrh-lp {
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    color: hsl(var(--foreground));
    background: hsl(var(--background));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Kanit', sans-serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.vrh-container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.vrh-section-narrow { max-width: 56rem; margin: 0 auto; }
.vrh-section-wide { max-width: 64rem; margin: 0 auto; }
.vrh-section-wide-xl { max-width: 72rem; margin: 0 auto; }

.vrh-section-title { font-size: clamp(1.875rem, 4vw, 2.25rem); font-weight: 700; color: hsl(var(--foreground)); text-align: center; margin-bottom: 1rem; }
.vrh-section-title--light { color: hsl(var(--primary-foreground)); }
.vrh-section-subtitle { font-size: 1.125rem; text-align: center; margin-bottom: 3rem; color: hsl(var(--muted-foreground)); }
.vrh-section-subtitle--light { color: hsla(var(--primary-foreground), .7); }

.text-gradient-allpfit {
    background: linear-gradient(135deg, hsl(var(--allpfit-orange)) 0%, hsl(var(--allpfit-orange-light)) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.vrh-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.vrh-icon--check { width: 1.5rem; height: 1.5rem; color: hsl(var(--primary)); }

/* ═══════════════════════════════════════════════ HERO ═══════════════════════════════════════════════ */
.vrh-hero { position: relative; min-height: 100vh; overflow: hidden; background-size: cover; background-position: center; background-repeat: no-repeat; }
.vrh-hero__overlay { position: absolute; inset: 0; background: hsla(var(--allpfit-dark), .85); }
.vrh-hero__pattern { position: absolute; inset: 0; opacity: 0.05; background: radial-gradient(circle at center, hsl(var(--allpfit-orange)) 1px, transparent 1px); background-size: 40px 40px; }
.vrh-hero__glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; background: hsla(var(--allpfit-orange), .1); border-radius: 50%; filter: blur(120px); pointer-events: none; }
.vrh-hero__inner { position: relative; z-index: 10; padding-top: 3rem; padding-bottom: 3rem; }
.vrh-hero__logo { display: flex; justify-content: center; margin-bottom: 3rem; }
.vrh-hero__logo img { height: 4rem; }
.vrh-hero__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.vrh-hero__content { text-align: center; display: flex; flex-direction: column; gap: 1.5rem; }
.vrh-hero__headline { font-size: clamp(1.875rem, 5vw, 3rem); font-weight: 700; color: hsl(var(--primary-foreground)); line-height: 1.15; }
.vrh-hero__subtitle { font-size: clamp(1.125rem, 2.5vw, 1.25rem); color: hsla(var(--primary-foreground), .8); max-width: 36rem; margin: 0 auto; }
.vrh-hero__subtitle--secondary { color: hsla(var(--primary-foreground), .7); font-size: clamp(1rem, 2vw, 1.125rem); }
.vrh-hero__info { display: flex; flex-direction: column; gap: 1rem; justify-content: center; padding-top: 1rem; }
.vrh-hero__info-item { display: flex; align-items: center; gap: 0.75rem; background: hsla(var(--secondary), .5); padding: 0.75rem 1.25rem; border-radius: 0.5rem; backdrop-filter: blur(8px); justify-content: center; }
.vrh-hero__info-item .vrh-icon { color: hsl(var(--primary)); }
.vrh-hero__info-item span { color: hsl(var(--primary-foreground)); font-size: 0.875rem; }

/* ─── Form Card ─── */
.vrh-form-card { background: hsl(var(--card)); padding: 2rem; border-radius: 1rem; box-shadow: 0 20px 60px -15px hsla(var(--allpfit-orange), .5); border: 1px solid hsla(var(--primary), .2); }
.vrh-form-card__title { font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 0.5rem; color: hsl(var(--card-foreground)); }
.vrh-form-card__desc { text-align: center; margin-bottom: 1.5rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }
.vrh-form-card__desc p { margin-bottom: 1rem; }
.vrh-form-card__desc p:last-child { margin-bottom: 0; }
.vrh-form-card__desc strong { color: hsl(var(--card-foreground)); }
.vrh-form-card__footer { font-size: 0.75rem; color: hsl(var(--muted-foreground)); text-align: center; margin-top: 1rem; }

.vrh-form { display: flex; flex-direction: column; gap: 1rem; }
.vrh-form__group label { display: block; font-size: 0.875rem; font-weight: 500; color: hsl(var(--card-foreground)); margin-bottom: 0.5rem; }
.vrh-form__group input { width: 100%; padding: 0.75rem 1rem; background: hsl(var(--muted)); border: 1px solid hsl(var(--border)); border-radius: 0.5rem; font-family: 'Kanit', sans-serif; font-size: 1rem; color: hsl(var(--foreground)); transition: all 0.2s; outline: none; }
.vrh-form__group input::placeholder { color: hsl(var(--muted-foreground)); }
.vrh-form__group input:focus { border-color: transparent; box-shadow: 0 0 0 2px hsl(var(--primary)); }
.vrh-form__submit { width: 100%; background: linear-gradient(135deg, hsl(var(--allpfit-orange)) 0%, hsl(var(--allpfit-orange-dark)) 100%); color: hsl(var(--primary-foreground)); font-family: 'Kanit', sans-serif; font-weight: 600; font-size: 1rem; padding: 1rem 1.5rem; border: none; border-radius: 0.5rem; cursor: pointer; transition: opacity 0.2s; box-shadow: 0 10px 40px -10px hsla(var(--allpfit-orange), .4); animation: pulse-glow 2s ease-in-out infinite; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.vrh-form__submit:hover { opacity: 0.9; }
.vrh-form__submit:disabled { opacity: 0.5; cursor: not-allowed; }
.vrh-spinner { width: 1.25rem; height: 1.25rem; animation: spin 1s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 20px hsla(var(--allpfit-orange), .3); } 50% { box-shadow: 0 0 40px hsla(var(--allpfit-orange), .5); } }

/* ═══════════════════════════════════════════════ AUDIENCE ═══════════════════════════════════════════════ */
.vrh-audience { padding: 5rem 0; background: hsl(var(--background)); }
.vrh-audience__list { display: flex; flex-direction: column; gap: 1rem; margin-top: 3rem; }
.vrh-audience__item { display: flex; align-items: center; gap: 1rem; background: hsl(var(--accent)); padding: 1.25rem; border-radius: 0.75rem; border: 1px solid hsl(var(--border)); transition: border-color 0.2s; }
.vrh-audience__item:hover { border-color: hsla(var(--primary), .5); }
.vrh-audience__item p { font-size: 1.125rem; color: hsl(var(--foreground)); }

/* ═══════════════════════════════════════════════ PRESENTATION ═══════════════════════════════════════════════ */
.vrh-presentation { padding: 5rem 0; background: linear-gradient(180deg, hsl(var(--allpfit-dark)) 0%, hsl(var(--allpfit-dark-lighter)) 100%); }
.vrh-presentation__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.vrh-presentation__card { background: hsla(var(--allpfit-dark-lighter), .5); backdrop-filter: blur(8px); padding: 1.5rem; border-radius: 0.75rem; border: 1px solid hsla(var(--primary), .1); display: flex; align-items: flex-start; gap: 1rem; transition: border-color 0.2s; }
.vrh-presentation__card:hover { border-color: hsla(var(--primary), .3); }
.vrh-presentation__card-icon { flex-shrink: 0; width: 3rem; height: 3rem; background: linear-gradient(135deg, hsl(var(--allpfit-orange)) 0%, hsl(var(--allpfit-orange-dark)) 100%); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; transition: transform 0.2s; }
.vrh-presentation__card:hover .vrh-presentation__card-icon { transform: scale(1.1); }
.vrh-presentation__card-icon .vrh-icon { color: hsl(var(--primary-foreground)); }
.vrh-presentation__card h3 { font-size: 1.25rem; font-weight: 600; color: hsl(var(--primary-foreground)); margin-bottom: 0.5rem; }
.vrh-presentation__card p { color: hsla(var(--primary-foreground), .7); }

/* ═══════════════════════════════════════════════ ABOUT ═══════════════════════════════════════════════ */
.vrh-about { padding: 5rem 0; background: hsl(var(--background)); }
.vrh-about__card { background: hsl(var(--card)); border-radius: 1rem; overflow: hidden; border: 1px solid hsl(var(--border)); box-shadow: 0 10px 30px rgba(0,0,0,.08); display: grid; grid-template-columns: 1fr; margin-top: 3rem; }
.vrh-about__photo-col { position: relative; }
.vrh-about__photo-wrapper { position: relative; aspect-ratio: 3/4; }
.vrh-about__photo-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.vrh-about__photo-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, hsla(var(--allpfit-dark), .9), hsla(var(--allpfit-dark), .5), transparent); padding: 1.5rem; }
.vrh-about__name { color: hsl(var(--primary-foreground)); font-weight: 700; font-size: 1.125rem; }
.vrh-about__role { color: hsla(var(--primary-foreground), .7); font-size: 0.875rem; }
.vrh-about__text-col { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.vrh-about__logo { height: 5rem; object-fit: contain; margin: 0 auto 2rem; }
.vrh-about__text { font-size: 1.125rem; line-height: 1.7; color: hsl(var(--foreground)); }
.vrh-about__text p { margin-bottom: 1rem; }
.vrh-about__text strong { font-weight: 600; }
.vrh-about__highlight { font-size: 1.125rem; font-weight: 500; color: hsl(var(--primary)); margin-top: 0.5rem; }

/* ═══════════════════════════════════════════════ GALLERY ═══════════════════════════════════════════════ */
.vrh-gallery { padding: 5rem 0; background: linear-gradient(180deg, hsl(var(--allpfit-dark)) 0%, hsl(var(--allpfit-dark-lighter)) 100%); }
.vrh-gallery__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 3rem; }
.vrh-gallery__item { position: relative; overflow: hidden; border-radius: 0.75rem; box-shadow: 0 4px 20px rgba(0,0,0,.3); cursor: pointer; }
.vrh-gallery__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s; }
.vrh-gallery__item:hover img { transform: scale(1.05); }
.vrh-gallery__overlay { position: absolute; inset: 0; background: linear-gradient(to top, hsla(var(--allpfit-dark), .8), transparent); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 1rem; }
.vrh-gallery__item:hover .vrh-gallery__overlay { opacity: 1; }
.vrh-gallery__overlay span { color: hsl(var(--primary-foreground)); font-weight: 600; font-size: 1.125rem; }
.vrh-gallery__label-mobile { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.75rem; background: linear-gradient(to top, hsla(var(--allpfit-dark), .9), transparent); }
.vrh-gallery__label-mobile span { color: hsl(var(--primary-foreground)); font-weight: 500; font-size: 0.875rem; }
.vrh-gallery__item--desktop { display: none; }

/* ═══════════════════════════════════════════════ FOOTER ═══════════════════════════════════════════════ */
.vrh-footer { padding: 3rem 0; background: linear-gradient(180deg, hsl(var(--allpfit-dark)) 0%, hsl(var(--allpfit-dark-lighter)) 100%); border-top: 1px solid hsla(var(--primary), .1); }
.vrh-footer__disclaimer { background: hsla(var(--allpfit-dark-lighter), .5); backdrop-filter: blur(8px); padding: 1.5rem; border-radius: 0.75rem; border: 1px solid hsla(var(--primary), .1); margin-bottom: 2rem; }
.vrh-footer__disclaimer p { color: hsla(var(--primary-foreground), .7); text-align: center; font-size: 0.875rem; }
.vrh-footer__brand { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.vrh-footer__logo { height: 5rem; }
.vrh-footer__copy { color: hsla(var(--primary-foreground), .5); font-size: 0.875rem; }

/* ═══════════════════════════════════════════════ TOAST ═══════════════════════════════════════════════ */
.vrh-toast { position: fixed; bottom: 2rem; right: 2rem; z-index: 9999; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 0.75rem; padding: 1rem 1.5rem; box-shadow: 0 10px 40px rgba(0,0,0,.15); max-width: 24rem; animation: slideIn 0.3s ease-out; }
.vrh-toast--error { border-color: hsl(0, 84%, 60%); }
.vrh-toast__content strong { display: block; margin-bottom: 0.25rem; font-size: 0.875rem; }
.vrh-toast__content p { font-size: 0.8125rem; color: hsl(var(--muted-foreground)); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ═══════════════════════════════════════════════ WHATSAPP FLOAT ═══════════════════════════════════════════════ */
.vrh-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9000;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.vrh-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, .6);
}
.vrh-whatsapp svg { width: 32px; height: 32px; fill: #fff; }
.vrh-whatsapp__pulse {
    position: absolute; inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
    0% { transform: scale(1); opacity: .6; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ═══════════════════════════════════════════════ THANK YOU PAGE ═══════════════════════════════════════════════ */
.vrh-thankyou {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, hsl(var(--allpfit-dark)) 0%, hsl(var(--allpfit-dark-lighter)) 100%);
    position: relative;
    overflow: hidden;
}
.vrh-thankyou__glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; height: 500px;
    background: hsla(var(--allpfit-orange), .08);
    border-radius: 50%;
    filter: blur(100px);
}
.vrh-thankyou__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}
.vrh-thankyou__icon {
    width: 80px; height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, hsl(var(--allpfit-orange)) 0%, hsl(var(--allpfit-orange-dark)) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease-out;
}
.vrh-thankyou__icon svg { width: 40px; height: 40px; stroke: #fff; fill: none; stroke-width: 2.5; }
@keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }

.vrh-thankyou__title {
    font-size: clamp(1.875rem, 5vw, 2.5rem);
    font-weight: 700;
    color: hsl(var(--primary-foreground));
    margin-bottom: 1rem;
}
.vrh-thankyou__message {
    font-size: 1.125rem;
    color: hsla(var(--primary-foreground), .8);
    margin-bottom: 2rem;
    line-height: 1.7;
}
.vrh-thankyou__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, hsl(var(--allpfit-orange)) 0%, hsl(var(--allpfit-orange-dark)) 100%);
    color: #fff;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: opacity 0.2s;
    box-shadow: 0 10px 40px -10px hsla(var(--allpfit-orange), .4);
}
.vrh-thankyou__cta:hover { opacity: 0.9; }
.vrh-thankyou__cta svg { width: 24px; height: 24px; fill: #fff; }
.vrh-thankyou__logo { margin-top: 3rem; }
.vrh-thankyou__logo img { height: 3rem; margin: 0 auto; opacity: 0.5; }

/* ═══════════════════════════════════════════════ RESPONSIVE 640px+ ═══════════════════════════════════════════════ */
@media (min-width: 640px) {
    .vrh-hero__info { flex-direction: row; flex-wrap: wrap; }
    .vrh-gallery__grid { grid-template-columns: repeat(3, 1fr); }
    .vrh-gallery__item--desktop { display: block; }
    .vrh-gallery__label-mobile { display: none; }
}

/* ═══════════════════════════════════════════════ RESPONSIVE 1024px+ ═══════════════════════════════════════════════ */
@media (min-width: 1024px) {
    .vrh-hero__inner { padding-top: 4rem; padding-bottom: 5rem; }
    .vrh-hero__logo img { height: 7rem; }
    .vrh-hero__logo { margin-bottom: 3rem; }
    .vrh-hero__grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
    .vrh-hero__content { text-align: left; }
    .vrh-hero__subtitle { margin: 0; }
    .vrh-hero__info { justify-content: flex-start; }
    .vrh-hero__info-item { justify-content: flex-start; }
    .vrh-presentation__grid { grid-template-columns: repeat(2, 1fr); }
    .vrh-about__card { grid-template-columns: 2fr 3fr; }
    .vrh-about__photo-wrapper { aspect-ratio: auto; height: 100%; }
    .vrh-about__text-col { padding: 2.5rem; }
    .vrh-about__logo { height: 6rem; }
}

.admin-bar .vrh-hero { min-height: calc(100vh - 32px); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: hsl(var(--muted)); }
::-webkit-scrollbar-thumb { background: hsl(var(--allpfit-orange)); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: hsl(var(--allpfit-orange-dark)); }
