/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #7C3AED;
  --purple-light: #A78BFA;
  --purple-dark: #5B21B6;
  --purple-bg: #F5F0FF;
  --black: #0A0A0A;
  --white: #ffffff;
  --gray: #6B7280;
  --gray-light: #F9FAFB;
  --border: #E5E7EB;
  --radius: 20px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter','Segoe UI',sans-serif; background: var(--white); color: var(--black); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1rem 3rem; background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.1rem; color: var(--black); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--gray); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--black); }
.nav-cta { background: var(--black) !important; color: var(--white) !important; padding: 0.55rem 1.3rem; border-radius: 8px; font-weight: 700; font-size: 0.85rem; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--purple) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--black); margin: 5px 0; }

/* HERO */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 7rem 3rem 4rem; gap: 3rem; max-width: 1300px; margin: 0 auto; }
.hero-left { display: flex; flex-direction: column; align-items: flex-start; }
.hero-left h1 { font-size: clamp(3rem, 5.5vw, 5.5rem); font-weight: 900; line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 1.5rem; color: var(--black); font-style: italic; }
.hero-left p { font-size: 1rem; color: var(--gray); max-width: 420px; margin-bottom: 2rem; line-height: 1.7; }

/* Newsletter form */
.newsletter-form { display: flex; gap: 0; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 0.75rem; width: 100%; max-width: 440px; }
.newsletter-form .input-icon { display: flex; align-items: center; padding: 0 1rem; color: var(--gray); font-size: 1rem; }
.newsletter-form input { flex: 1; padding: 0.9rem 0.5rem; border: none; background: transparent; color: var(--black); font-size: 0.9rem; outline: none; }
.newsletter-form input::placeholder { color: #9CA3AF; }
.btn-primary { background: var(--black); color: var(--white); padding: 0.9rem 1.5rem; border: none; font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: background 0.2s; white-space: nowrap; letter-spacing: 0.03em; display: flex; align-items: center; gap: 0.5rem; }
.btn-primary:hover { background: var(--purple); }
.form-note { font-size: 0.78rem; color: #9CA3AF; }

/* Premiera badge */
.premiera-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--black); color: var(--white); padding: 0.5rem 1.2rem; border-radius: 8px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; margin-top: 1.5rem; }
.premiera-badge .dot { width: 8px; height: 8px; background: var(--purple-light); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

/* PHONE CAROUSEL */
.hero-right { position: relative; display: flex; flex-direction: column; align-items: center; }
.module-label { text-align: center; margin-bottom: 1.2rem; }
.module-label .mod-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--purple); display: block; margin-bottom: 0.3rem; }
.module-label h3 { font-size: 1.15rem; font-weight: 700; color: var(--black); }
.phone-carousel-wrap { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; height: 500px; }
.phone-slide { position: absolute; transition: all 0.5s cubic-bezier(0.4,0,0.2,1); display: flex; align-items: center; justify-content: center; }
.phone-slide.pos-center { z-index: 3; transform: translateX(0) scale(1); opacity: 1; }
.phone-slide.pos-left { z-index: 1; transform: translateX(-160px) scale(0.78); opacity: 0.4; filter: blur(1px); }
.phone-slide.pos-right { z-index: 1; transform: translateX(160px) scale(0.78); opacity: 0.4; filter: blur(1px); }
.phone-slide.pos-hidden { z-index: 0; transform: translateX(0) scale(0.6); opacity: 0; }
.phone-mockup { width: 230px; border-radius: 36px; border: 3px solid var(--black); box-shadow: 0 24px 64px rgba(0,0,0,0.18); overflow: hidden; background: var(--white); }
.phone-mockup img { width: 100%; height: 460px; object-fit: cover; }
.carousel-controls { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.carousel-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--black); transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.carousel-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.carousel-dots { display: flex; gap: 6px; align-items: center; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all 0.25s; border: none; }
.carousel-dot.active { background: var(--purple); width: 24px; border-radius: 4px; }

/* SECTIONS COMMON */
.section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--purple); margin-bottom: 0.75rem; display: block; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; color: var(--black); margin-bottom: 1rem; }

/* MODULES */
.modules-section { padding: 6rem 3rem; background: var(--gray-light); }
.modules-inner { max-width: 1200px; margin: 0 auto; }
.modules-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; }
.modules-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.module-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: box-shadow 0.2s, transform 0.2s; }
.module-card:hover { box-shadow: 0 8px 32px rgba(124,58,237,0.12); transform: translateY(-3px); }
.module-card-icon { width: 48px; height: 48px; background: var(--purple-bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.2rem; }
.module-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.module-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }

/* ===== BENEFITS – BENTO GRID ===== */
.benefits-section {
  padding: 6rem 3rem;
  background: var(--white);
}
.benefits-inner { max-width: 1200px; margin: 0 auto; }
.benefits-header { text-align: center; margin-bottom: 3.5rem; }
.benefits-header .section-title { max-width: 640px; margin: 0 auto 0.75rem; }
.benefits-header p { color: var(--gray); font-size: 0.95rem; }

/* Bento grid layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

/* Base card */
.bento-card {
  background: var(--white);
  border-radius: 24px;
  padding: 1.75rem;
  border: 1.5px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s, border-color 0.25s;
}
.bento-card.visible { opacity: 1; transform: translateY(0); }
.bento-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.09); border-color: #D1C4F8; transform: translateY(-3px); }
.bento-card.visible:hover { transform: translateY(-3px); }

/* Grid spans */
.bento-card.span-2-col { grid-column: span 2; }
.bento-card.span-2-row { grid-row: span 2; }

/* Colour variants */
.bento-card.c-purple { background: var(--purple); border-color: var(--purple); }
.bento-card.c-dark   { background: var(--black);  border-color: var(--black); }
.bento-card.c-soft   { background: var(--purple-bg); border-color: #E0D4FF; }
.bento-card.c-gray   { background: var(--gray-light); border-color: var(--border); }

/* Big background number/emoji decoration */
.bento-bg-deco {
  position: absolute;
  top: -0.5rem; right: 0.75rem;
  font-size: 7rem;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0.07;
  color: var(--black);
}
.bento-card.c-purple .bento-bg-deco,
.bento-card.c-dark .bento-bg-deco { color: var(--white); opacity: 0.1; }

/* Icon */
.bento-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  line-height: 1;
  display: block;
}

/* Label */
.bento-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.35rem;
  display: block;
}
.bento-card.c-purple .bento-label { color: rgba(255,255,255,0.65); }
.bento-card.c-dark .bento-label   { color: var(--purple-light); }
.bento-card.c-soft .bento-label   { color: var(--purple-dark); }

/* Heading */
.bento-card h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 0.35rem;
}
.bento-card.c-purple h3,
.bento-card.c-dark h3 { color: var(--white); }

/* Body text */
.bento-card p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
}
.bento-card.c-purple p { color: rgba(255,255,255,0.72); }
.bento-card.c-dark p   { color: rgba(255,255,255,0.5); }
.bento-card.c-soft p   { color: var(--purple-dark); }

/* Stat card */
.bento-stat {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.25rem;
  color: var(--purple);
}
.bento-card.c-dark .bento-stat { color: var(--purple-light); }

/* Responsive */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-card { min-height: 160px; }
  .bento-card.span-2-col, .bento-card.span-2-row { grid-column: span 1; grid-row: span 1; }
  .benefits-section { padding: 4rem 1.5rem; }
}

/* CTA */
.cta-section { padding: 6rem 3rem; background: var(--black); text-align: center; }
.cta-section .section-label { color: var(--purple-light); }
.cta-section h2 { font-size: clamp(1.8rem,4vw,3rem); font-weight: 800; color: var(--white); margin-bottom: 1rem; }
.cta-section .cta-sub { color: rgba(255,255,255,0.55); font-size: 1rem; max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-section .newsletter-form { max-width: 460px; margin: 0 auto 0.75rem; background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.15); }
.cta-section .newsletter-form input { color: var(--white); }
.cta-section .newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.cta-section .newsletter-form .input-icon { color: rgba(255,255,255,0.35); }
.cta-section .btn-primary { background: var(--purple); }
.cta-section .btn-primary:hover { background: var(--purple-dark); }
.cta-section .form-note { color: rgba(255,255,255,0.3); }

/* FOOTER */
footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.07); padding: 3rem 3rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand .nav-logo { color: var(--white); margin-bottom: 0.75rem; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.88rem; max-width: 240px; margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: rgba(255,255,255,0.55); transition: all 0.2s; }
.footer-social a:hover { background: var(--purple); border-color: var(--purple); color: var(--white); }
.footer-links h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.07); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: 0.82rem; color: rgba(255,255,255,0.28); }

/* CONTACT PAGE */
.page-hero { padding: 9rem 3rem 4rem; max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.5rem,5vw,4rem); font-weight: 900; font-style: italic; margin-bottom: 1rem; }
.page-hero p { color: var(--gray); font-size: 1.05rem; max-width: 500px; }
.contact-section { padding: 2rem 3rem 6rem; max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; }
.contact-info h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-item-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--purple-bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.contact-item h3 { font-size: 0.8rem; color: var(--gray); margin-bottom: 0.2rem; font-weight: 500; }
.contact-item p { font-size: 0.95rem; font-weight: 600; }
.contact-form-card { background: var(--gray-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; }
.contact-form-card h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--black); margin-bottom: 0.4rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.8rem 1rem; background: var(--white); border: 1.5px solid var(--border); border-radius: 10px; color: var(--black); font-size: 0.9rem; font-family: inherit; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--purple); }
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-black { background: var(--black); color: var(--white); padding: 0.9rem 2rem; border-radius: 10px; border: none; font-size: 0.9rem; font-weight: 700; cursor: pointer; width: 100%; transition: background 0.2s; }
.btn-black:hover { background: var(--purple); }

/* BLOG PAGE */
.blog-hero { padding: 9rem 3rem 3rem; max-width: 1200px; margin: 0 auto; }
.blog-hero h1 { font-size: clamp(2.5rem,5vw,4rem); font-weight: 900; font-style: italic; margin-bottom: 1rem; }
.blog-hero p { color: var(--gray); max-width: 600px; font-size: 1rem; }
.blog-filters { display: flex; gap: 0.6rem; flex-wrap: wrap; padding: 0 3rem 3rem; max-width: 1200px; margin: 0 auto; }
.filter-btn { padding: 0.45rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--border); background: var(--white); color: var(--gray); font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.filter-btn:hover, .filter-btn.active { background: var(--black); border-color: var(--black); color: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; padding: 0 3rem 6rem; }
.blog-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; cursor: pointer; }
.blog-card:hover { border-color: var(--purple-light); box-shadow: 0 8px 32px rgba(124,58,237,0.1); transform: translateY(-3px); }
.blog-card-tag { display: inline-block; background: var(--purple-bg); color: var(--purple); font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 999px; margin-bottom: 0.75rem; }
.blog-card-body { padding: 1.5rem; }
.blog-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.45; color: var(--black); }
.blog-card p { font-size: 0.83rem; color: var(--gray); margin-bottom: 1rem; line-height: 1.6; }
.blog-card-meta { font-size: 0.78rem; color: #9CA3AF; }

/* COOKIE */
.cookie-banner { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.5rem; max-width: 580px; width: calc(100% - 2rem); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; z-index: 999; box-shadow: 0 8px 40px rgba(0,0,0,0.1); }
.cookie-banner p { flex: 1; font-size: 0.83rem; color: var(--gray); min-width: 200px; }
.cookie-banner .cookie-btns { display: flex; gap: 0.75rem; }
.btn-outline { padding: 0.5rem 1rem; border-radius: 8px; border: 1.5px solid var(--border); background: transparent; color: var(--gray); font-size: 0.82rem; cursor: pointer; transition: all 0.2s; }
.btn-outline:hover { border-color: var(--black); color: var(--black); }
.btn-cookie { padding: 0.5rem 1rem; border-radius: 8px; background: var(--black); color: var(--white); border: none; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.cookie-banner.hidden { display: none; }

/* TOAST */
.toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--black); color: var(--white); padding: 1rem 1.5rem; border-radius: 12px; font-size: 0.88rem; font-weight: 600; box-shadow: 0 8px 32px rgba(0,0,0,0.2); transform: translateY(100px); opacity: 0; transition: all 0.3s; z-index: 9999; }
.toast.show { transform: translateY(0); opacity: 1; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 3rem; }
  .hero-right { display: none; }
  .modules-grid { grid-template-columns: 1fr; }
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 1.5rem; border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .contact-section { grid-template-columns: 1fr; padding: 2rem 1.5rem 4rem; }
  .blog-grid, .blog-filters, .blog-hero, .page-hero, .modules-section, .cta-section { padding-left: 1.5rem; padding-right: 1.5rem; }
  footer { padding: 2.5rem 1.5rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
