/* ============================================================
   POOLVILLA THAILAND — shared marketing-page stylesheet
   Used by: about.html, contact.html, agent-landing.html,
   owner-landing.html, login.html, signup.html
   Keeps every non-dashboard page visually consistent.
   ============================================================ */

:root{
  --ink:#122523;
  --teal-deep:#0B3D3F;
  --teal:#155E5B;
  --aqua:#5FC9C0;
  --aqua-bright:#7FE3D6;
  --sand:#F1E7D3;
  --sand-light:#FAF5EA;
  --gold:#C6A15B;
  --gold-soft:#DCC48C;
  --white:#FFFFFF;
  --line:rgba(18,37,35,0.12);
  --free:#3EBF8F;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Manrope',sans-serif;
  background:var(--sand-light);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,.serif{ font-family:'Fraunces',serif; }
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
button{ font-family:inherit; }
.wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
@media (max-width:640px){ .wrap{padding:0 20px;} }

/* ===== NAV ===== */
nav{
  position:sticky; top:0; z-index:50;
  background:rgba(250,245,234,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:1180px; margin:0 auto; padding:18px 32px;
  display:flex; align-items:center; justify-content:space-between;
}
.logo{ display:flex; align-items:center; gap:10px; font-family:'Fraunces',serif; font-weight:600; font-size:19px; letter-spacing:0.01em;}
.logo .dot{ width:9px; height:9px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 4px rgba(198,161,91,0.18);}
.nav-links{ display:flex; gap:34px; font-size:14.5px; font-weight:600; color:var(--teal-deep);}
.nav-links a{ opacity:0.75; transition:opacity .2s;}
.nav-links a:hover, .nav-links a.active{opacity:1;}
.nav-cta{ display:flex; gap:10px; align-items:center;}
@media (max-width:900px){ .nav-links{display:none;} }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 24px; border-radius:999px; font-weight:700; font-size:14px;
  cursor:pointer; border:1px solid transparent; transition:all .18s ease; white-space:nowrap;
}
.btn-primary{ background:var(--teal-deep); color:var(--white); }
.btn-primary:hover{ background:var(--ink); transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:var(--teal-deep); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--teal-deep); }
.btn-gold{ background:var(--gold); color:var(--white); }
.btn-gold:hover{ background:#B18F49; transform:translateY(-1px); }
.btn-lg{ padding:16px 32px; font-size:15.5px; }
.btn-block{ width:100%; }

/* ===== PAGE HERO ===== */
.page-hero{
  position:relative; padding:70px 0 60px; overflow:hidden; text-align:center;
  background:
    radial-gradient(1100px 480px at 82% -10%, rgba(95,201,192,0.25), transparent 60%),
    radial-gradient(700px 380px at -5% 20%, rgba(198,161,91,0.15), transparent 60%),
    var(--sand-light);
}
.page-hero.left{ text-align:left; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:700; letter-spacing:0.09em; text-transform:uppercase;
  color:var(--teal); background:rgba(21,94,91,0.08); border:1px solid rgba(21,94,91,0.18);
  padding:7px 14px; border-radius:999px; margin-bottom:22px;
}
.page-hero h1{
  font-size:clamp(32px,5vw,52px); font-weight:500; line-height:1.1; letter-spacing:-0.01em;
  color:var(--ink); max-width:760px; margin:0 auto;
}
.page-hero.left h1{ margin:0; }
.page-hero h1 em{ font-style:italic; color:var(--teal-deep); font-weight:500; }
.page-hero p.lead{
  font-size:17px; color:rgba(18,37,35,0.68); max-width:600px; margin:20px auto 0; line-height:1.65;
}
.page-hero.left p.lead{ margin:20px 0 0; }
.hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; justify-content:center;}
.page-hero.left .hero-actions{ justify-content:flex-start; }

/* ===== STAT STRIP ===== */
.stat-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding:38px 0; text-align:center;}
@media (max-width:760px){ .stat-strip{ grid-template-columns:1fr 1fr; } }
.stat-strip b{ font-family:'Fraunces',serif; font-size:32px; font-weight:600; color:var(--teal-deep); display:block;}
.stat-strip span{ font-size:12.5px; color:rgba(18,37,35,0.55); font-weight:600;}

/* ===== SECTION ===== */
.section{ padding:80px 0; }
.section.tight{ padding:50px 0; }
.section-head{ max-width:640px; margin:0 auto 46px; text-align:center; }
.section-head.left{ margin:0 0 40px; text-align:left; }
.section-head h2{ font-size:clamp(26px,3.4vw,36px); font-weight:500; margin-top:14px; }
.section-head p{ color:rgba(18,37,35,0.62); font-size:15px; margin-top:12px; line-height:1.65;}

/* ===== BENEFIT / FEATURE GRID ===== */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
@media (max-width:860px){ .grid-3{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .grid-3, .grid-2{ grid-template-columns:1fr; } }

.feat-card{ background:var(--white); border:1px solid var(--line); border-radius:18px; padding:28px; transition:.2s;}
.feat-card:hover{ transform:translateY(-3px); box-shadow:0 16px 34px -18px rgba(11,61,63,0.25); }
.feat-card .ic{ width:46px; height:46px; border-radius:12px; background:var(--sand); display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:18px;}
.feat-card h3{ font-size:17px; font-weight:600; margin-bottom:8px; }
.feat-card p{ font-size:13.5px; color:rgba(18,37,35,0.62); line-height:1.65;}

/* ===== STEPS ===== */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; counter-reset:step;}
@media (max-width:900px){ .steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .steps{ grid-template-columns:1fr; } }
.step{ position:relative; padding-top:8px; }
.step .n{ font-family:'Fraunces',serif; font-size:38px; font-weight:600; color:rgba(198,161,91,0.4); margin-bottom:10px; }
.step h3{ font-size:15.5px; font-weight:700; margin-bottom:8px; }
.step p{ font-size:13px; color:rgba(18,37,35,0.6); line-height:1.6;}

/* ===== INCOME TABLE ===== */
.income-table{ background:var(--white); border:1px solid var(--line); border-radius:20px; overflow:hidden; }
.income-row{ display:grid; grid-template-columns:1.2fr 1fr; padding:20px 26px; border-bottom:1px solid var(--line); align-items:center;}
.income-row:last-child{ border-bottom:none; }
.income-row.head{ background:var(--teal-deep); color:#fff; font-weight:700; font-size:12.5px; text-transform:uppercase; letter-spacing:0.05em;}
.income-row .lbl{ font-weight:700; font-size:14.5px; }
.income-row .amt{ font-family:'Fraunces',serif; font-size:19px; font-weight:600; color:var(--teal-deep); text-align:right;}
.income-row.highlight{ background:rgba(198,161,91,0.08); }
.income-row.highlight .amt{ color:var(--gold); }

/* ===== TRUST / LEGAL ===== */
.trust-section{ background:var(--teal-deep); color:#fff; border-radius:24px; padding:46px; position:relative; overflow:hidden;}
.trust-section::before{ content:''; position:absolute; inset:0; background:radial-gradient(600px 400px at 90% 0%, rgba(95,201,192,0.22), transparent 60%);}
.trust-inner{ position:relative; z-index:1; }
.trust-grid2{ display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:center; }
@media (max-width:800px){ .trust-grid2{ grid-template-columns:1fr; } }
.trust-badges{ display:flex; flex-direction:column; gap:14px; }
.trust-badge{ display:flex; gap:14px; align-items:flex-start; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); border-radius:14px; padding:16px 18px;}
.trust-badge .ic{ font-size:20px; }
.trust-badge b{ display:block; font-size:14px; margin-bottom:2px;}
.trust-badge span{ font-size:12.5px; color:rgba(255,255,255,0.6); }
.trust-note{ margin-top:16px; font-size:11.5px; color:rgba(255,255,255,0.45); line-height:1.6; }

/* ===== FAQ ACCORDION ===== */
.faq-list{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:12px;}
.faq-item{ background:var(--white); border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.faq-q{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 22px; cursor:pointer; font-weight:700; font-size:14.5px; user-select:none;}
.faq-q .plus{ font-size:18px; color:var(--gold); font-weight:400; transition:transform .2s; flex-shrink:0;}
.faq-item.open .faq-q .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-item.open .faq-a{ max-height:220px; }
.faq-a-inner{ padding:0 22px 20px; font-size:13.5px; color:rgba(18,37,35,0.65); line-height:1.7;}

/* ===== CTA BAND ===== */
.cta-band{ background:linear-gradient(135deg, var(--teal-deep), #0E4B47); color:#fff; border-radius:24px; padding:50px; text-align:center; position:relative; overflow:hidden;}
.cta-band::before{ content:''; position:absolute; inset:0; background:radial-gradient(600px 360px at 15% 100%, rgba(198,161,91,0.2), transparent 60%);}
.cta-band-inner{ position:relative; z-index:1;}
.cta-band h2{ font-size:clamp(24px,3vw,32px); font-weight:500; margin-bottom:10px;}
.cta-band p{ color:rgba(255,255,255,0.7); font-size:14.5px; margin-bottom:26px;}
.cta-band .hero-actions{ justify-content:center; }

/* ===== FORMS (login/signup/contact) ===== */
.form-card{ background:var(--white); border:1px solid var(--line); border-radius:20px; padding:36px; box-shadow:0 24px 60px -30px rgba(11,61,63,0.3);}
.field{ display:flex; flex-direction:column; gap:6px; margin-bottom:16px;}
.field label{ font-size:12.5px; font-weight:700; color:rgba(18,37,35,0.6);}
.field input, .field select, .field textarea{
  border:1px solid var(--line); border-radius:10px; padding:12px 14px; font-family:'Manrope'; font-size:14px; color:var(--ink); outline:none; background:var(--sand-light);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--teal); background:#fff;}
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:520px){ .field-row{ grid-template-columns:1fr; } }
.field-hint{ font-size:11.5px; color:rgba(18,37,35,0.45); margin-top:-2px;}

.role-toggle{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:24px; background:var(--sand-light); padding:6px; border-radius:14px; border:1px solid var(--line);}
.role-opt{ padding:12px; border-radius:10px; text-align:center; font-size:13.5px; font-weight:700; cursor:pointer; color:rgba(18,37,35,0.55); transition:.15s;}
.role-opt.active{ background:var(--teal-deep); color:#fff; }

.divider-or{ display:flex; align-items:center; gap:12px; margin:20px 0; font-size:12px; font-weight:700; color:rgba(18,37,35,0.4); text-transform:uppercase; letter-spacing:0.06em;}
.divider-or::before, .divider-or::after{ content:''; flex:1; height:1px; background:var(--line); }

.btn-google{
  display:flex; align-items:center; justify-content:center; gap:10px; width:100%;
  padding:12px; border-radius:10px; border:1px solid var(--line); background:#fff; font-weight:700; font-size:13.5px; cursor:pointer;
}
.btn-google:hover{ border-color:rgba(18,37,35,0.3); }

.auth-side-note{ text-align:center; font-size:13px; color:rgba(18,37,35,0.55); margin-top:20px;}

/* ===== FOOTER ===== */
footer{ background:var(--ink); color:rgba(255,255,255,0.6); padding:56px 0 30px; font-size:13px; }
.foot-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:32px; padding-bottom:32px; border-bottom:1px solid rgba(255,255,255,0.12); margin-bottom:22px;}
@media (max-width:800px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .foot-grid{ grid-template-columns:1fr; } }
.foot-logo{ color:#fff; font-family:'Fraunces',serif; font-size:18px; font-weight:600; margin-bottom:12px;}
.foot-col h4{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:rgba(255,255,255,0.4); margin-bottom:14px;}
.foot-col a, .foot-col p{ display:block; margin-bottom:10px; opacity:0.8; line-height:1.6;}
.foot-col a:hover{ opacity:1; text-decoration:underline;}
.foot-badge{ display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); padding:8px 14px; border-radius:999px; font-size:11.5px; font-weight:700; margin-top:6px;}
.foot-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* utility */
.center{ text-align:center; }
.mt-40{ margin-top:40px; }
