/* Trading App AI — landing page
   Renk: #16b364 | Tipografi: Manrope */

:root{
  --green:#16b364;
  --green-dark:#0f9e57;
  --green-soft:#f1fbf5;
  --green-border:#cdeedb;
  --ink:#0f1512;
  --ink-2:#2b3531;
  --ink-3:#45514d;
  --muted:#6b7773;
  --muted-2:#8c9793;
  --line:#e6eae8;
  --line-2:#ecefee;
  --field:#dfe4e2;
  --wrap:1180px;
  --pad:clamp(16px,4vw,22px);
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0;width:100%;background:#fff;overflow-x:hidden}
body{
  font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-synthesis:none;
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img,svg{max-width:100%}
a{color:var(--green-dark);text-decoration:none}
a:hover{color:#0b7d44}
input,button{font-family:inherit}
input::placeholder{color:#a3aeaa}
.accent{color:var(--green)}
.nowrap{white-space:nowrap}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}

.page{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;width:100%;background:#fff}

/* Header */
.site-header{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid var(--line-2)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px;padding-bottom:16px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink)}
.brand:hover{color:var(--ink)}
.brand-mark{display:block;width:30px;height:30px;border-radius:9px}
.brand-name{font-size:clamp(17px,4vw,19px);font-weight:800;letter-spacing:-.02em}
.tagline{font-size:clamp(12.5px,2.6vw,14.5px);font-weight:800;letter-spacing:-.01em;text-align:right;white-space:nowrap}

/* Hero */
.hero{
  flex:1;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));
  gap:clamp(32px,5vw,48px);
  align-items:center;
  padding-top:clamp(34px,6vw,56px);
  padding-bottom:clamp(48px,8vw,72px);
}
.hero-copy{position:relative;min-width:0;container-type:inline-size}
.glow{
  position:absolute;pointer-events:none;top:-80px;left:0;
  width:min(420px,100%);aspect-ratio:1/1;border-radius:50%;
  background:radial-gradient(circle,rgba(22,179,100,.10) 0%,rgba(22,179,100,0) 70%);
}
.pill{
  position:relative;display:inline-flex;align-items:center;gap:8px;
  margin-bottom:22px;padding:7px 13px;border:1px solid var(--green-border);
  border-radius:999px;background:var(--green-soft);
  font-size:12.5px;font-weight:700;color:var(--green-dark);letter-spacing:.04em;
  white-space:nowrap;
}
.pill-dot{width:7px;height:7px;border-radius:50%;background:var(--green)}
.hero-copy h1{
  position:relative;margin:0 0 20px;
  font-size:clamp(25px,8vw,40px);
  font-size:clamp(25px,9cqw,54px);
  line-height:1.1;
  letter-spacing:-.035em;font-weight:800;text-wrap:balance;
}
.lede{
  position:relative;margin:0 0 26px;max-width:30em;
  font-size:clamp(16px,2.2vw,19px);line-height:1.62;color:var(--ink-3);text-wrap:pretty;
}

/* Chart card */
.chart-card{
  position:relative;max-width:30em;margin:0 0 26px;
  padding:16px 18px 12px;border:1px solid var(--line);border-radius:16px;
  background:linear-gradient(180deg,#fff 0%,#fafcfb 100%);
  box-shadow:0 10px 30px -20px rgba(15,21,18,.28);
}
.chart-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.chart-live{display:flex;align-items:center;gap:8px;min-width:0}
.live-dot{flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:var(--green);animation:pulse 2.2s ease-in-out infinite}
.live-label{font-size:13px;font-weight:700;color:var(--ink-2);letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chart-tag{font-size:12px;font-weight:700;color:var(--muted-2);letter-spacing:.06em;white-space:nowrap}
.chart{display:block;width:100%;height:96px}
.chart line{stroke:#f0f3f2;stroke-width:1}
.chart-area{fill:url(#taiFill)}
.chart-line{fill:none;stroke:var(--green);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:620;animation:draw 1.1s ease-out both}
.chart-dot{fill:var(--green)}

/* Perks */
.perks{position:relative;display:flex;flex-wrap:wrap;gap:12px 24px;margin:0;padding:0;list-style:none}
.perks li{display:flex;align-items:center;gap:9px;font-size:14.5px;font-weight:600;white-space:nowrap}
.tick{
  display:flex;align-items:center;justify-content:center;
  width:20px;height:20px;border-radius:50%;
  background:#e7f7ee;color:var(--green-dark);font-size:12px;font-weight:800;
}

/* Form card */
.hero-form{display:flex;justify-content:center;min-width:0}
.card{
  position:relative;width:100%;max-width:460px;
  padding:clamp(26px,4vw,34px);border:1px solid var(--line);border-radius:22px;background:#fff;
  box-shadow:0 30px 70px -34px rgba(15,21,18,.30),0 2px 6px rgba(15,21,18,.04);
  animation:rise .35s ease-out both;
}
.card-bar{position:absolute;top:0;left:0;right:0;height:4px;border-radius:22px 22px 0 0;background:linear-gradient(90deg,var(--green) 0%,#6fdca4 100%)}
.card h2{margin:6px 0 6px;font-size:clamp(21px,4.6vw,25px);font-weight:800;letter-spacing:-.025em}
.card-sub{margin:0 0 24px;font-size:14.5px;line-height:1.5;color:var(--muted)}

form{display:flex;flex-direction:column;gap:16px}
.field{display:flex;flex-direction:column;gap:7px}
.field label{font-size:13.5px;font-weight:700;color:var(--ink-2)}
.field input[type=text],.field input[type=email],.field input[type=tel]{
  width:100%;height:50px;padding:0 14px;
  font-size:16px;color:var(--ink);background:#fff;
  border:1px solid var(--field);border-radius:11px;outline:none;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.field input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(22,179,100,.14)}
.field input.invalid{border-color:#e0554b;box-shadow:0 0 0 3px rgba(224,85,75,.12)}

/* Phone + country picker */
.phone-row{display:flex;align-items:stretch;gap:8px}
.phone-row input[type=tel]{flex:1 1 auto;min-width:0}
.country{position:relative;flex:0 0 auto}
.country-btn{
  display:flex;align-items:center;gap:8px;height:50px;padding:0 11px;
  border:1px solid var(--field);border-radius:11px;background:#fff;cursor:pointer;
  transition:background .15s ease,border-color .15s ease;
}
.country-btn:hover{background:#f7f9f8;border-color:#cfd6d3}
.flag{display:block;flex:0 0 auto;width:22px;height:16px;overflow:hidden;border-radius:3px;box-shadow:0 0 0 1px rgba(15,21,18,.09);background:#eef1f0}
.flag svg{display:block;width:22px;height:16px}
.flag.flag-text{display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:800;letter-spacing:.02em;color:var(--muted);background:#eef1f0}
.dial{font-size:15px;font-weight:700;color:var(--ink-2);letter-spacing:-.01em}
.caret{
  width:0;height:0;border-left:4.5px solid transparent;border-right:4.5px solid transparent;
  border-top:5px solid var(--muted-2);transition:transform .15s ease;
}
.country.open .caret{transform:rotate(180deg)}
.country-menu{
  position:absolute;z-index:40;top:calc(100% + 6px);left:0;
  width:272px;max-width:74vw;overflow:hidden;
  background:#fff;border:1px solid var(--line);border-radius:14px;
  box-shadow:0 20px 44px -16px rgba(15,21,18,.28);
}
.country-search{padding:10px;border-bottom:1px solid #f0f3f2}
.country-search input{
  width:100%;height:40px;padding:0 12px;font-size:15px;color:var(--ink);
  background:#f7f9f8;border:1px solid var(--line);border-radius:9px;outline:none;
}
.country-search input:focus{background:#fff;border-color:var(--green)}
.country-list{max-height:232px;overflow-y:auto;-webkit-overflow-scrolling:touch}
.country-option{
  display:flex;align-items:center;gap:10px;width:100%;min-height:46px;
  padding:8px 12px;border:0;background:#fff;cursor:pointer;text-align:left;
}
.country-option:hover,.country-option:focus-visible{background:var(--green-soft);outline:none}
.country-option[aria-selected=true]{background:var(--green-soft)}
.country-option .name{flex:1 1 auto;min-width:0;font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.country-option .dial{font-size:13.5px;font-weight:600;color:var(--muted-2)}
.country-empty{padding:14px 12px;font-size:14px;color:var(--muted-2);text-align:center}

/* Submit */
.submit{
  display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;min-height:56px;margin-top:8px;padding:0 16px;
  border:0;border-radius:13px;cursor:pointer;
  background:linear-gradient(180deg,#1cc06d 0%,#12a35a 100%);
  color:#fff;font-size:clamp(14px,3.4vw,15.5px);font-weight:800;letter-spacing:.05em;
  box-shadow:0 14px 28px -14px rgba(18,163,90,.85);
  transition:filter .15s ease,transform .15s ease;
}
.submit:hover{filter:brightness(1.06);transform:translateY(-1px)}
.submit:active{transform:none;filter:brightness(.95)}
.submit[disabled]{opacity:.65;cursor:progress;transform:none}
.arrow{width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:7px solid #fff}

.form-msg{margin:0;font-size:14px;font-weight:700;text-align:center;color:var(--green-dark)}
.form-msg.error{color:#c93b31}
.form-note{margin:2px 0 0;font-size:12.5px;line-height:1.5;color:var(--muted-2);text-align:center}

/* Footer */
.site-footer{background:#fff;border-top:1px solid var(--line-2)}
.footer-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;padding-top:20px;padding-bottom:20px;font-size:13px;color:var(--muted-2)}

@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes draw{from{stroke-dashoffset:620}to{stroke-dashoffset:0}}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(1.55)}}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
}
