/* ── Graykon IT Solutions ── */

:root {
  --charcoal:      #2d2d2d;
  --dark-grey:     #4a4a4a;
  --mid-grey:      #717171;
  --grey:          #9ca3af;
  --light-grey:    #d4d6da;
  --bg-light:      #f5f5f5;
  --bg-lighter:    #fafafa;
  --white:         #ffffff;
  --shadow:        0 2px 12px rgba(0,0,0,0.08);
  --radius:        8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark-grey);
  background: var(--white);
  line-height: 1.6;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  color: var(--charcoal);
  line-height: 1.2;
}

/* ── Layout helpers ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-dark {
  background: var(--charcoal);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: var(--white);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--grey);
  margin-top: 8px;
}

.section-subtitle {
  color: var(--mid-grey);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 560px;
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--light-grey);
  backdrop-filter: blur(6px);
}

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

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-grey);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--charcoal);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--dark-grey);
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(160deg, #f0f0f0 0%, #e8e8e8 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(0,0,0,0.03);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0,0,0,0.025);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 16px;
}

.hero h1 {
  color: var(--charcoal);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--dark-grey);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--mid-grey);
  margin-bottom: 36px;
  max-width: 480px;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--dark-grey);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--light-grey);
  margin-left: 12px;
}

.btn-outline:hover {
  border-color: var(--grey);
  background: rgba(0,0,0,0.04);
}

.hero-logo {
  flex-shrink: 0;
}

.hero-logo img {
  width: 260px;
  height: auto;
  opacity: 0.9;
  mix-blend-mode: multiply;
}

/* ── Stats strip ── */
.stats-strip {
  background: var(--bg-lighter);
  border-bottom: 1px solid var(--light-grey);
}

.stats-inner {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 32px 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--mid-grey);
  margin-bottom: 16px;
  font-size: 1.01rem;
}

.about-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-logo img {
  width: 280px;
  max-width: 100%;
  opacity: 0.85;
  mix-blend-mode: multiply;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--grey);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--mid-grey);
  font-size: 0.93rem;
}

/* ── Products ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow);
}

.product-card-header {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--light-grey) 100%);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.product-card-body {
  padding: 24px;
}

.product-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.product-card p {
  color: var(--mid-grey);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--mid-grey);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--light-grey);
}

/* ── Mobile Apps ── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.app-card {
  background: var(--bg-lighter);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}

.app-card:hover {
  box-shadow: var(--shadow);
}

.app-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--charcoal), var(--dark-grey));
  border-radius: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.app-info {
  flex: 1;
}

.app-info h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.app-info p {
  color: var(--mid-grey);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.app-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.badge-store:hover {
  background: var(--dark-grey);
}

.badge-store.pending {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.badge-store.pending::after {
  content: 'Pending';
  font-size: 0.68rem;
  font-weight: 400;
  opacity: 0.7;
  margin-left: 2px;
}

.badge-platform {
  background: var(--bg-light);
  color: var(--mid-grey);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--light-grey);
  font-weight: 500;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--white);
}

.contact-info p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.contact-item-icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 36px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(255,255,255,0.45);
}

.form-group textarea {
  height: 110px;
  resize: vertical;
}

.form-group select option {
  background: var(--charcoal);
  color: var(--white);
}

.btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--white);
  color: var(--charcoal);
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: var(--bg-light);
}

/* ── Footer ── */
.footer {
  background: #1e1e1e;
  color: rgba(255,255,255,0.55);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 44px;
  filter: invert(1) brightness(0.7);
}

.footer-copy {
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255,255,255,0.8);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-logo img { width: 180px; }
  .hero-lead { margin: 0 auto 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-logo { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 36px; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--light-grey); padding: 16px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
