@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  /* Warm Light Palette */
  --bg: #FAF7F2;
  --panel: #FFFFFF;
  --ink: #2C1A11;
  --muted: #624E43;
  --line: #EBE4DA;
  --brand: #C39B62;
  --brand-dark: #A27A45;
  --brand-light: #F2EAE0;
  --accent: #D67A2A;
  --soft: #F5EFE4;
  --ok: #1D754B;
  
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', var(--font-body);
  
  --shadow: 0 10px 30px rgba(44, 26, 17, 0.04);
  --shadow-strong: 0 20px 50px rgba(44, 26, 17, 0.08);
  
  --radius: 12px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Warm Dark Palette */
    --bg: #130D09;
    --panel: #1D140F;
    --ink: #FFF6EB;
    --muted: #C8B2A1;
    --line: #38271D;
    --brand: #F4C21D;
    --brand-dark: #FFD75F;
    --brand-light: #2C1E16;
    --accent: #F4C21D;
    --soft: #281B13;
    --ok: #6ED3A2;
    
    --shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.5);
  }
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1.2rem;
  font-weight: 400;
  opacity: 0.95;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-dark);
}

/* Header & Navigation */
.header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

@media (prefers-color-scheme: dark) {
  .logo-img {
    filter: drop-shadow(0 0 4px rgba(244, 194, 29, 0.2)) brightness(1.1);
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.nav-item a {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 550;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.nav-item a:hover,
.nav-item.active a {
  background: var(--brand-light);
  color: var(--brand-dark);
  text-decoration: none;
}

/* Layout Container */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  flex: 1 0 auto;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 1.5rem;
  background: radial-gradient(circle at 10% 20%, var(--brand-light) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, var(--soft) 0%, transparent 40%);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--soft);
  color: var(--accent);
  border: 1px solid var(--line);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.availability-badge::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 99px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  text-align: left;
}

.hero-text {
  flex: 1;
}

.hero-text .hero-subtitle {
  margin: 0 0 2rem 0;
}

.hero-text .btn-group {
  justify-content: flex-start;
}

.hero-image-container {
  flex: 0 0 260px;
  max-width: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 3px solid var(--panel);
  box-shadow: var(--shadow-strong);
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: var(--transition);
}

.hero-image:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 60px rgba(44, 26, 17, 0.15);
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-text .hero-subtitle {
    margin: 0 auto 2rem;
  }
  
  .hero-text .btn-group {
    justify-content: center;
  }
  
  .hero-image-container {
    flex: 0 0 180px;
    max-width: 180px;
    margin: 0 auto;
  }
}

/* Cards & Grid Layouts */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-strong);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Button Styling */
.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--soft);
  border-color: var(--brand);
  color: var(--ink);
  text-decoration: none;
}

/* Timeline Layout for CV */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--line);
  margin-left: 1rem;
  display: grid;
  gap: 2rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-2rem - 6px);
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--brand);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--line);
}

.timeline-date {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.timeline-company {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.timeline-content {
  font-size: 0.95rem;
  opacity: 0.9;
}

.timeline-tech {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 550;
}

/* List details */
ul.checked-list {
  list-style: none;
}

ul.checked-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

ul.checked-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: bold;
}

/* Support Center styling */
.support-hero {
  background: linear-gradient(135deg, var(--brand-light) 0%, transparent 100%);
  border: 1px solid var(--line);
  padding: 2.5rem;
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.download-card {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: var(--transition);
}

.download-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.download-os-icon {
  font-size: 2.5rem;
  color: var(--brand-dark);
}

.download-info {
  font-size: 0.85rem;
  color: var(--muted);
}

.support-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.25rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--brand);
  color: #fff;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.step-text h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.step-text p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Footer */
.footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin-top: auto;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-address {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: left;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-address {
    text-align: center;
  }
  
  h1 {
    font-size: 2rem;
  }
}
