/* Cedarbrook Global — Modern E-Commerce Design */

:root {
  --bg: #0a0e14;
  --bg-gradient: #1a1f2e;
  --panel: #151a23;
  --text: #e8ecf2;
  --muted: #a0aec0;
  --brand: #3b82f6;
  --brand-light: #60a5fa;
  --brand-dark: #2563eb;
  --accent: #10b981;
  --border: #1f2937;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-gradient) 100%);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10, 14, 20, 0.8);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: var(--transition);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transition: var(--transition);
}

.brand:hover .brand-mark {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  transform: rotate(-5deg);
}

.brand-name {
  color: var(--text);
}

.menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.menu a {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: var(--transition);
}

.menu a:hover {
  color: var(--text);
  text-decoration: none;
}

.menu a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  padding: 120px 0 80px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

.h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border: none;
  color: white;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.btn.primary:hover {
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.card {
  background: linear-gradient(145deg, var(--panel), rgba(21, 26, 35, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow);
}

.bullets {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.bullets li {
  padding-left: 24px;
  position: relative;
  color: var(--muted);
}

.bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-sub {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 600px;
}

.muted {
  color: var(--muted);
}

/* Services Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
}

.service p {
  color: var(--muted);
  line-height: 1.6;
}

/* Expertise Section */
.expertise-section {
  background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.03) 100%);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.expertise {
  position: relative;
  overflow: hidden;
}

.expertise-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--brand-light);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.expertise h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
}

.expertise p {
  color: var(--muted);
}

/* Contact Section */
.contact-card {
  max-width: 900px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.contact-heading {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: grid;
  gap: 4px;
}

.contact-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  font-weight: 600;
}

.contact-list a {
  font-size: 16px;
  color: var(--brand-light);
}

.contact-info p {
  line-height: 1.7;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
  font-size: 14px;
  margin-top: 40px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-row a {
  color: var(--muted);
  transition: var(--transition);
}

.footer-row a:hover {
  color: var(--text);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 20, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 8px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }
  
  .menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .menu a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  
  .menu a:last-child {
    border-bottom: none;
  }
  
  .hero {
    padding: 80px 0 60px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .grid,
  .expertise-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  
  .nav {
    height: 64px;
  }
  
  .hero {
    padding: 60px 0 40px;
  }
  
  .cta-row {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}
