/* =============================================
   GRAFF CREATIVE — styles.css
   Mobile-first, modern, clean
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --blue:       #2563eb;
  --blue-dark:  #1d4ed8;
  --blue-light: #eff6ff;
  --black:      #0a0a0a;
  --gray-900:   #111827;
  --gray-700:   #374151;
  --gray-500:   #6b7280;
  --gray-200:   #e5e7eb;
  --gray-100:   #f3f4f6;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.14);
  --transition: .25s ease;
  --font:       'Inter', system-ui, sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--gray-900);
}

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 5rem 0; }
.section--alt { background: var(--gray-100); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn--primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 6px 20px rgba(37,99,235,.45);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn--outline:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}
.btn--ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-1px);
}
.btn--full { width: 100%; }

/* ---------- Section Header ---------- */
.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section__tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section__title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: .85rem;
}
.section__sub {
  color: var(--gray-500);
  font-size: 1.05rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--black);
}
.logo span { color: var(--blue); }

/* Nav */
.nav__list {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav__link {
  padding: .5rem .85rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
}
.nav__link:hover { background: var(--gray-100); color: var(--black); }
.nav__link--cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: .5rem 1.1rem;
  margin-left: .5rem;
}
.nav__link--cta:hover { background: var(--blue-dark); color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 1.25rem;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav__link { display: block; text-align: center; padding: .8rem; }
  .nav__link--cta { margin-left: 0; margin-top: .5rem; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
  background: var(--black);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(37,99,235,.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(37,99,235,.12) 0%, transparent 60%);
}
/* Subtle dot grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.badge {
  display: inline-block;
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(37,99,235,.4);
  color: #93c5fd;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.hero__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -.5px;
  margin-bottom: 1.25rem;
}
.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.7);
  margin-bottom: 2.25rem;
}
.hero__sub strong { color: var(--white); }
.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.stat__label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}
.stat__divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.15);
}
.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-hint span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  margin: 0 auto;
  animation: scrollHint 2s ease infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(.5); opacity: .4; }
}

/* ============================================
   SERVICES
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 30px rgba(37,99,235,.12);
  transform: translateY(-4px);
}
.card__icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--blue);
}
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.card p { color: var(--gray-500); font-size: .95rem; line-height: 1.65; }

/* ============================================
   PRICING
   ============================================ */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing__card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
}
.pricing__card:hover { box-shadow: var(--shadow-lg); }
.pricing__card--featured {
  border-color: var(--blue);
  background: linear-gradient(135deg, #f0f7ff 0%, var(--white) 100%);
  box-shadow: 0 8px 40px rgba(37,99,235,.15);
}
.pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing__header { margin-bottom: 1.75rem; }
.pricing__header h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; }
.pricing__header p { color: var(--gray-500); font-size: .9rem; margin-top: .5rem; }
.pricing__amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}
.pricing__dollar { font-size: 1.5rem; vertical-align: super; font-weight: 700; }
.pricing__period { font-size: 1rem; color: var(--gray-500); font-weight: 500; }
.pricing__list { margin-bottom: 2rem; }
.pricing__list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .93rem;
  color: var(--gray-700);
}
.check {
  width: 20px;
  height: 20px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.pricing__note {
  text-align: center;
  margin-top: 2rem;
  color: var(--gray-500);
  font-size: .9rem;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.portfolio__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.portfolio__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portfolio__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.portfolio__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.portfolio__item:hover .portfolio__img-wrap img { transform: scale(1.06); }
.portfolio__overlay {
  position: absolute;
  inset: 0;
  background: rgba(37,99,235,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio__item:hover .portfolio__overlay { opacity: 1; }
.portfolio__overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,.7);
  padding: .6rem 1.4rem;
  border-radius: 8px;
}
.portfolio__info { padding: 1.25rem 1.5rem; }
.portfolio__tag {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--blue);
  background: var(--blue-light);
  padding: .2rem .7rem;
  border-radius: 100px;
}
.portfolio__info h3 { margin: .6rem 0 .3rem; font-size: 1.05rem; font-weight: 700; }
.portfolio__info p { color: var(--gray-500); font-size: .88rem; }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.why__item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.why__item:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 24px rgba(37,99,235,.1);
  transform: translateY(-3px);
}
.why__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.why__item h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.why__item p { color: var(--gray-500); font-size: .9rem; line-height: 1.65; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps__grid {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.step:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step__num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-light);
  -webkit-text-stroke: 2px var(--blue);
  text-stroke: 2px var(--blue);
  line-height: 1;
  margin-bottom: .75rem;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.step p { color: var(--gray-500); font-size: .87rem; line-height: 1.6; }
.step__arrow {
  font-size: 1.5rem;
  color: var(--gray-200);
  margin-top: 2rem;
  flex-shrink: 0;
  align-self: center;
}
@media (max-width: 640px) {
  .steps__grid { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); }
  .step { max-width: 100%; width: 100%; }
  .pricing__grid { grid-template-columns: 1fr; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.testimonial:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial__stars { color: #f59e0b; font-size: 1rem; margin-bottom: .75rem; letter-spacing: 2px; }
.testimonial p {
  color: var(--gray-700);
  font-size: .92rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial__author strong { display: block; font-size: .93rem; }
.testimonial__author span { color: var(--gray-500); font-size: .8rem; }

/* ============================================
   CONTACT
   ============================================ */
.contact-form{
max-width:500px;
margin:auto;
display:flex;
flex-direction:column;
gap:12px;
font-family:Arial, sans-serif;
}

.contact-form label{
font-size:14px;
font-weight:600;
color:#333;
}

.contact-form input,
.contact-form textarea,
.contact-form select{
padding:12px;
border:1px solid #d1d5db;
border-radius:6px;
font-size:14px;
background:#f9fafb;
}

.contact-form textarea{
resize:vertical;
}

.contact-form button{
margin-top:10px;
background:#4A72C9;
color:white;
padding:14px;
font-size:16px;
font-weight:600;
border:none;
border-radius:8px;
cursor:pointer;
transition:0.2s;
}

.contact-form button:hover{
background:#3c5fb1;
}

.contact__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .contact__wrap { grid-template-columns: 1fr auto; align-items: start; }
}
.contact__form { width: 100%; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__group { margin-bottom: 1.1rem; }
.form__group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .4rem;
}
.form__group input,
.form__group textarea,
.form__group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form__group input.error,
.form__group textarea.error {
  border-color: #ef4444;
}
.form__success {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 8px;
  color: #16a34a;
  font-weight: 600;
  font-size: .9rem;
  text-align: center;
}
.contact__info {
  min-width: 240px;
}
.contact__info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.contact__info > p { color: var(--gray-500); font-size: .9rem; margin-bottom: 1.5rem; }
.contact__link {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--blue);
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}
.contact__link:hover { color: var(--blue-dark); }
.contact__link svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact__service-area {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.contact__service-area h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); margin-bottom: .4rem; }
.contact__service-area p { font-size: .9rem; color: var(--gray-700); line-height: 1.8; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 1.25rem 3rem;
}
@media (min-width: 640px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__brand .logo { color: var(--white); margin-bottom: .75rem; }
.footer__brand p { font-size: .87rem; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 260px; }
.footer h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.footer ul li {
  margin-bottom: .5rem;
  font-size: .88rem;
}
.footer ul a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer ul a:hover { color: var(--white); }
.footer__contact a {
  display: block;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .5rem;
  transition: color var(--transition);
}
.footer__contact a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 1.25rem;
}
.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

/* ============================================
   ANIMATIONS (data-aos)
   ============================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
[data-aos]:nth-child(2) { transition-delay: .1s; }
[data-aos]:nth-child(3) { transition-delay: .2s; }
[data-aos]:nth-child(4) { transition-delay: .3s; }

/* ============================================
   RESPONSIVE TWEAKS
   ============================================ */
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .hero__btns .btn { flex: 1 1 140px; }
  .hero__stats { gap: 1rem; }
  .stat__divider { display: none; }
  .pricing__grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 1.9rem; }
}
