/* =========================================
   Disconnect Software Studios — Style
   Palette: warm cream, gold, soft charcoal
   ========================================= */

:root {
  --bg:         #FAF8F4;
  --bg-card:    #FFFFFF;
  --gold:       #B8A04A;
  --gold-light: #D4C77A;
  --gold-dark:  #8A7735;
  --text:       #3D3D3D;
  --text-light: #8A8A85;
  --text-heading: #2C2C2C;
  --border:     #E8E4DC;
  --shadow:     rgba(0, 0, 0, 0.04);

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width:  960px;
  --spacing:    2rem;
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 500;
  line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
  max-width: 640px;
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

a:hover {
  border-bottom-color: var(--gold);
}

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* ---- Header / Nav ---- */
header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-heading);
  letter-spacing: 0.02em;
  font-weight: 600;
}

.logo span {
  color: var(--gold);
}

nav a {
  margin-left: 2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  border-bottom: none;
  transition: color 0.2s;
}

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

/* ---- Hero ---- */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--gold);
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* ---- Philosophy Section ---- */
.philosophy {
  padding: 4rem 0;
}

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.principle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.2s;
}

.principle:hover {
  box-shadow: 0 4px 20px var(--shadow);
}

.principle-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}

.principle h3 {
  margin-bottom: 0.5rem;
}

.principle p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ---- Apps Section ---- */
.apps {
  padding: 4rem 0;
}

.app-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  margin-top: 2rem;
}

.app-preview {
  background: var(--bg);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-height: 400px;
}

.app-preview .leaf {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin-bottom: 1.5rem;
}

.app-preview .app-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text-heading);
}

.app-preview .app-sub {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.app-info h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  background: rgba(184, 160, 74, 0.1);
  border: 1px solid rgba(184, 160, 74, 0.2);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
}

.app-links {
  margin-top: 1.5rem;
}

.app-links a {
  font-size: 0.85rem;
  margin-right: 1.5rem;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold-light);
}

/* ---- Contact Section ---- */
.contact {
  padding: 4rem 0;
}

.contact-form {
  max-width: 520px;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg);
  background: var(--gold);
  border: none;
  border-radius: 8px;
  padding: 0.8rem 2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--gold-dark);
}

/* ---- Footer ---- */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-light);
  font-size: 0.8rem;
}

footer a {
  color: var(--text-light);
}

/* ---- Responsive ---- */
@media (max-width: 700px) {
  html { font-size: 16px; }

  h1 { font-size: 2.2rem; }

  .hero { padding: 4rem 0 3rem; }

  .app-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-preview {
    max-height: 300px;
    margin: 0 auto;
    width: 200px;
  }

  .app-badges {
    justify-content: center;
  }

  .app-links {
    text-align: center;
  }

  nav a {
    margin-left: 1rem;
  }
}
