/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com/
Description: Minimal child theme starter for Hello Elementor with a clean Elementor-compatible page template.
Author: Perplexity
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-dark: #000000;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --text-light: #f5f5f7;
  --link: #0066cc;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 24px; /* was 28px, slightly tighter for a more Apple-like tile */
  --nav-h: 52px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  text-decoration: none !important;
}

.applestyle-site {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.applestyle-site * {
  box-sizing: border-box;
}

/* Sticky, blurred top navigation */
.apple-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--border);
}

.apple-nav__inner {
  max-width: 1200px;
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.apple-logo {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.apple-menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.apple-menu a,
.apple-links a {
  color: var(--link);
  text-decoration: none;
  font-size: 17px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.apple-menu a {
  color: var(--text);
  font-size: 12px;
}

.apple-menu a:hover,
.apple-links a:hover {
  opacity: 0.72;
}

.apple-hero,
.apple-panel,
.apple-footer-cta {
  text-align: center;
  padding: 72px 24px;
}

.apple-hero--light {
  background: var(--bg-soft);
}

.apple-panel--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.apple-panel--gray {
  background: #fbfbfd;
}

.apple-copy {
  max-width: 820px;
  margin: 0 auto;
}

.apple-eyebrow {
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.apple-hero h1,
.apple-panel h2,
.apple-footer-cta h2 {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0;
  font-weight: 600;
}

.apple-card h3 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.apple-subtext,
.apple-card p,
.apple-footer-cta p {
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.4;
  color: var(--text-muted);
  margin: 16px auto 0;
  max-width: 700px;
}

.apple-panel--dark .apple-subtext,
.apple-panel--dark p,
.apple-panel--dark .apple-eyebrow {
  color: rgba(245, 245, 247, 0.86);
}

.apple-links {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.apple-visual {
  max-width: 1100px;
  margin: 40px auto 0;
}

.apple-visual img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

/* Highlights grid “stage” */
.apple-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 18px;
  background: #fff;
  border-radius: var(--radius);           /* new: rounded outer grid */
  border: 1px solid var(--border);        /* new: subtle frame like Apple tiles */
}

.apple-card {
  min-height: 540px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 32px;
  text-align: center;
}

.apple-card--light {
  background: #f5f5f7;
  color: var(--text);
}

.apple-card--dark {
  background: #000;
  color: var(--text-light);
}

/* Links inside cards */
.apple-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--link);
  text-decoration: none;
  font-size: 17px;
}

/* Slightly lighter blue on dark cards for contrast */
.apple-card--dark a {
  color: #4ea0ff;
}

.apple-footer-cta {
  background: #f5f5f7;
  padding-bottom: 100px;
}

.apple-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--link);
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  margin-top: 24px;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.apple-cta:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.apple-cta--small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 12px;
  margin-top: 0;
}

.apple-site-footer {
  padding: 24px 20px 40px;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

.apple-site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.apple-footer-brand,
.apple-footer-brand .elementor-heading-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.apple-footer-nav a {
  margin: 0 12px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}

.apple-footer-nav a:hover {
  color: var(--text);
}

.apple-footer-social .elementor-social-icon {
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  width: 32px;
  height: 32px;
}

.apple-footer-social .elementor-social-icon:hover {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.18);
}

.apple-footer-bottom {
  padding: 8px 20px 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsiveness */
@media (max-width: 980px) {
  .apple-grid {
    grid-template-columns: 1fr;
  }

  .apple-card {
    min-height: 420px;
  }

  .apple-menu {
    display: none;
  }
}

@media (max-width: 640px) {
  .apple-hero,
  .apple-panel,
  .apple-footer-cta {
    padding: 56px 18px;
  }

  .apple-subtext,
  .apple-card p,
  .apple-footer-cta p {
    font-size: 19px;
  }

  .apple-links {
    gap: 16px;
  }
}

/* Apple-style footer layout */

.apple-site-footer {
  padding: 24px 20px 40px;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 13px;
}

.apple-site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Small legal note above columns */
.apple-footer-note {
  margin: 0 0 12px;
  line-height: 1.4;
  color: var(--text-muted);
}

/* Columns (desktop) */
.apple-footer-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 32px;
  padding: 16px 0 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.apple-footer-column h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 6px;
  color: var(--text);
}

.apple-footer-column a {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 2px 0;
}

.apple-footer-column a:hover {
  color: var(--text);
}

/* Bottom meta row */
.apple-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.apple-footer-meta-left {
  font-size: 12px;
  color: var(--text-muted);
}

.apple-footer-meta-right {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  align-items: center;
}

.apple-footer-meta-right span {
  color: var(--text-muted);
}

.apple-footer-meta-right a {
  color: var(--text-muted);
  text-decoration: none;
}

.apple-footer-meta-right a:hover {
  color: var(--text);
}

/* Responsive footer */
@media (max-width: 980px) {
  .apple-footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .apple-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
  }

  .apple-footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}