/* Studio Creation Methodology — unified dark theme */

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --bg-main:#0e0e11;
  --bg-secondary:#15151a;
  --bg-card:#1c1c22;

  --text-main:#e6e6eb;
  --text-muted:#9a9aa5;

  --accent:#caa56a;
  --accent-hover:#e0bc82;

  --border-soft: rgba(255,255,255,.08);
  --shadow: 0 20px 60px rgba(0,0,0,.35);
}

html { scroll-behavior: smooth; }

body{
  background: var(--bg-main);
  color: var(--text-main);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  line-height: 1.6;
}

/* Base typography */
p{ color: var(--text-muted); }
.light-bg p, .brown-bg p{ color: rgba(11,11,13,.8); }

/* Layout helpers */
.container{
  width: min(1100px, calc(100% - 3rem));
  margin: 0 auto;
}

/* Header / Nav */
header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(14,14,17,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 1.2rem;
  padding: 1rem 1.25rem;
  flex-wrap: wrap;
}

nav a{
  color: var(--text-muted);
  text-decoration:none;
  font-size: .95rem;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

nav a:hover{ color: var(--accent); }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: .6rem 1.05rem;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  background: transparent;
}

.btn:hover{
  border-color: rgba(202,165,106,.55);
  background: rgba(202,165,106,.08);
  transform: translateY(-1px);
}

/* Sections */
section{
  padding: 100px 0;
  border-bottom: 1px solid var(--border-soft);
}

section:last-child{ border-bottom: none; }

.dark-bg{ background: var(--bg-main); color: var(--text-main); }
.light-bg{ background: #ffffff; color:#0b0b0d; }
.brown-bg{ background: var(--accent); color:#0b0b0d; }

/* Hero */
.hero{
  padding: 120px 0 70px;
  background: radial-gradient(1200px 500px at 50% 0%, rgba(202,165,106,.18), transparent 60%),
              var(--bg-main);
  text-align:center;
}

.hero h1{
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 650;
  letter-spacing: .02em;
  margin: 0 auto 1rem;
  width: min(980px, 100%);
}

.hero p{
  color: var(--text-muted);
  font-size: 1.05rem;
  width: min(820px, 100%);
  margin: 0 auto 1.8rem;
}

.hero .btn{
  border-color: rgba(202,165,106,.55);
  color: var(--accent);
  background: rgba(202,165,106,.06);
  padding: .75rem 1.25rem;
  border-radius: 12px;
}

.hero .btn:hover{
  background: rgba(202,165,106,.14);
  border-color: rgba(202,165,106,.85);
}

/* Placeholder image blocks */
.studio-image{
  width: min(720px, 100%);
  border-radius: 20px;
  margin: 2rem auto 0;
  display:block;
  background: linear-gradient(45deg, #222, #3a3a44);
  border: 1px solid var(--border-soft);
  height: 320px;
}

/* Methodology */
.methodology{
  display:flex;
  gap: 3.5rem;
  align-items:flex-start;
  justify-content:space-between;
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

.methodology h2{
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: .02em;
  margin-bottom: .6rem;
}

.methodology .subtitle{
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 1.6rem;
}

.methodology p{
  color: var(--text-muted);
  font-size: 1rem;
}

/* Sound basics */
.sound-basics{ text-align:center; }
.sound-basics h2{
  font-size: 2rem;
  font-weight: 650;
  margin-bottom: .8rem;
}
.sound-basics > p{
  width: min(820px, 100%);
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.features{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 1.25rem;
  width: min(520px, 100%);
  margin: 0 auto;
}

.feature-item{
  width: 100%;
  display:flex;
  gap: 1rem;
  text-align:left;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}

.feature-icon{
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(202,165,106,.22);
  border: 1px solid rgba(202,165,106,.35);
  position: relative;
  flex-shrink:0;
  margin-top: .1rem;
}
.feature-icon::after{
  content:'✓';
  color: var(--accent);
  position:absolute;
  top:50%; left:50%;
  transform: translate(-50%, -50%);
  font-size: .85rem;
  font-weight: 800;
}

.feature-text h3{
  font-weight: 650;
  margin-bottom: .25rem;
}
.feature-text p{
  color: var(--text-muted);
  font-size: .98rem;
}

/* Constructor */
.constructor{ text-align:center; }
.constructor h2{ font-size: 2rem; font-weight: 650; margin-bottom: .8rem; }
.constructor > p{
  width: min(820px, 100%);
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.constructor-demo{
  width: min(860px, 100%);
  height: 320px;
  background: #050506;
  border-radius: 22px;
  margin: 0 auto;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
}

/* Contacts */
.contacts{ text-align:center; }
.contacts h2{ font-size: 2rem; font-weight: 650; margin-bottom: .8rem; }
.contacts > p{
  width: min(640px, 100%);
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.contact-content{
  display:flex;
  gap: 3rem;
  align-items:flex-start;
  justify-content:space-between;
  width: min(1000px, calc(100% - 3rem));
  margin: 0 auto;
}

.contact-info{
  flex:1;
  text-align:left;
}
.contact-info p{
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  font-weight: 650;
}
.social-icons{
  display:flex;
  gap: .75rem;
}
.social-icon{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-soft);
}

.contact-form{
  flex:1;
  text-align:left;
}
.form-group{ margin-bottom: 1rem; }

.form-group input,
.form-group textarea{
  width:100%;
  padding: .9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: var(--bg-secondary);
  color: var(--text-main);
  font-size: 1rem;
}
.form-group textarea{ min-height: 120px; resize: vertical; }

.form-group input:focus,
.form-group textarea:focus{
  outline:none;
  border-color: rgba(202,165,106,.75);
}

.submit-btn{
  background: transparent;
  color: var(--accent);
  padding: .9rem 1.25rem;
  border: 1px solid rgba(202,165,106,.55);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 650;
  cursor:pointer;
  transition: all .2s ease;
}
.submit-btn:hover{
  background: rgba(202,165,106,.12);
  border-color: rgba(202,165,106,.9);
  transform: translateY(-1px);
}

/* Footer */
footer{
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  text-align:center;
  padding: 2rem 1.25rem;
}

/* Auth + dashboard pages */
.page-center{
  padding-top: 7rem;
  padding-bottom: 5rem;
  min-height: calc(100vh - 120px);
}

.card{
  width: min(560px, calc(100% - 2rem));
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
}

.card h2{
  font-size: 2rem;
  font-weight: 650;
  margin-bottom: .5rem;
}

.card .muted{
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.card .error{
  background: rgba(255, 90, 90, .12);
  border: 1px solid rgba(255, 90, 90, .30);
  color: #ffb3b3;
  padding: .85rem 1rem;
  border-radius: 14px;
  margin-bottom: 1rem;
}


.form-row{ margin-bottom: 1rem; }
.form-row label{
  display:block;
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: .35rem;
}

.form-row input{
  width: 100%;
  padding: .95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: var(--bg-secondary);
  color: var(--text-main);
  font-size: 1rem;
}

.form-row input:focus{
  outline:none;
  border-color: rgba(202,165,106,.75);
}

.form-actions{
  display:flex;
  gap: .8rem;
  align-items:center;
  margin-top: 1.1rem;
}

.form-actions .btn{
  border-color: rgba(202,165,106,.55);
  color: var(--accent);
}

.form-actions .btn.primary{
  background: rgba(202,165,106,.95);
  border-color: rgba(202,165,106,.0);
  color: #0b0b0d;
}
.form-actions .btn.primary:hover{
  background: var(--accent-hover);
}

/* Responsive */
@media (max-width: 900px){
  .methodology{ flex-direction: column; gap: 2rem; }
  .contact-content{ flex-direction: column; gap: 2rem; }
  section{ padding: 80px 0; }
  .hero{ padding: 110px 0 60px; }
}


/* Auth pages (login / register) */
.auth-wrap{
  min-height: calc(100vh - 90px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 6.5rem 1rem 4rem;
}

.auth-card{
  width: min(560px, calc(100% - 2rem));
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
}

.auth-card h1, .auth-card h2{
  font-size: 2rem;
  font-weight: 650;
  margin-bottom: .5rem;
}

.auth-meta{
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.auth-links{
  margin-top: 1.15rem;
  display:flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.auth-links a{
  color: var(--text-muted);
  text-decoration:none;
  border-bottom: 1px dashed rgba(255,255,255,.18);
}

.auth-links a:hover{
  color: var(--accent);
  border-bottom-color: rgba(202,165,106,.55);
}

/* Buttons variants for auth */
.btn.primary{
  background: rgba(202,165,106,.95);
  border-color: rgba(202,165,106,.0);
  color: #0b0b0d;
}

.btn.primary:hover{
  background: var(--accent-hover);
}

.btn.secondary{
  border-color: rgba(255,255,255,.12);
  color: var(--text-muted);
}

/* Mobile tweaks for auth */
@media (max-width: 520px){
  .auth-card{ padding: 1.8rem 1.35rem; border-radius: 16px; }
  .auth-links{ flex-direction: column; align-items:flex-start; }
}
