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

:root {
  /* Cofhum Dark Colors */
  --cof-navy: #f5f5f7;        /* Text Strong / Titles */
  --cof-navy-2: #d6d6db;
  --cof-accent: #c49134;      /* Gold Accent */
  --cof-accent-2: #d3a24a;
  --cof-cream: #101013;       /* Background */
  --cof-surface: #1c1c20;     /* Cards */
  --cof-ink: #f5f5f7;         /* Main text */
  --cof-muted: #9a9aa1;       /* Secondary text */
  --cof-hairline: rgba(255, 255, 255, 0.14);
  --cof-success: #34d399;
  
  /* Gradients & Shadows */
  --bg-gradient: linear-gradient(135deg, #101013 0%, #1c1c20 100%);
  --accent-gradient: linear-gradient(135deg, #d3a24a 0%, #c49134 100%);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --glass-bg: rgba(16, 16, 19, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-gradient);
  color: var(--cof-ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cof-navy);
  text-decoration: none;
}

.navbar .logo img {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--cof-navy-2);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5% 4rem;
  max-width: 1400px;
  margin: 0 auto;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(196, 145, 52, 0.15);
  color: var(--cof-accent);
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--cof-navy);
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--cof-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--accent-gradient);
  color: #1a1408; /* Dark text on gold for high contrast */
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.125rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(196, 145, 52, 0.2);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(196, 145, 52, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--cof-surface);
  color: var(--cof-ink);
  text-decoration: none;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.2s ease;
  border: 1px solid var(--cof-hairline);
}

.btn-secondary:hover {
  background: var(--cof-cream);
  border-color: #c8c8cd;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 2;
  background: var(--cof-surface);
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  border: 8px solid #2a2a30; /* Dark phone frame */
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  background: var(--cof-cream);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 1.5rem;
}

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

.mockup-avatar {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--cof-accent);
}

.mockup-card {
  background: var(--cof-surface);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cof-hairline);
}

.mockup-chart {
  height: 120px;
  background: linear-gradient(180deg, rgba(196,145,52,0.1) 0%, rgba(196,145,52,0) 100%);
  border-radius: 8px;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.mockup-chart::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cof-accent);
  box-shadow: 0 -10px 20px rgba(196,145,52,0.5);
}

.mockup-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-list-item {
  height: 60px;
  background: var(--cof-surface);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 1rem;
  border: 1px solid var(--cof-hairline);
}

.mockup-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--cof-cream);
}

.mockup-text-line {
  height: 8px;
  background: var(--cof-hairline);
  border-radius: 4px;
  width: 60%;
}

.mockup-text-line.short {
  width: 40%;
  margin-top: 6px;
}


/* Features Section */
.features {
  padding: 8rem 5%;
  background: var(--cof-cream);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cof-navy);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--cof-muted);
  font-size: 1.125rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  padding: 2.5rem;
  border-radius: 24px;
  background: var(--cof-surface);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid var(--cof-hairline);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: #26262c;
  border-color: var(--cof-accent);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(196, 145, 52, 0.15);
  color: var(--cof-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--cof-navy);
}

.feature-card p {
  color: var(--cof-muted);
  line-height: 1.6;
}

/* Footer */
footer {
  background: #0a0a0c;
  color: #f5f5f7;
  padding: 5rem 5% 2rem;
  border-top: 1px solid var(--cof-hairline);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand img {
  height: 32px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: #a1a1aa;
}

.footer-links h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a1a1aa;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 7rem;
    gap: 3rem;
  }
  
  .hero p {
    margin: 0 auto 2.5rem;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .nav-links {
    display: none;
  }
}
