/*
Theme Name: DeviceFlow
Theme URI: https://deviceflow.se
Author: DeviceFlow
Description: Professional B2B electronics buyback theme for Swedish companies
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: deviceflow
*/

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Nunito+Sans:wght@300;400;500;600&display=swap');

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --bg: #FAFAF7;
  --bg-alt: #F2F2EE;
  --bg-dark: #111820;
  --bg-dark-alt: #1A2330;
  --text: #0F1923;
  --text-muted: #5A6475;
  --text-light: #8A95A3;
  --accent: #C47B2B;
  --accent-light: #E8A844;
  --accent-hover: #A86520;
  --navy: #1B3554;
  --navy-light: #234571;
  --border: #E2E2DC;
  --border-dark: #2A3545;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(15,25,35,0.07);
  --shadow-md: 0 8px 32px rgba(15,25,35,0.10);
  --shadow-lg: 0 20px 60px rgba(15,25,35,0.13);
  --radius: 4px;
  --radius-lg: 8px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1160px;
  --section-pad: 100px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.01em; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1.2em; color: var(--text-muted); font-weight: 400; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 300;
  color: var(--text-muted);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,123,43,0.30);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
}

/* =============================================
   HEADER / NAV
   ============================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--transition);
}

#site-header.scrolled {
  background: rgba(250,250,247,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color var(--transition);
}

.site-logo span {
  color: var(--accent-light);
}

#site-header.scrolled .site-logo {
  color: var(--text);
}

#site-header.scrolled .site-logo span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}

.main-nav a:hover { color: var(--accent-light); }

#site-header.scrolled .main-nav a { color: var(--text-muted); }
#site-header.scrolled .main-nav a:hover { color: var(--accent); }

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: var(--radius);
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196,123,43,0.3);
}

#site-header.scrolled .nav-cta { background: var(--accent); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}
#site-header.scrolled .menu-toggle span { background: var(--text); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(27,53,84,0.6) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(196,123,43,0.15) 0%, transparent 50%),
    linear-gradient(135deg, #0A1520 0%, #111820 50%, #0F1D2C 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(196,123,43,0.15);
  border: 1px solid rgba(196,123,43,0.3);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-light);
}

.hero .lead {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 24px;
}

.device-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.device-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.device-item:hover {
  background: rgba(196,123,43,0.08);
  border-color: rgba(196,123,43,0.2);
}

.device-icon {
  width: 36px;
  height: 36px;
  background: rgba(196,123,43,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.device-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.device-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
  line-height: 1.3;
}

.hero-card-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(196,123,43,0.08);
  border: 1px solid rgba(196,123,43,0.2);
  border-radius: var(--radius);
}

.hero-card-note p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.5;
}

/* =============================================
   SECTION STYLES
   ============================================= */
section { padding: var(--section-pad) 0; }

.section-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  max-width: 560px;
  color: var(--text-muted);
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin: 0 auto;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  background: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step {
  background: var(--white);
  padding: 40px 32px;
  position: relative;
  transition: background var(--transition);
}

.step:hover {
  background: var(--bg-alt);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
  transition: color var(--transition);
}

.step:hover .step-number {
  color: rgba(196,123,43,0.15);
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text);
}

.step p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.step-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: background var(--transition);
}

.step:hover .step-icon {
  background: rgba(196,123,43,0.1);
}

/* =============================================
   WHY US / BENEFITS
   ============================================= */
.benefits {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(27,53,84,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.benefits .section-label { color: var(--accent-light); }
.benefits h2 { color: var(--white); }
.benefits .section-header p { color: rgba(255,255,255,0.5); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  padding: 36px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.benefit-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(196,123,43,0.2);
  transform: translateY(-4px);
}

.benefit-card:hover::before { opacity: 1; }

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.benefit-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.benefit-card p {
  color: rgba(255,255,255,0.5);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

/* =============================================
   WHAT WE BUY
   ============================================= */
.what-we-buy {
  background: var(--bg-alt);
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.device-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.device-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.device-card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.device-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.device-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.device-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 4px 10px;
  background: var(--bg-alt);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-display);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 100% 50%, rgba(196,123,43,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.cta-text h2 { color: var(--white); margin-bottom: 16px; }
.cta-text p { color: rgba(255,255,255,0.6); max-width: 500px; margin: 0; }

.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 60px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .site-logo {
  display: block;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  margin: 0;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
  color: var(--accent-light);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: rgba(255,255,255,0.25);
  font-size: 0.82rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.25);
  transition: color var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* =============================================
   ABOUT PAGE
   ============================================= */
.page-hero {
  background: var(--bg-dark);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 60% 50%, rgba(27,53,84,0.5) 0%, transparent 60%);
}

.page-hero-inner {
  position: relative;
  max-width: 700px;
}

.page-hero h1 { color: var(--white); margin-bottom: 20px; }
.page-hero .lead { color: rgba(255,255,255,0.55); }

.about-section {
  padding: var(--section-pad) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual-box {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.about-visual-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}

.visual-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.visual-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.visual-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

.about-text h2 { margin-bottom: 24px; }

.gdpr-box {
  background: rgba(196,123,43,0.06);
  border: 1px solid rgba(196,123,43,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 40px;
}

.gdpr-box h4 {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.gdpr-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 20px; }
.contact-info .lead { margin-bottom: 40px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-item-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,123,43,0.1);
  background: var(--white);
}

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

.form-submit {
  margin-top: 8px;
}

.form-submit .btn { width: 100%; justify-content: center; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 16px;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-up {
  animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: 24px 32px;
    gap: 20px;
    border-top: 1px solid var(--border-dark);
  }
  .main-nav.open a { color: rgba(255,255,255,0.8); font-size: 1rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .devices-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-stats { gap: 24px; }
  .contact-form-wrap { padding: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .devices-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
