/*
 * おくすりメール - Modern Redesign 2026
 * Base color: #57cecd
 * Aesthetic: Clean pharmaceutical modern with depth and warmth
 */

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
  --primary: #57cecd;
  --primary-dark: #3ba8a7;
  --primary-deeper: #2d8f8e;
  --primary-light: #e0f7f6;
  --primary-ghost: #f0fcfb;
  --accent: #ff7e67;
  --accent-hover: #e8654e;
  --bg: #fafbfd;
  --bg-white: #ffffff;
  --bg-section: #f3f6fa;
  --text-primary: #1a1a2e;
  --text-body: #4a5568;
  --text-muted: #8896a6;
  --text-on-primary: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(26,26,46,0.06);
  --shadow-md: 0 4px 16px rgba(26,26,46,0.08);
  --shadow-lg: 0 12px 40px rgba(26,26,46,0.1);
  --shadow-xl: 0 20px 60px rgba(26,26,46,0.12);
  --shadow-primary: 0 8px 30px rgba(87,206,205,0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--text-body);
  background: var(--bg);
  overflow-x: hidden;
}

::selection {
  color: #fff;
  background: var(--primary);
}

::-moz-selection {
  color: #fff;
  background: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  border: none;
  transition: var(--transition);
}

a:hover, a:focus {
  color: var(--primary-deeper);
  text-decoration: none;
  outline: none;
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

p {
  margin: 0 0 1em 0;
}

/* ========================================
   UTILITY
   ======================================== */
.ok-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.ok-section {
  padding: 100px 0;
  position: relative;
}

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

.ok-section--primary {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #6dd5d4 100%);
  color: var(--text-on-primary);
}

.ok-section--primary h2,
.ok-section--primary h3,
.ok-section--primary h4,
.ok-section--primary p {
  color: var(--text-on-primary);
}

.ok-section--primary .ok-text-muted {
  color: rgba(255,255,255,0.75);
}

.ok-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.ok-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

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

.ok-section-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 16px;
}

.ok-section-header p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.ok-text-muted {
  color: var(--text-muted);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
#ok-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

#ok-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 1px 20px rgba(26,26,46,0.06);
}

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

.ok-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
}

.ok-logo img {
  height: 32px;
  width: auto;
  transition: var(--transition);
}

#ok-header.scrolled .ok-logo img.logo-white {
  display: none;
}
#ok-header.scrolled .ok-logo img.logo-dark {
  display: block;
}
#ok-header:not(.scrolled) .ok-logo img.logo-white {
  display: block;
}
#ok-header:not(.scrolled) .ok-logo img.logo-dark {
  display: none;
}

.ok-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ok-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  border: none;
  transition: var(--transition);
}

.ok-nav a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

#ok-header.scrolled .ok-nav a {
  color: var(--text-body);
}

#ok-header.scrolled .ok-nav a:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.ok-nav a.ok-nav-cta {
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: var(--radius-sm);
}

.ok-nav a.ok-nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,126,103,0.35);
}

/* Mobile hamburger */
.ok-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1001;
}

.ok-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

#ok-header.scrolled .ok-hamburger span {
  background: var(--text-primary);
}

/* Mobile nav */
@media (max-width: 768px) {
  .ok-hamburger {
    display: flex;
  }

  .ok-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 32px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-slow);
    z-index: 999;
  }

  .ok-nav.open {
    right: 0;
  }

  .ok-nav a {
    color: var(--text-body) !important;
    padding: 14px 18px;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }

  .ok-nav a:hover {
    background: var(--primary-light) !important;
    color: var(--primary-dark) !important;
  }

  .ok-nav a.ok-nav-cta {
    margin-top: 12px;
    text-align: center;
    justify-content: center;
    color: #fff !important;
  }

  .ok-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 998;
  }

  .ok-mobile-overlay.open {
    display: block;
  }
}

/* ========================================
   HERO
   ======================================== */
.ok-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(155deg, #1a2a3a 0%, #1a3a4a 30%, #1a4a5a 60%, var(--primary-deeper) 100%);
}

.ok-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(87,206,205,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(87,206,205,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(109,213,212,0.1) 0%, transparent 40%);
  z-index: 1;
}

.ok-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,206,205,0.08) 0%, transparent 70%);
  z-index: 1;
  animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.05); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}

/* Decorative grid pattern */
.ok-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(87,206,205,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87,206,205,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* Floating shapes */
.ok-hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.ok-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(87,206,205,0.06);
  animation: shapeFloat 15s ease-in-out infinite;
}

.ok-hero-shapes .shape:nth-child(1) {
  width: 300px; height: 300px;
  bottom: -100px; left: -50px;
  animation-delay: 0s;
}
.ok-hero-shapes .shape:nth-child(2) {
  width: 200px; height: 200px;
  top: 15%; right: 8%;
  animation-delay: -5s;
  animation-duration: 18s;
}
.ok-hero-shapes .shape:nth-child(3) {
  width: 120px; height: 120px;
  top: 60%; left: 15%;
  animation-delay: -8s;
  animation-duration: 12s;
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.ok-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}

.ok-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(87,206,205,0.15);
  border: 1px solid rgba(87,206,205,0.25);
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.8s ease-out;
}

.ok-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.ok-hero h1 .ok-highlight {
  background: linear-gradient(135deg, var(--primary), #8fe6e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ok-hero-logo {
  display: block;
  margin: 0 auto 28px;
  height: 44px;
  width: auto;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.ok-hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.ok-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.55s both;
}

.ok-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.ok-btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,126,103,0.35);
}

.ok-btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,126,103,0.4);
}

.ok-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.ok-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.ok-btn-outline-dark {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.ok-btn-outline-dark:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.ok-btn-teal {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.ok-btn-teal:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(87,206,205,0.35);
}

.ok-btn-warning {
  background: #f59e0b;
  color: #fff;
}

.ok-btn-warning:hover {
  background: #d97706;
  color: #fff;
  transform: translateY(-2px);
}

.ok-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

.ok-hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

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

/* ========================================
   WHAT IS OKUSURI-MAIL SECTION
   ======================================== */
.ok-about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.ok-about-text p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-body);
}

.ok-about-text .ok-btn {
  margin-top: 20px;
}

/* ========================================
   FEATURE CARDS
   ======================================== */
.ok-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .ok-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .ok-features-grid {
    grid-template-columns: 1fr;
  }
}

.ok-feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: default;
}

.ok-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.ok-feature-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--primary-ghost);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ok-feature-card-img img {
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.ok-feature-card:hover .ok-feature-card-img img {
  transform: scale(1.05);
}

.ok-feature-card-body {
  padding: 24px;
}

.ok-feature-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}

.ok-feature-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ========================================
   PHARMACY-CENTRIC SECTION
   ======================================== */
.ok-pharmacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.ok-pharmacy-content p {
  font-size: 16px;
  line-height: 2;
}

.ok-pharmacy-content .ok-text-muted {
  font-size: 14px;
}

.ok-pharmacy-content h4 {
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--text-on-primary);
  position: relative;
  padding-left: 20px;
}

.ok-pharmacy-content h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: calc(100% - 12px);
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
}

/* ========================================
   LINE DEMO SECTION
   ======================================== */
.ok-line-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .ok-line-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.ok-line-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  aspect-ratio: 16/9;
}

.ok-line-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.ok-line-text h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 16px;
}

.ok-line-text p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 20px;
}

.ok-line-text .ok-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.ok-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 1100px) {
  .ok-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .ok-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

.ok-price-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.ok-price-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.ok-price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-primary);
  transform: scale(1.03);
}

.ok-price-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.ok-price-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  letter-spacing: 0.05em;
}

.ok-price-header {
  padding: 32px 24px 20px;
  text-align: center;
}

.ok-price-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.ok-price-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: inline-block;
  padding: 3px 14px;
  border-radius: 20px;
}

.ok-price-desc.trial { background: #f0fdf4; color: #16a34a; }
.ok-price-desc.standard { background: var(--primary-light); color: var(--primary-dark); }
.ok-price-desc.multi { background: #fff7ed; color: #ea580c; }
.ok-price-desc.enterprise { background: #fef2f2; color: #dc2626; }

.ok-price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 4px;
}

.ok-price-yen {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.ok-price-number {
  font-size: 40px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1;
}

.ok-price-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

.ok-price-sale {
  text-align: center;
  margin-top: -4px;
  margin-bottom: 8px;
}

.ok-price-sale del {
  font-size: 14px;
  color: var(--text-muted);
}

.ok-price-sale .sale-label {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 4px;
}

.ok-price-body {
  padding: 0 24px 20px;
}

.ok-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  gap: 12px;
}

.ok-price-row:last-child {
  border-bottom: none;
}

.ok-price-label {
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.ok-price-value {
  text-align: right;
  color: var(--text-primary);
  font-weight: 500;
}

.ok-price-footer {
  padding: 16px 24px 24px;
}

.ok-price-footer .ok-btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 14px;
}

.ok-price-detail {
  padding: 0 24px 20px;
}

.ok-price-detail p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.ok-pricing-notes {
  margin-top: 40px;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.ok-about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.ok-about-content p {
  font-size: 16px;
  line-height: 2;
}

/* ========================================
   FOOTER
   ======================================== */
#ok-footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.ok-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
  .ok-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .ok-footer-grid {
    grid-template-columns: 1fr;
  }
}

.ok-footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.ok-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ok-footer-links li {
  margin-bottom: 10px;
}

.ok-footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  border: none;
  transition: var(--transition);
}

.ok-footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.ok-footer-contact p {
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}

.ok-footer-contact a {
  color: var(--primary);
  border: none;
}

.ok-footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.ok-footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

/* Go to top button */
.ok-gotop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  z-index: 100;
  font-size: 18px;
}

.ok-gotop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ok-gotop:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.ok-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.ok-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ========================================
   RESPONSIVE TWEAKS
   ======================================== */
@media (max-width: 768px) {
  .ok-section {
    padding: 64px 0;
  }

  .ok-section-header {
    margin-bottom: 40px;
  }

  .ok-hero-content {
    padding: 100px 20px 60px;
  }
}

@media (max-width: 480px) {
  .ok-section {
    padding: 48px 0;
  }

  .ok-hero h1 {
    font-size: 24px;
  }
}

/* ========================================
   SPECIFIC OVERRIDES for legacy elements
   ======================================== */
/* Remove Bootstrap defaults that conflict */
.ok-page a:focus,
.ok-page a:hover {
  text-decoration: none;
}

sup {
  font-size: 10px;
  color: var(--text-muted);
}
