/* GLOBAL -------------------------------------------------- */

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

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #ffffff;
  background: radial-gradient(circle at 0% 0%, #c281ff 0%, #b488ff 30%, #fc78ba 70%, #ffc259 100%);
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV -------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
  background: linear-gradient(90deg, rgba(137, 66, 219, 0.9), rgba(210, 72, 208, 0.9));
  backdrop-filter: blur(18px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-photo {
  width: 36px;
  height: 36px;
  border-radius: 12px;      /* or 50% for a circle */
  object-fit: cover;        /* fills the box nicely */
  display: block;
}


.logo-text {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav-links a {
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}

/* HERO -------------------------------------------------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px; /* space for fixed nav */
  padding-bottom: 40px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

/* Left side */

.hero-left {
  max-width: 540px;
}

.hero-tagline {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.2em;
  margin: 0 0 16px;
  opacity: 0.85;
}

.hero-title {
  font-size: 48px;
  line-height: 1.2;
  margin: 0 0 16px;
}

.hero-subtitle {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 24px;
  opacity: 0.92;
}

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

.btn-primary {
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: linear-gradient(135deg, #ff7ce0, #fd6279);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
}

.btn-ghost {
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
}

.hero-small {
  font-size: 12px;
  opacity: 0.85;
}

/* Right side – phone mockup ----------------------------- */
.hero-right {
  flex: 0 0 420px;
  display: flex;
  justify-content: center;
}

/* Thin-bezel iPad mockup */

.tablet-mockup {
  width: 420px;
  height: 560px;
  border-radius: 40px;                  /* slightly rounder, modern iPad */
  background: #020617;                  /* very dark frame */
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.55);
  padding: 10px;                         /* <<< this is the bezel thickness */
  position: relative;
}

/* Small camera dot */

.tablet-mockup::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4b5563;
}

/* Edge-to-edge screen inside */

/* Make inside of tablet use iOS system font for realism */
.tablet-screen,
.tablet-screen * {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

/* Whole tablet screen */
.tablet-screen {
  background: #f4f5f7;          /* light grey like your app */
  border-radius: 32px;
  padding: 6px 14px 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #111827;
}
/* container that holds both screens */
.screen-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* each screen sits on top of each other */
.screen {
  position: absolute;
  inset: 0;                    /* top:0; right:0; bottom:0; left:0 */
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;        /* only active screen is clickable */
}

/* visible screen */
.screen.active {
  opacity: 1;
  pointer-events: auto;
}

/* optional: full screenshot screen style */
.full-screenshot {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
}

.full-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* or "contain" if you want letterboxing */
}


/* STATUS BAR -------------------------------------------------- */

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #111827;
  padding: 2px 4px 4px;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  font-size: 8px;
}

.status-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-icon {
  font-size: 11px;
}

.battery {
  width: 18px;
  height: 9px;
  border-radius: 2px;
  border: 1px solid #111827;
  position: relative;
  padding: 1px;
}

.battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 5px;
  border-radius: 1px;
  background: #111827;
}

.battery-inner {
  display: block;
  width: 70%;
  height: 100%;
  background: #22c55e;
  border-radius: 1px;
}

.battery-percent {
  font-size: 10px;
}

/* APP TOP BAR -------------------------------------------------- */

.app-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 2px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.moon-icon {
  font-size: 18px;
}

.app-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  border: none;
  background: transparent;
  font-size: 17px;
  cursor: default;
  padding: 4px;
}

.pro-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: #facc15;
  color: #111827;
  font-size: 11px;
  font-weight: 600;
}

/* MAIN CONTENT -------------------------------------------------- */

.app-content {
  flex: 1;
  padding-top: 18px;
}

.pages-row {
  display: flex;
  gap: 24px;
}

/* each item: card + caption */
.page-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
}

/* base card */
.page-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
  width: 100%;

  /* 🔥 make ALL cards square */
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* dashed "New" card */
.page-card.new-page {
  background: #f4f5f7;
  border: 2px dashed #60a5fa;
  box-shadow: none;
}

/* this can now be auto-sized inside the square */
.new-inner {
  width: 100%;
  height: 100%;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}



.new-icon {
  font-size: 28px;
  margin-bottom: 2px;
}

.new-text-main {
  font-size: 13px;
  font-weight: 500;
}

/* caption under cards */
.page-caption {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #111827;
}

.new-caption {
  color: #9ca3af;
}

/* page thumbnails */
.page-image {
  width: 100%;
  height: 100%;             /* fill the square card */
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;

  /* if you use background-image later */
  background-size: cover;
  background-position: center;
}


/* Replace these with real screenshots later */
.page-image-1 {
   background-image: "./kittys work day";
     background-size: cover;
     background-position: center; 
}

.page-image-2 {
  /* background-image: url("img/colouring-page-2.png"); */
}

/* Make both screens flex columns for proper layout */
.screen-1,
.screen-2 {
  display: flex;
  flex-direction: column;
}

/* DRAWING SCREEN ---------------------------------------- */

/* top toolbar */

.draw-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 6px 4px;
}

.draw-top-left {
  display: flex;
  align-items: center;
}

.home-icon {
  font-size: 18px;
}

.draw-top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.draw-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tool-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.tool-icon.active {
  background: #e5e7eb;
}

.draw-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.clear-pill {
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  background: #e5e7eb;
  font-size: 12px;
  font-weight: 500;
  cursor: default;
}

.color-pill {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: conic-gradient(
    from 0deg,
    #fb7185,
    #f97316,
    #facc15,
    #22c55e,
    #38bdf8,
    #6366f1,
    #a855f7,
    #fb7185
  );
}

/* main drawing area */

.draw-main {
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 24px;
  padding: 20px 10px 8px;
}

/* left slider */

.draw-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #111827;
}

.slider-track {
  width: 4px;
  height: 220px;
  border-radius: 999px;
  background: #e5e7eb;
  position: relative;
}

.slider-thumb {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 2px #3b82f6;
}

/* central canvas */

.draw-canvas-area {
  display: flex;
  align-items: center;
  justify-content: center;
}

.draw-canvas-frame {
  width: 100%;
  max-width: 420px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.draw-canvas-page {
  width: 100%;
  padding-top: 100%;          /* square page */
  max-width: 420px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 0 16px #e5e7eb;  /* grey border like the screenshot */
  position: relative;
}

/* you can later use a real lineart image here */
.draw-canvas-page::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 4px;
  border: 2px solid #111827;
  opacity: 0.3;
}

/* bottom thumbnail strip */

.draw-bottom-strip {
  display: flex;
  align-items: center;
  padding: 4px 10px 6px;
}

.thumb-page {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  padding: 4px 8px 4px 4px;
  border: 2px solid #3b82f6;
  background: #ffffff;
}

.thumb-image {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.thumb-index {
  font-size: 11px;
  font-weight: 500;
}

/* HOME INDICATOR ---------------------------------------------- */

.home-indicator {
  margin-top: auto;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.home-indicator::before {
  content: "";
  width: 80px;
  height: 3px;
  border-radius: 999px;
  background: #111827;
  opacity: 0.85;
}


/* card gradients */

.card-pink {
  background: linear-gradient(135deg, #ff7ac3, #f97316);
}

.card-blue {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
}

.card-purple {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

/* RESPONSIVE ------------------------------------------- */

@media (max-width: 960px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-left {
    align-items: center;
  }

  .hero-subtitle,
  .hero-left {
    max-width: 100%;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .hero-right {
    flex: 0 0 auto;
  }

  .nav-links {
    display: none; /* simple: hide full nav on small screens */
  }

  .nav-cta {
    display: none;
  }

  .nav-inner {
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 36px;
  }

  .tablet-mockup {
    width: 300px;
    height: 420px;
  }
}


/* CONTACT PAGE LAYOUT */
.contact-page {
  min-height: 100vh;
  padding-top: 100px; /* space for fixed nav */
}

/* CONTACT SECTION ---------------------------------------- */

.contact {
  padding: 40px 0 80px;
  background: radial-gradient(circle at 0% 0%,
      rgba(137, 66, 219, 0.12),
      rgba(210, 72, 208, 0.04));
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
}

.contact-title {
  font-size: 32px;
  margin: 0 0 10px;
  color: #ffffff;
}

.contact-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 420px;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.contact-details li + li {
  margin-top: 6px;
}

.contact-right {
  display: flex;
  justify-content: flex-end;
}

/* form card */

.contact-form {
  width: 100%;
  max-width: 460px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 24px;
  padding: 26px 24px 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.form-field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(209, 213, 219, 0.9);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  padding: 10px 14px;
  font-size: 14px;
  color: #e5e7eb;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-field textarea {
  border-radius: 18px;
  resize: vertical;
  min-height: 120px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #f472b6;
  box-shadow: 0 0 0 1px rgba(244, 114, 182, 0.6);
}

/* button reuse of your gradient */

.contact-btn {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* responsive */

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-right {
    justify-content: flex-start;
  }

  .contact-form {
    max-width: 100%;
  }
}
