/* ============================================================
   SEC.sy — Coming Soon Landing Page · PREMIUM UPGRADE
   Syrian Electricity Company
   الشركة السورية للكهرباء
   
   Stylesheet: style.css
   Primary reference: sec.sy.pdf
   ============================================================ */

/* === Google Font Import === */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&display=swap');

/* === CSS Custom Properties (Design Tokens) === */
:root {
  --sec-blue: #1E3765;
  --sec-blue-dark: #152B52;
  --sec-blue-deeper: #0E1F3D;
  --sec-blue-abyss: #080F20;
  --sec-bg-left: #0B1A32;
  --sec-bg-right: #1A3A5C;
  --sec-cyan: #00C7D6;
  --sec-cyan-bright: #00E5F0;
  --sec-cyan-dim: rgba(0, 199, 214, 0.06);
  --sec-cyan-soft: rgba(0, 199, 214, 0.12);
  --sec-cyan-glow: rgba(0, 199, 214, 0.25);
  --sec-white: #FFFFFF;
  --sec-white-95: rgba(255, 255, 255, 0.95);
  --sec-white-90: rgba(255, 255, 255, 0.9);
  --sec-white-70: rgba(255, 255, 255, 0.7);
  --sec-white-50: rgba(255, 255, 255, 0.5);
  --sec-white-30: rgba(255, 255, 255, 0.3);
  --sec-white-15: rgba(255, 255, 255, 0.15);
  --sec-white-08: rgba(255, 255, 255, 0.08);
  --sec-white-04: rgba(255, 255, 255, 0.04);
  --sec-white-02: rgba(255, 255, 255, 0.02);

  --font-primary: 'Cairo', sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-premium: cubic-bezier(0.22, 0.68, 0, 1.04);
  --transition-fast: 0.35s var(--ease-smooth);
  --transition-hover: 0.4s var(--ease-premium);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background: var(--sec-blue-abyss);
  color: var(--sec-white);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Main Container === */
.landing {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ============================================================
   BACKGROUND LAYERS
   ============================================================ */

/* --- Layer 1: Deep multi-layer gradient --- */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    /* Deep corner vignette */
    radial-gradient(ellipse at 0% 0%, rgba(8, 15, 32, 0.7) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(8, 15, 32, 0.6) 0%, transparent 50%),
    /* Subtle warm undertone at bottom center */
    radial-gradient(ellipse at 50% 95%, rgba(30, 55, 101, 0.35) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(40, 60, 90, 0.2) 0%, transparent 35%),
    /* Atmospheric cyan tint lower-right */
    radial-gradient(ellipse at 75% 75%, rgba(0, 140, 160, 0.08) 0%, transparent 50%),
    /* Upper-left deep blue mass */
    radial-gradient(ellipse at 20% 20%, rgba(14, 31, 61, 0.9) 0%, transparent 55%),
    /* Core gradient */
    linear-gradient(140deg, var(--sec-bg-left) 0%, var(--sec-blue-dark) 35%, var(--sec-blue) 60%, var(--sec-bg-right) 100%);
}

/* --- Technical grid overlay --- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image:
    linear-gradient(rgba(0, 199, 214, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 199, 214, 0.4) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
}

/* Faint grid laser scan line */
.bg-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0, 199, 214, 0.35), transparent);
  animation: gridScan 12s linear infinite;
  will-change: transform;
}

@keyframes gridScan {
  0% { transform: translateY(-100px); }
  100% { transform: translateY(110vh); }
}

/* --- Energy trace arcs (faint geometric curves) --- */
.bg-energy-traces {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.energy-arc {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 199, 214, 0.04);
}

.energy-arc-1 {
  width: 140vw;
  height: 80vw;
  top: -15vw;
  left: -20vw;
  transform: rotate(-8deg);
}

.energy-arc-2 {
  width: 110vw;
  height: 110vw;
  bottom: -40vw;
  right: -30vw;
  border-color: rgba(255, 255, 255, 0.02);
}

.energy-arc-3 {
  width: 90vw;
  height: 50vw;
  top: 30vh;
  left: -10vw;
  transform: rotate(12deg);
  border-color: rgba(0, 199, 214, 0.025);
}

/* --- Layer 2: Light beam (provided light.svg) --- */
.bg-light-beam {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.light-beam-wrapper {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  will-change: transform;
}

.light-beam-drift {
  position: absolute;
  width: 135%;
  height: 135%;
  top: -17%;
  left: -17%;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: lighten;
  animation: lightDrift 30s ease-in-out infinite alternate;
}

/* Diffused halo around the light beam */
.bg-light-beam::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 60% 65%,
    rgba(0, 199, 214, 0.04) 0%,
    transparent 50%
  );
  animation: haloPulse 8s ease-in-out infinite alternate;
}

@keyframes lightDrift {
  0%   { transform: translate(0, 0) scale(1); }
  20%  { transform: translate(-1%, 0.8%) scale(1.008); }
  40%  { transform: translate(-2%, 1.5%) scale(1.015); }
  60%  { transform: translate(-0.5%, 1%) scale(1.01); }
  80%  { transform: translate(0.8%, -0.5%) scale(1.005); }
  100% { transform: translate(1%, -1%) scale(1.01); }
}

@keyframes haloPulse {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}

/* --- Secondary CSS light sweep --- */
.bg-light-sweep {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.bg-light-sweep::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 100%;
  top: 0;
  left: -50%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(0, 199, 214, 0.015) 42%,
    rgba(0, 199, 214, 0.04) 48%,
    rgba(0, 199, 214, 0.06) 50%,
    rgba(0, 199, 214, 0.04) 52%,
    rgba(0, 199, 214, 0.015) 58%,
    transparent 62%,
    transparent 100%
  );
  animation: sweepMove 20s ease-in-out infinite alternate;
}

.bg-light-sweep::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 100%;
  top: 0;
  left: -50%;
  background: linear-gradient(
    75deg,
    transparent 0%,
    transparent 44%,
    rgba(0, 199, 214, 0.01) 48%,
    rgba(0, 199, 214, 0.03) 50%,
    rgba(0, 199, 214, 0.01) 52%,
    transparent 56%,
    transparent 100%
  );
  animation: sweepMove2 28s ease-in-out infinite alternate-reverse;
}

@keyframes sweepMove {
  0%   { transform: translateX(-15%) rotate(-2deg); }
  100% { transform: translateX(15%) rotate(2deg); }
}

@keyframes sweepMove2 {
  0%   { transform: translateX(10%) rotate(1deg); }
  100% { transform: translateX(-10%) rotate(-1deg); }
}

/* --- Layer 3: Rotating rings --- */
.bg-rings {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-wrapper {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform;
}

/* Rotation classes applied to inner elements */
.ring-rotate-1 {
  animation: ringsSpin 120s linear infinite;
}
.ring-rotate-2 {
  animation: ringSpin2 85s linear infinite;
}
.ring-rotate-3 {
  animation: ringSpin3 65s linear infinite;
}
.ring-rotate-4 {
  animation: ringSpin4 110s linear infinite;
}
.ring-rotate-5 {
  animation: ringSpin5 50s linear infinite;
}

/* Primary rings SVG */
#ringsImg {
  width: min(970px, 75vw);
  height: auto;
  opacity: 0.3;
  display: block;
}

@keyframes ringsSpin  { to { transform: rotate(360deg); } }
@keyframes ringSpin2  { to { transform: rotate(-360deg); } }
@keyframes ringSpin3  { to { transform: rotate(360deg); } }
@keyframes ringSpin4  { to { transform: rotate(-360deg); } }
@keyframes ringSpin5  { to { transform: rotate(360deg); } }

/* CSS Ring layers — each at different size/speed/opacity for parallax depth */
.ring-layer-2,
.ring-layer-3,
.ring-layer-4,
.ring-layer-5 {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

/* Ring 2: Large, counter-rotate */
.ring-layer-2 {
  width: min(920px, 72vw);
  height: min(920px, 72vw);
  border: 1px solid transparent;
}

/* Ring 3: Medium, dashed */
.ring-layer-3 {
  width: min(700px, 55vw);
  height: min(700px, 55vw);
  border: 1px dashed transparent;
}

/* Ring 4: Large outer, very subtle */
.ring-layer-4 {
  width: min(1100px, 88vw);
  height: min(1100px, 88vw);
  border: 1px solid transparent;
}

/* Ring 5: Small inner, slightly brighter */
.ring-layer-5 {
  width: min(480px, 38vw);
  height: min(480px, 38vw);
  border: 1px solid transparent;
}

/* Node markers — small dots on ring edges */
.ring-layer-2::before,
.ring-layer-2::after,
.ring-layer-3::before,
.ring-layer-4::before,
.ring-layer-5::before,
.ring-layer-5::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--sec-cyan);
}

.ring-layer-2::before {
  width: 5px; height: 5px; opacity: 0.25;
  top: 0; left: 50%; transform: translate(-50%, -50%);
  animation: nodePulse 4s ease-in-out infinite;
}
.ring-layer-2::after {
  width: 4px; height: 4px; opacity: 0.18;
  bottom: 12%; right: 0; transform: translate(50%, 50%);
  animation: nodePulse 5s ease-in-out 1s infinite;
}
.ring-layer-3::before {
  width: 4px; height: 4px; opacity: 0.15;
  top: 50%; left: 0; transform: translate(-50%, -50%);
  animation: nodePulse 6s ease-in-out 2s infinite;
}
.ring-layer-4::before {
  width: 3px; height: 3px; opacity: 0.12;
  top: 20%; right: 0; transform: translate(50%, -50%);
  animation: nodePulse 7s ease-in-out 0.5s infinite;
}
.ring-layer-5::before {
  width: 5px; height: 5px; opacity: 0.3;
  top: 0; left: 50%; transform: translate(-50%, -50%);
  animation: nodePulse 3.5s ease-in-out infinite;
}
.ring-layer-5::after {
  width: 4px; height: 4px; opacity: 0.2;
  bottom: 0; left: 35%; transform: translate(-50%, 50%);
  animation: nodePulse 4.5s ease-in-out 1.5s infinite;
}

@keyframes nodePulse {
  0%, 100% { opacity: inherit; box-shadow: 0 0 4px rgba(0, 199, 214, 0.3); }
  50%      { opacity: 0.5; box-shadow: 0 0 10px rgba(0, 199, 214, 0.5); }
}

/* --- Atmospheric center glow --- */
.atmosphere-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  pointer-events: none;
  z-index: 3;
  will-change: transform;
}

.bg-atmosphere {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 199, 214, 0.045) 0%,
    rgba(0, 160, 180, 0.02) 30%,
    rgba(30, 55, 101, 0.03) 50%,
    transparent 70%
  );
  pointer-events: none;
  animation: atmosphereBreathe 10s ease-in-out infinite alternate;
}

@keyframes atmosphereBreathe {
  0%   { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* --- Layer 4: Primary mouse-following glow --- */
.mouse-glow {
  position: fixed;
  width: 750px;
  height: 750px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 199, 214, 0.05) 0%,
    rgba(0, 199, 214, 0.02) 25%,
    rgba(30, 87, 149, 0.01) 50%,
    rgba(14, 31, 61, 0.002) 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
  will-change: transform;
  opacity: 0;
  mix-blend-mode: screen;
  filter: blur(10px);
  transition: opacity 1.5s ease;
}

.mouse-glow.active { opacity: 1; }

/* --- Secondary diffused mouse glow --- */
.mouse-glow-soft {
  position: fixed;
  width: 1100px;
  height: 1100px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(30, 55, 101, 0.04) 0%,
    rgba(0, 199, 214, 0.01) 35%,
    rgba(14, 31, 61, 0.002) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
  will-change: transform;
  opacity: 0;
  mix-blend-mode: screen;
  filter: blur(20px);
  transition: opacity 2s ease;
}

.mouse-glow-soft.active { opacity: 1; }

/* ============================================================
   CONTENT
   ============================================================ */

.content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* === Logo === */
.logo-container {
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px) scale(0.92);
  filter: blur(8px);
}

.logo-container.animate-in {
  animation: logoEntrance 1.2s var(--ease-out) forwards;
}

.logo-container img {
  width: min(260px, 50vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 40px rgba(0, 199, 214, 0.08));
}

/* One-time shimmer on logo */
.logo-container.shimmer img {
  animation: logoShimmer 1.8s ease-in-out forwards;
}

@keyframes logoEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.92);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes logoShimmer {
  0%   { filter: drop-shadow(0 0 40px rgba(0, 199, 214, 0.08)) brightness(1); }
  40%  { filter: drop-shadow(0 0 60px rgba(0, 199, 214, 0.2)) brightness(1.15); }
  100% { filter: drop-shadow(0 0 40px rgba(0, 199, 214, 0.08)) brightness(1); }
}

/* === Headline === */
.headline {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(25px);
  direction: rtl;
}

.headline.animate-in {
  animation: headlineEntrance 1.1s var(--ease-out) forwards;
}

.headline h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: var(--fw-black);
  background: linear-gradient(135deg, #FFFFFF 20%, #B3E5FC 60%, var(--sec-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  filter: drop-shadow(0 4px 15px rgba(0, 199, 214, 0.15));
}

.headline h1 .en {
  direction: ltr;
  unicode-bidi: bidi-override;
  letter-spacing: 0.08em;
  margin-right: 0.15em;
}

@keyframes headlineEntrance {
  from {
    opacity: 0;
    transform: translateY(25px);
    letter-spacing: 0.15em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0;
  }
}

/* === Arabic Message === */
.message {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(25px);
}

.message.animate-in {
  animation: fadeInUp 1s var(--ease-out) forwards;
}

.message p {
  font-size: clamp(1.4rem, 3.8vw, 2.6rem);
  font-weight: var(--fw-extrabold);
  background: linear-gradient(135deg, #FFFFFF 45%, #E0F7FA 80%, var(--sec-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.7;
  direction: rtl;
  text-align: center;
  filter: drop-shadow(0 4px 10px rgba(0, 199, 214, 0.12));
}

/* === Social Instruction === */
.social-instruction {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(25px);
}

.social-instruction.animate-in {
  animation: fadeInUp 1s var(--ease-out) forwards;
}

.social-instruction p {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: var(--fw-bold);
  color: var(--sec-white-70);
  direction: rtl;
  text-align: center;
}

/* === Social Icons === */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.8rem, 2.5vw, 1.8rem);
  margin-bottom: 2rem;
  direction: ltr;
  opacity: 0;
  transform: translateY(25px);
}

.social-icons.animate-in {
  animation: fadeInUp 1s var(--ease-out) forwards;
}

/* Per-icon stagger (applied via JS adding class) */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sec-white-70);
  text-decoration: none;
  padding: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: 
    transform var(--transition-hover),
    color var(--transition-hover),
    filter var(--transition-hover),
    background-color var(--transition-hover),
    border-color var(--transition-hover),
    box-shadow var(--transition-hover);
  opacity: 0;
  transform: translateY(15px);
}

.social-icon.animate-in {
  animation: iconEntrance 0.7s var(--ease-out) forwards;
}

/* Staggered icon delays — applied via nth-child */
.social-icons.animate-in .social-icon:nth-child(1) { animation-delay: 0ms; }
.social-icons.animate-in .social-icon:nth-child(2) { animation-delay: 80ms; }
.social-icons.animate-in .social-icon:nth-child(3) { animation-delay: 160ms; }
.social-icons.animate-in .social-icon:nth-child(4) { animation-delay: 240ms; }
.social-icons.animate-in .social-icon:nth-child(5) { animation-delay: 320ms; }
.social-icons.animate-in .social-icon:nth-child(6) { animation-delay: 400ms; }
.social-icons.animate-in .social-icon:nth-child(7) { animation-delay: 480ms; }

.social-icon svg {
  width: clamp(28px, 4vw, 42px);
  height: clamp(28px, 4vw, 42px);
  fill: currentColor;
  transition: fill var(--transition-hover);
}

/* Premium hover effect */
.social-icon:hover {
  transform: translateY(-6px) scale(1.15);
  color: var(--sec-white);
  background-color: rgba(0, 199, 214, 0.12);
  border-color: rgba(0, 199, 214, 0.4);
  filter: drop-shadow(0 0 16px rgba(0, 199, 214, 0.45));
  box-shadow: 
    0 10px 30px rgba(0, 199, 214, 0.15),
    0 0 0 1px rgba(0, 199, 214, 0.1);
}

.social-icon:focus-visible {
  outline: 2px solid var(--sec-cyan);
  outline-offset: 4px;
  border-radius: 50%;
}

@keyframes iconEntrance {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* === Domain === */
.domain {
  opacity: 0;
  transform: translateY(15px);
}

.domain.animate-in {
  animation: fadeInUp 1s var(--ease-out) forwards;
}

.domain span {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: var(--fw-semibold);
  color: var(--sec-white-50);
  letter-spacing: 0.15em;
  direction: ltr;
  display: inline-block;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   ACCESSIBILITY: prefers-reduced-motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .bg-light-beam img,
  .bg-light-beam::after,
  .bg-light-sweep::before,
  .bg-light-sweep::after,
  .bg-rings img,
  .ring-layer-2,
  .ring-layer-3,
  .ring-layer-4,
  .ring-layer-5,
  .bg-atmosphere {
    animation: none !important;
  }

  .mouse-glow,
  .mouse-glow-soft { display: none; }

  .logo-container,
  .headline,
  .message,
  .social-instruction,
  .social-icons,
  .social-icon,
  .domain {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .ring-layer-2::before,
  .ring-layer-2::after,
  .ring-layer-3::before,
  .ring-layer-4::before,
  .ring-layer-5::before,
  .ring-layer-5::after {
    animation: none !important;
  }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* --- Large Desktop (>1920) --- */
@media (min-width: 1921px) {
  .content { max-width: 1100px; }
  .bg-rings img { width: min(1050px, 70vw); }
  .ring-layer-2 { width: min(1000px, 68vw); height: min(1000px, 68vw); }
  .ring-layer-3 { width: min(780px, 52vw); height: min(780px, 52vw); }
  .ring-layer-4 { width: min(1250px, 85vw); height: min(1250px, 85vw); }
  .ring-layer-5 { width: min(550px, 36vw); height: min(550px, 36vw); }
  .bg-atmosphere { width: 850px; height: 850px; }
}

/* --- Laptop (1366) --- */
@media (max-width: 1440px) {
  .logo-container img { width: min(220px, 45vw); }
  .bg-rings img { width: min(800px, 70vw); }
  .ring-layer-2 { width: min(760px, 66vw); height: min(760px, 66vw); }
  .ring-layer-3 { width: min(580px, 50vw); height: min(580px, 50vw); }
  .ring-layer-4 { width: min(950px, 82vw); height: min(950px, 82vw); }
  .ring-layer-5 { width: min(400px, 34vw); height: min(400px, 34vw); }
  .bg-atmosphere { width: 600px; height: 600px; }
}

/* --- Tablet --- */
@media (max-width: 768px) {
  .content { padding: 1.5rem 1rem; }
  .logo-container { margin-bottom: 2rem; }
  .logo-container img { width: min(190px, 42vw); }

  .headline h1 {
    white-space: normal;
    font-size: clamp(2.2rem, 7vw, 3.5rem);
  }

  .message p { font-size: clamp(1.2rem, 4vw, 1.8rem); }

  .social-icon svg { width: 30px; height: 30px; }
  .social-icon { padding: 6px; }

  .bg-rings img { width: min(650px, 85vw); }
  .ring-layer-2 { width: min(620px, 80vw); height: min(620px, 80vw); }
  .ring-layer-3 { width: min(480px, 62vw); height: min(480px, 62vw); }
  .ring-layer-4 { width: min(780px, 100vw); height: min(780px, 100vw); }
  .ring-layer-5 { width: min(320px, 42vw); height: min(320px, 42vw); }

  .mouse-glow,
  .mouse-glow-soft { display: none; }

  .bg-atmosphere { width: 450px; height: 450px; }

  .ring-layer-2::before, .ring-layer-2::after,
  .ring-layer-3::before, .ring-layer-4::before,
  .ring-layer-5::before, .ring-layer-5::after {
    width: 3px; height: 3px;
  }
}

/* --- Mobile (390×844) --- */
@media (max-width: 480px) {
  .content { padding: 1.2rem 1rem; }
  .logo-container { margin-bottom: 1.5rem; }
  .logo-container img { width: min(160px, 40vw); }
  .headline { margin-bottom: 1rem; }
  .headline h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .message { margin-bottom: 1.2rem; }
  .message p { font-size: clamp(1rem, 4.5vw, 1.4rem); line-height: 1.8; }
  .social-instruction { margin-bottom: 1rem; }
  .social-icons { gap: 0.7rem; margin-bottom: 1.2rem; }
  .social-icon svg { width: 26px; height: 26px; }
  .social-icon { padding: 5px; }

  .bg-light-beam img {
    width: 200%; height: 200%;
    top: -30%; left: -50%;
  }

  .bg-atmosphere { width: 300px; height: 300px; }
  .bg-grid { display: none; }
}

/* --- Small Mobile (≤360) --- */
@media (max-width: 360px) {
  html { font-size: 14px; }
  .logo-container img { width: min(140px, 38vw); }
  .social-icon svg { width: 22px; height: 22px; }
  .social-icons { gap: 0.5rem; }
}

/* === Safe area for notch devices === */
@supports (padding: env(safe-area-inset-top)) {
  .landing {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* === Selection === */
::selection {
  background: rgba(0, 199, 214, 0.3);
  color: var(--sec-white);
}
