/* ===== DayPlanner Marketing Site Styles ===== */

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

:root {
  --blue-50:  #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white:    #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
}

.nav-brand .brand-icon {
  font-size: 1.4rem;
}

.nav-brand .brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.hero-logo {
  height: 160px;
  width: auto;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.2));
}

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

.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-600);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  color: var(--white);
  text-align: center;
  padding: 6rem 1.5rem 5rem;
}

.hero-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.2));
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: .6rem;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  opacity: .88;
  max-width: 560px;
  margin: 0 auto 2.4rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  border: none;
}

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

.btn-primary {
  background: var(--white);
  color: var(--blue-700);
}

.btn-secondary {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}

/* ===== SECTIONS ===== */
section { padding: 5rem 1.5rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue-600);
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ===== VIDEO ===== */
.video-section { background: var(--gray-50); }

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-900);
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3a5f 0%, #1D4ED8 100%);
  color: var(--white);
  text-align: center;
  padding: 2rem;
}

.video-placeholder .play-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: .7;
}

.video-placeholder h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.video-placeholder p {
  font-size: .9rem;
  opacity: .75;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: .9rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .5rem;
}

.feature-card p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ===== SCREENSHOTS ===== */
.screenshots-section { background: var(--blue-50); }

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.screenshot-frame {
  background: var(--white);
  border-radius: 24px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--gray-900);
  max-width: 260px;
  width: 100%;
  transition: transform .25s;
}

.screenshot-frame:hover { transform: scale(1.03); }

.screenshot-frame img {
  border-radius: 16px;
  width: 100%;
  display: block;
}

.screenshot-caption {
  text-align: center;
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* ===== INFO SECTION ===== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 700px) {
  .info-grid { grid-template-columns: 1fr; }
}

.info-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.info-text p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.check-list {
  list-style: none;
  margin-top: 1rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .6rem;
  font-size: .95rem;
  color: var(--gray-700);
}

.check-list li::before {
  content: "✓";
  color: var(--blue-600);
  font-weight: 700;
  margin-top: .05rem;
  flex-shrink: 0;
}

.info-visual {
  background: linear-gradient(135deg, var(--blue-100) 0%, var(--blue-50) 100%);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  font-size: 6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-visual-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: .75rem;
}

.cta-section p {
  font-size: 1.05rem;
  opacity: .88;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
}

.about-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: .6rem;
}

.about-hero p {
  font-size: 1.1rem;
  opacity: .88;
  max-width: 540px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-700);
}

.team-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .25rem;
}

.team-role {
  font-size: .82rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #0A66C2;
  color: var(--white);
  border-radius: 6px;
  padding: .4rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  transition: background .2s;
}

.linkedin-btn:hover { background: #004182; }

.linkedin-icon {
  font-size: .9rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--gray-900);
  color: var(--gray-400);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: .88rem;
}

footer a {
  color: var(--blue-500);
  transition: color .2s;
}

footer a:hover { color: var(--white); }

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* ===== HAMBURGER BUTTON ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* X animation when open */
.navbar.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.navbar.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .navbar {
    padding: 0 1rem;
    flex-wrap: wrap;
    height: auto;
    min-height: 64px;
    align-items: center;
  }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: .25rem 0 .75rem;
    border-top: 1px solid var(--gray-200);
  }

  .nav-links li a {
    display: block;
    padding: .65rem .25rem;
    font-size: 1rem;
  }

  .navbar.nav-open .nav-links { display: flex; }

  .hero { padding: 4rem 1rem 3.5rem; }
  section { padding: 3.5rem 1rem; }
}
