/*
Theme Name: RocketKit Marketing
Theme URI: https://rocketkit.io
Author: RocketKit
Author URI: https://rocketkit.io
Description: A modern, high-conversion SaaS landing page theme for RocketKit — AI-powered startup marketing platform. WPML-compatible for multilingual support.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rk-marketing
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
  /* Colors */
  --rk-primary: #6366f1;
  --rk-primary-hover: #4f46e5;
  --rk-primary-light: #818cf8;
  --rk-primary-50: #eef2ff;
  --rk-primary-100: #e0e7ff;
  --rk-accent: #8b5cf6;
  --rk-accent-hover: #7c3aed;
  --rk-dark: #0f1629;
  --rk-dark-800: #1e1b4b;
  --rk-dark-700: #272456;
  --rk-dark-600: #312e61;
  --rk-gray-50: #f8fafc;
  --rk-gray-100: #f1f5f9;
  --rk-gray-200: #e2e8f0;
  --rk-gray-300: #cbd5e1;
  --rk-gray-400: #94a3b8;
  --rk-gray-500: #64748b;
  --rk-gray-600: #475569;
  --rk-gray-700: #334155;
  --rk-gray-800: #1e293b;
  --rk-gray-900: #0f172a;
  --rk-white: #ffffff;
  --rk-success: #10b981;
  --rk-warning: #f59e0b;
  --rk-error: #ef4444;

  /* Typography */
  --rk-font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --rk-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --rk-font-size-xs: 0.75rem;
  --rk-font-size-sm: 0.875rem;
  --rk-font-size-base: 1rem;
  --rk-font-size-lg: 1.125rem;
  --rk-font-size-xl: 1.25rem;
  --rk-font-size-2xl: 1.5rem;
  --rk-font-size-3xl: 1.875rem;
  --rk-font-size-4xl: 2.25rem;
  --rk-font-size-5xl: 3rem;
  --rk-font-size-6xl: 3.75rem;
  --rk-line-height-tight: 1.15;
  --rk-line-height-snug: 1.3;
  --rk-line-height-normal: 1.6;

  /* Spacing */
  --rk-space-xs: 0.25rem;
  --rk-space-sm: 0.5rem;
  --rk-space-md: 1rem;
  --rk-space-lg: 1.5rem;
  --rk-space-xl: 2rem;
  --rk-space-2xl: 3rem;
  --rk-space-3xl: 4rem;
  --rk-space-4xl: 5rem;
  --rk-space-5xl: 6rem;

  /* Layout */
  --rk-max-width: 1200px;
  --rk-section-padding: 80px;
  --rk-radius-sm: 6px;
  --rk-radius-md: 8px;
  --rk-radius-lg: 12px;
  --rk-radius-xl: 16px;
  --rk-radius-full: 9999px;

  /* Shadows */
  --rk-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --rk-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --rk-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --rk-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --rk-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --rk-transition-fast: 150ms ease;
  --rk-transition-base: 250ms ease;
  --rk-transition-slow: 350ms ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--rk-font-family);
  font-size: var(--rk-font-size-base);
  line-height: var(--rk-line-height-normal);
  color: var(--rk-gray-700);
  background-color: var(--rk-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--rk-primary);
  text-decoration: none;
  transition: color var(--rk-transition-fast);
}

a:hover {
  color: var(--rk-primary-hover);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--rk-gray-900);
  font-weight: 700;
  line-height: var(--rk-line-height-tight);
}

h1 { font-size: var(--rk-font-size-5xl); }
h2 { font-size: var(--rk-font-size-4xl); }
h3 { font-size: var(--rk-font-size-2xl); }
h4 { font-size: var(--rk-font-size-xl); }

p {
  margin-bottom: var(--rk-space-md);
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.rk-container {
  max-width: var(--rk-max-width);
  margin: 0 auto;
  padding: 0 var(--rk-space-xl);
}

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

.rk-section--gray {
  background-color: var(--rk-gray-50);
}

.rk-section--dark {
  background: linear-gradient(135deg, var(--rk-dark) 0%, var(--rk-dark-800) 100%);
  color: var(--rk-gray-200);
}

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

.rk-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--rk-space-3xl);
}

.rk-section-header h2 {
  margin-bottom: var(--rk-space-md);
}

.rk-section-header p {
  font-size: var(--rk-font-size-lg);
  color: var(--rk-gray-500);
}

.rk-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: var(--rk-font-size-sm);
  font-weight: 600;
  color: var(--rk-primary);
  background-color: var(--rk-primary-50);
  border-radius: var(--rk-radius-full);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--rk-font-family);
  font-size: var(--rk-font-size-base);
  font-weight: 600;
  line-height: 1.5;
  border: none;
  border-radius: var(--rk-radius-md);
  cursor: pointer;
  transition: all var(--rk-transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.rk-btn--primary {
  color: var(--rk-white);
  background: linear-gradient(135deg, var(--rk-primary) 0%, var(--rk-accent) 100%);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.rk-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
  color: var(--rk-white);
}

.rk-btn--outline {
  color: var(--rk-primary);
  background: transparent;
  border: 2px solid var(--rk-primary);
}

.rk-btn--outline:hover {
  background: var(--rk-primary);
  color: var(--rk-white);
}

.rk-btn--white {
  color: var(--rk-primary);
  background: var(--rk-white);
  box-shadow: var(--rk-shadow-md);
}

.rk-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--rk-shadow-lg);
  color: var(--rk-primary-hover);
}

.rk-btn--lg {
  padding: 16px 36px;
  font-size: var(--rk-font-size-lg);
  border-radius: var(--rk-radius-lg);
}

.rk-btn--sm {
  padding: 8px 18px;
  font-size: var(--rk-font-size-sm);
}

.rk-btn--disabled {
  background: var(--rk-gray-300);
  color: var(--rk-gray-500);
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}

.rk-btn--disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ==========================================================================
   Admin Mode Notice (fixed top bar for admin preview)
   ========================================================================== */

.rk-admin-mode-notice {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--rk-font-family);
  font-size: var(--rk-font-size-sm);
  font-weight: 600;
  color: var(--rk-white);
  background-color: var(--rk-warning);
  text-align: center;
  line-height: 1.4;
}

.rk-admin-mode-notice a {
  color: var(--rk-white);
  text-decoration: underline;
  font-weight: 700;
}

.rk-admin-mode-notice a:hover {
  opacity: 0.85;
}

.rk-admin-mode-notice .material-icons {
  font-size: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   Top Banner (visitor-facing, all pages, prominent)
   ========================================================================== */

.rk-top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: linear-gradient(135deg, var(--rk-primary) 0%, var(--rk-accent) 100%);
  color: var(--rk-white);
  text-align: center;
  padding: 10px 16px;
  font-size: var(--rk-font-size-sm);
  font-weight: 500;
  line-height: 1.5;
}

.rk-top-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: var(--rk-max-width);
  margin: 0 auto;
}

.rk-top-banner .material-icons {
  font-size: 20px;
  flex-shrink: 0;
}

.rk-top-banner strong {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Push fixed header down when top banner is present — always dark */
body.rk-has-top-banner .rk-header,
body.rk-has-top-banner .rk-header.rk-header--scrolled {
  top: 42px;
  background: rgba(15, 22, 41, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body.rk-has-top-banner .rk-header--scrolled .rk-header__logo {
  color: var(--rk-white);
}

body.rk-has-top-banner .rk-header--scrolled .rk-header__menu li a {
  color: rgba(255, 255, 255, 0.8);
}

body.rk-has-top-banner .rk-header--scrolled .rk-header__menu li a:hover,
body.rk-has-top-banner .rk-header--scrolled .rk-header__menu li.current-menu-item a {
  color: var(--rk-white);
}

body.rk-has-top-banner .rk-header--scrolled .rk-header__toggle span {
  background: var(--rk-white);
}

body.rk-has-top-banner .rk-header--scrolled .wpml-ls-statics-shortcode_actions a {
  color: rgba(255, 255, 255, 0.7);
}

body.rk-has-top-banner .rk-header--scrolled .wpml-ls-statics-shortcode_actions a:hover {
  color: var(--rk-white);
}

body.rk-has-top-banner #rk-main {
  padding-top: calc(80px + 42px);
}

/* Admin notice (admins only, below top banner) */

.rk-admin-notice {
  position: fixed;
  top: 42px;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--rk-warning);
  color: var(--rk-dark);
  font-size: var(--rk-font-size-xs);
  font-weight: 600;
}

.rk-admin-notice .material-icons {
  font-size: 18px;
}

body.rk-has-admin-notice .rk-header {
  top: 74px;
}

body.rk-has-admin-notice #rk-main {
  padding-top: calc(80px + 74px);
}

body.rk-has-top-banner.rk-has-admin-notice .rk-header {
  top: calc(42px + 32px);
}

body.rk-has-top-banner.rk-has-admin-notice #rk-main {
  padding-top: calc(80px + 42px + 32px);
}

/* ==========================================================================
   Site Mode Banner (inline info banner, front page only)
   ========================================================================== */

.rk-site-mode-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  margin: var(--rk-space-lg) auto;
  max-width: var(--rk-max-width);
  font-size: var(--rk-font-size-sm);
  font-weight: 500;
  color: var(--rk-primary);
  background-color: var(--rk-primary-50);
  border: 1px solid var(--rk-primary-100);
  border-radius: var(--rk-radius-md);
  text-align: center;
  line-height: 1.5;
}

.rk-site-mode-banner .material-icons {
  font-size: 20px;
  flex-shrink: 0;
  color: var(--rk-primary);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.rk-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 16px 0;
  transition: all var(--rk-transition-base);
}

/* WordPress admin bar offset — only when admin bar is visible */
.admin-bar .rk-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .rk-header {
    top: 0;
  }

  /* WP adds margin-top to html on mobile for admin bar — remove it */
  html.wp-toolbar {
    padding-top: 0 !important;
  }

  /* Hide admin bar on frontend mobile for clean preview */
  #wpadminbar {
    display: none !important;
  }
}

.rk-header--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--rk-shadow-sm);
  padding: 10px 0;
}

.rk-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--rk-max-width);
  margin: 0 auto;
  padding: 0 var(--rk-space-xl);
}

.rk-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--rk-font-size-xl);
  font-weight: 800;
  color: var(--rk-white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.rk-header--scrolled .rk-header__logo {
  color: var(--rk-gray-900);
}

.rk-header__logo img {
  height: 36px;
  width: auto;
}

.rk-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.rk-header__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rk-header__menu li a {
  font-size: var(--rk-font-size-base);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--rk-transition-fast);
  letter-spacing: 0.01em;
}

.rk-header--scrolled .rk-header__menu li a {
  color: var(--rk-gray-700);
}

.rk-header__menu li a:hover,
.rk-header__menu li.current-menu-item a {
  color: var(--rk-white);
}

.rk-header--scrolled .rk-header__menu li a:hover,
.rk-header--scrolled .rk-header__menu li.current-menu-item a {
  color: var(--rk-primary);
}

.rk-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rk-header__lang-switcher {
  margin-right: 4px;
}

.rk-header__cta {
  padding: 10px 22px;
  font-size: var(--rk-font-size-sm);
  font-weight: 600;
  color: var(--rk-white);
  background: var(--rk-primary);
  border-radius: var(--rk-radius-md);
  text-decoration: none;
  transition: all var(--rk-transition-base);
}

.rk-header__cta:hover {
  background: var(--rk-primary-hover);
  color: var(--rk-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

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

.rk-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--rk-white);
  border-radius: 2px;
  transition: all var(--rk-transition-base);
}

.rk-header--scrolled .rk-header__toggle span {
  background: var(--rk-gray-700);
}

.rk-header__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.rk-header__toggle.active span:nth-child(2) {
  opacity: 0;
}

.rk-header__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.rk-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 var(--rk-section-padding);
  background: linear-gradient(135deg, var(--rk-dark) 0%, var(--rk-dark-800) 50%, var(--rk-dark-700) 100%);
  overflow: hidden;
}

.rk-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.rk-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.rk-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rk-space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.rk-hero__content {
  max-width: 580px;
}

.rk-hero__badge {
  margin-bottom: var(--rk-space-lg);
}

.rk-hero h1 {
  font-size: var(--rk-font-size-6xl);
  font-weight: 800;
  color: var(--rk-white);
  line-height: var(--rk-line-height-tight);
  margin-bottom: var(--rk-space-lg);
  letter-spacing: -0.03em;
}

.rk-hero h1 span {
  background: linear-gradient(135deg, var(--rk-primary-light) 0%, var(--rk-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rk-hero__subtitle {
  font-size: var(--rk-font-size-xl);
  color: var(--rk-gray-400);
  line-height: var(--rk-line-height-normal);
  margin-bottom: var(--rk-space-2xl);
}

.rk-hero__actions {
  display: flex;
  gap: var(--rk-space-md);
  align-items: center;
  flex-wrap: wrap;
}

.rk-hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--rk-space-lg);
  font-size: var(--rk-font-size-sm);
  color: var(--rk-gray-400);
}

.rk-hero__note .material-icons {
  font-size: 16px;
  color: var(--rk-success);
}

.rk-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rk-hero__screenshot {
  width: 100%;
  max-width: 560px;
  border-radius: var(--rk-radius-xl);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  background: var(--rk-dark-700);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rk-hero__screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rk-hero__screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--rk-gray-400);
  font-size: var(--rk-font-size-sm);
}

.rk-hero__screenshot-placeholder .material-icons {
  font-size: 48px;
  opacity: 0.3;
}

/* ==========================================================================
   Trust Bar / Logos
   ========================================================================== */

.rk-trust {
  padding: var(--rk-space-3xl) 0;
  background: var(--rk-white);
  border-bottom: 1px solid var(--rk-gray-100);
}

.rk-trust__label {
  text-align: center;
  font-size: var(--rk-font-size-sm);
  font-weight: 500;
  color: var(--rk-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--rk-space-xl);
}

.rk-trust__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--rk-space-3xl);
  flex-wrap: wrap;
  opacity: 0.4;
}

.rk-trust__logo {
  height: 28px;
  width: auto;
  filter: grayscale(100%);
  transition: all var(--rk-transition-base);
}

.rk-trust__logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.rk-trust__logo-placeholder {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--rk-font-size-lg);
  font-weight: 700;
  color: var(--rk-gray-500);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.rk-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--rk-space-xl);
}

.rk-feature-card {
  position: relative;
  padding: var(--rk-space-2xl);
  background: var(--rk-white);
  border: 1px solid var(--rk-gray-100);
  border-radius: var(--rk-radius-lg);
  transition: all var(--rk-transition-base);
}

.rk-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rk-shadow-xl);
  border-color: var(--rk-primary-100);
}

.rk-feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--rk-space-lg);
  background: linear-gradient(135deg, var(--rk-primary-50) 0%, var(--rk-primary-100) 100%);
  border-radius: var(--rk-radius-lg);
  color: var(--rk-primary);
}

.rk-feature-card__icon .material-icons {
  font-size: 26px;
}

.rk-feature-card h3 {
  font-size: var(--rk-font-size-lg);
  font-weight: 700;
  margin-bottom: var(--rk-space-sm);
}

.rk-feature-card p {
  font-size: var(--rk-font-size-sm);
  color: var(--rk-gray-500);
  margin-bottom: 0;
  line-height: var(--rk-line-height-normal);
}

/* ==========================================================================
   How It Works
   ========================================================================== */

.rk-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rk-space-2xl);
  position: relative;
}

.rk-steps__grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--rk-primary-100), var(--rk-primary), var(--rk-primary-100));
  z-index: 0;
}

.rk-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.rk-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin: 0 auto var(--rk-space-xl);
  font-size: var(--rk-font-size-3xl);
  font-weight: 800;
  color: var(--rk-primary);
  background: var(--rk-white);
  border: 3px solid var(--rk-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--rk-primary-50);
}

.rk-step h3 {
  font-size: var(--rk-font-size-xl);
  margin-bottom: var(--rk-space-sm);
}

.rk-step p {
  font-size: var(--rk-font-size-sm);
  color: var(--rk-gray-500);
  max-width: 300px;
  margin: 0 auto;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.rk-pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--rk-space-lg);
  align-items: start;
}

.rk-pricing-card {
  position: relative;
  padding: var(--rk-space-2xl);
  background: var(--rk-white);
  border: 1px solid var(--rk-gray-200);
  border-radius: var(--rk-radius-xl);
  transition: all var(--rk-transition-base);
}

.rk-pricing-card:hover {
  box-shadow: var(--rk-shadow-xl);
}

.rk-pricing-card--featured {
  border-color: var(--rk-primary);
  box-shadow: 0 0 0 1px var(--rk-primary), var(--rk-shadow-lg);
  transform: scale(1.04);
}

.rk-pricing-card--featured:hover {
  transform: scale(1.06);
}

.rk-pricing-card__popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  font-size: var(--rk-font-size-xs);
  font-weight: 700;
  color: var(--rk-white);
  background: linear-gradient(135deg, var(--rk-primary) 0%, var(--rk-accent) 100%);
  border-radius: var(--rk-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.rk-pricing-card__name {
  font-size: var(--rk-font-size-xl);
  font-weight: 700;
  color: var(--rk-gray-900);
  margin-bottom: var(--rk-space-sm);
}

.rk-pricing-card__desc {
  font-size: var(--rk-font-size-sm);
  color: var(--rk-gray-500);
  margin-bottom: var(--rk-space-xl);
}

.rk-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--rk-space-xl);
}

.rk-pricing-card__amount {
  font-size: var(--rk-font-size-5xl);
  font-weight: 800;
  color: var(--rk-gray-900);
  line-height: 1;
}

.rk-pricing-card__currency {
  font-size: var(--rk-font-size-2xl);
  font-weight: 700;
  color: var(--rk-gray-400);
}

.rk-pricing-card__period {
  font-size: var(--rk-font-size-sm);
  color: var(--rk-gray-400);
}

.rk-pricing-card__features {
  margin-bottom: var(--rk-space-xl);
  padding-top: var(--rk-space-xl);
  border-top: 1px solid var(--rk-gray-100);
}

.rk-pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: var(--rk-font-size-sm);
  color: var(--rk-gray-600);
}

.rk-pricing-card__features li .material-icons {
  font-size: 18px;
  color: var(--rk-success);
  flex-shrink: 0;
  margin-top: 1px;
}

.rk-pricing-card__features li.disabled {
  color: var(--rk-gray-400);
}

.rk-pricing-card__features li.disabled .material-icons {
  color: var(--rk-gray-300);
}

.rk-pricing-card .rk-btn {
  width: 100%;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.rk-testimonials__slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rk-space-xl);
}

.rk-testimonial {
  padding: var(--rk-space-2xl);
  background: var(--rk-white);
  border: 1px solid var(--rk-gray-100);
  border-radius: var(--rk-radius-lg);
  transition: all var(--rk-transition-base);
}

.rk-testimonial:hover {
  box-shadow: var(--rk-shadow-lg);
}

.rk-testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--rk-space-md);
  color: var(--rk-warning);
}

.rk-testimonial__stars .material-icons {
  font-size: 18px;
}

.rk-testimonial__text {
  font-size: var(--rk-font-size-base);
  color: var(--rk-gray-600);
  line-height: var(--rk-line-height-normal);
  margin-bottom: var(--rk-space-xl);
  font-style: italic;
}

.rk-testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rk-testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rk-primary) 0%, var(--rk-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rk-white);
  font-weight: 700;
  font-size: var(--rk-font-size-sm);
  flex-shrink: 0;
}

.rk-testimonial__name {
  font-size: var(--rk-font-size-sm);
  font-weight: 700;
  color: var(--rk-gray-900);
}

.rk-testimonial__role {
  font-size: var(--rk-font-size-xs);
  color: var(--rk-gray-400);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.rk-faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.rk-faq__item {
  border-bottom: 1px solid var(--rk-gray-200);
}

.rk-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--rk-space-xl) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--rk-font-family);
  font-size: var(--rk-font-size-lg);
  font-weight: 600;
  color: var(--rk-gray-900);
  text-align: left;
  transition: color var(--rk-transition-fast);
}

.rk-faq__question:hover {
  color: var(--rk-primary);
}

.rk-faq__question .material-icons {
  font-size: 24px;
  color: var(--rk-gray-400);
  transition: transform var(--rk-transition-base);
  flex-shrink: 0;
}

.rk-faq__item.active .rk-faq__question .material-icons {
  transform: rotate(180deg);
  color: var(--rk-primary);
}

.rk-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--rk-transition-slow), padding var(--rk-transition-slow);
}

.rk-faq__item.active .rk-faq__answer {
  max-height: 400px;
}

.rk-faq__answer p {
  padding-bottom: var(--rk-space-xl);
  font-size: var(--rk-font-size-base);
  color: var(--rk-gray-500);
  line-height: var(--rk-line-height-normal);
}

/* ==========================================================================
   Bottom CTA
   ========================================================================== */

.rk-cta-bottom {
  padding: var(--rk-section-padding) 0;
  background: linear-gradient(135deg, var(--rk-dark) 0%, var(--rk-dark-800) 100%);
  text-align: center;
}

.rk-cta-bottom h2 {
  color: var(--rk-white);
  margin-bottom: var(--rk-space-md);
}

.rk-cta-bottom p {
  font-size: var(--rk-font-size-lg);
  color: var(--rk-gray-400);
  max-width: 500px;
  margin: 0 auto var(--rk-space-2xl);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.rk-footer {
  padding: var(--rk-space-4xl) 0 0;
  background: var(--rk-gray-900);
  color: var(--rk-gray-400);
}

.rk-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--rk-space-3xl);
  padding-bottom: var(--rk-space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rk-footer__brand {
  max-width: 280px;
}

.rk-footer__logo {
  font-size: var(--rk-font-size-xl);
  font-weight: 800;
  color: var(--rk-white);
  margin-bottom: var(--rk-space-md);
  letter-spacing: -0.02em;
}

.rk-footer__brand p {
  font-size: var(--rk-font-size-sm);
  color: var(--rk-gray-400);
  line-height: var(--rk-line-height-normal);
}

.rk-footer__newsletter {
  margin-top: var(--rk-space-xl);
}

.rk-footer__newsletter-form {
  display: flex;
  gap: 8px;
}

.rk-footer__newsletter-input {
  flex: 1;
  padding: 10px 14px;
  font-family: var(--rk-font-family);
  font-size: var(--rk-font-size-sm);
  color: var(--rk-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--rk-radius-md);
  outline: none;
  transition: border-color var(--rk-transition-fast);
}

.rk-footer__newsletter-input::placeholder {
  color: var(--rk-gray-500);
}

.rk-footer__newsletter-input:focus {
  border-color: var(--rk-primary);
}

.rk-footer__newsletter-btn {
  padding: 10px 18px;
  font-family: var(--rk-font-family);
  font-size: var(--rk-font-size-sm);
  font-weight: 600;
  color: var(--rk-white);
  background: var(--rk-primary);
  border: none;
  border-radius: var(--rk-radius-md);
  cursor: pointer;
  transition: background var(--rk-transition-fast);
  white-space: nowrap;
}

.rk-footer__newsletter-btn:hover {
  background: var(--rk-primary-hover);
}

.rk-footer__col h4 {
  font-size: var(--rk-font-size-sm);
  font-weight: 700;
  color: var(--rk-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--rk-space-lg);
}

.rk-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rk-footer__links li {
  margin-bottom: var(--rk-space-sm);
}

.rk-footer__links a {
  font-size: var(--rk-font-size-sm);
  color: var(--rk-gray-400);
  text-decoration: none;
  transition: color var(--rk-transition-fast);
}

.rk-footer__links a:hover {
  color: var(--rk-white);
}

.rk-footer__social {
  display: flex;
  gap: var(--rk-space-md);
  margin-top: var(--rk-space-md);
}

.rk-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--rk-radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--rk-gray-400);
  transition: all var(--rk-transition-fast);
}

.rk-footer__social a:hover {
  background: var(--rk-primary);
  color: var(--rk-white);
}

.rk-footer__social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.rk-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--rk-space-xl) 0;
  font-size: var(--rk-font-size-xs);
  color: var(--rk-gray-500);
}

.rk-footer__bottom-links {
  display: flex;
  gap: var(--rk-space-xl);
}

.rk-footer__bottom-links a {
  font-size: var(--rk-font-size-xs);
  color: var(--rk-gray-500);
}

.rk-footer__bottom-links a:hover {
  color: var(--rk-gray-300);
}

/* ==========================================================================
   Blog / Index
   ========================================================================== */

.rk-main {
  padding: var(--rk-space-5xl) 0;
  min-height: 60vh;
}

.rk-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rk-space-xl);
}

.rk-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--rk-space-xl);
}

.rk-post-card {
  background: var(--rk-white);
  border: 1px solid var(--rk-gray-100);
  border-radius: var(--rk-radius-lg);
  overflow: hidden;
  box-shadow: var(--rk-shadow-sm);
  transition: all var(--rk-transition-base);
}

.rk-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rk-shadow-xl);
}

.rk-post-card__image {
  aspect-ratio: 16 / 9;
  background: var(--rk-gray-100);
  overflow: hidden;
}

.rk-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--rk-transition-slow);
}

.rk-post-card:hover .rk-post-card__image img {
  transform: scale(1.05);
}

.rk-post-card__body {
  padding: var(--rk-space-xl);
}

.rk-post-card__meta {
  font-size: var(--rk-font-size-xs);
  color: var(--rk-gray-400);
  margin-bottom: var(--rk-space-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rk-post-card__title {
  font-size: var(--rk-font-size-lg);
  font-weight: 700;
  margin-bottom: var(--rk-space-sm);
}

.rk-post-card__title a {
  color: var(--rk-gray-900);
  text-decoration: none;
}

.rk-post-card__title a:hover {
  color: var(--rk-primary);
}

.rk-post-card__excerpt {
  font-size: var(--rk-font-size-sm);
  color: var(--rk-gray-500);
  line-height: var(--rk-line-height-normal);
}

.rk-post-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--rk-space-md);
  font-size: var(--rk-font-size-sm);
  font-weight: 600;
  color: var(--rk-primary);
}

.rk-post-card__read-more .material-icons {
  font-size: 16px;
  transition: transform var(--rk-transition-fast);
}

.rk-post-card__read-more:hover .material-icons {
  transform: translateX(4px);
}

.rk-post-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.rk-post-body {
  padding: var(--rk-space-xl);
}

.rk-post-title {
  font-size: var(--rk-font-size-xl);
  font-weight: 700;
  margin: 0 0 var(--rk-space-sm);
  line-height: var(--rk-line-height-snug);
}

.rk-post-title a {
  color: var(--rk-gray-900);
  text-decoration: none;
}

.rk-post-title a:hover {
  color: var(--rk-primary);
}

.rk-post-meta {
  font-size: var(--rk-font-size-sm);
  color: var(--rk-gray-500);
  margin-bottom: var(--rk-space-md);
}

.rk-meta-sep {
  margin: 0 var(--rk-space-sm);
}

.rk-post-excerpt {
  color: var(--rk-gray-600);
  font-size: var(--rk-font-size-sm);
  line-height: var(--rk-line-height-normal);
  margin-bottom: var(--rk-space-lg);
}

.rk-read-more {
  font-weight: 600;
  font-size: var(--rk-font-size-sm);
  color: var(--rk-primary);
  text-decoration: none;
}

.rk-read-more:hover {
  color: var(--rk-primary-hover);
}

/* Blog pagination */
.rk-pagination {
  display: flex;
  justify-content: center;
  gap: var(--rk-space-sm);
  margin-top: var(--rk-space-3xl);
  text-align: center;
}

.rk-pagination a,
.rk-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: var(--rk-font-size-sm);
  font-weight: 500;
  color: var(--rk-gray-600);
  border: 1px solid var(--rk-gray-200);
  border-radius: var(--rk-radius-md);
  transition: all var(--rk-transition-fast);
  text-decoration: none;
}

.rk-pagination a:hover {
  background: var(--rk-primary-50);
  border-color: var(--rk-primary);
  color: var(--rk-primary);
}

.rk-pagination .current {
  background: var(--rk-primary);
  color: var(--rk-white);
  border-color: var(--rk-primary);
}

.rk-pagination .nav-links a,
.rk-pagination .nav-links span {
  display: inline-block;
  padding: var(--rk-space-sm) var(--rk-space-lg);
  margin: 0 2px;
  border-radius: var(--rk-radius-sm);
  font-size: var(--rk-font-size-sm);
  text-decoration: none;
}

.rk-pagination .nav-links a {
  color: var(--rk-gray-700);
  border: 1px solid var(--rk-gray-200);
}

.rk-pagination .nav-links a:hover {
  background: var(--rk-primary-50);
  border-color: var(--rk-primary);
  color: var(--rk-primary);
}

.rk-pagination .nav-links .current {
  background: var(--rk-primary);
  color: var(--rk-white);
  border: 1px solid var(--rk-primary);
}

.rk-no-posts {
  text-align: center;
  padding: var(--rk-space-5xl) 0;
  color: var(--rk-gray-500);
}

/* ==========================================================================
   Single Post
   ========================================================================== */

.rk-single {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--rk-space-3xl);
  padding: calc(var(--rk-section-padding) + 60px) 0 var(--rk-section-padding);
}

.rk-single__content {
  min-width: 0;
}

.rk-single__header {
  margin-bottom: var(--rk-space-2xl);
}

.rk-single__meta {
  font-size: var(--rk-font-size-sm);
  color: var(--rk-gray-400);
  margin-bottom: var(--rk-space-md);
}

.rk-single__title {
  font-size: var(--rk-font-size-4xl);
  font-weight: 800;
  line-height: var(--rk-line-height-snug);
}

.rk-single__body {
  font-size: var(--rk-font-size-lg);
  line-height: 1.8;
  color: var(--rk-gray-700);
}

.rk-single__body h2 {
  font-size: var(--rk-font-size-2xl);
  margin: var(--rk-space-2xl) 0 var(--rk-space-md);
}

.rk-single__body h3 {
  font-size: var(--rk-font-size-xl);
  margin: var(--rk-space-xl) 0 var(--rk-space-md);
}

.rk-single__body p {
  margin-bottom: var(--rk-space-lg);
}

.rk-single__body ul,
.rk-single__body ol {
  margin: var(--rk-space-md) 0 var(--rk-space-lg);
  padding-left: var(--rk-space-xl);
}

.rk-single__body ul {
  list-style: disc;
}

.rk-single__body ol {
  list-style: decimal;
}

.rk-single__body li {
  margin-bottom: var(--rk-space-sm);
}

.rk-single__body blockquote {
  border-left: 4px solid var(--rk-primary);
  padding: var(--rk-space-lg);
  margin: var(--rk-space-xl) 0;
  background: var(--rk-gray-50);
  border-radius: 0 var(--rk-radius-md) var(--rk-radius-md) 0;
  font-style: italic;
  color: var(--rk-gray-600);
}

.rk-single__body img {
  border-radius: var(--rk-radius-lg);
  margin: var(--rk-space-xl) 0;
}

.rk-single__body pre {
  background: var(--rk-gray-900);
  color: var(--rk-gray-100);
  padding: var(--rk-space-xl);
  border-radius: var(--rk-radius-lg);
  overflow-x: auto;
  font-family: var(--rk-font-mono);
  font-size: var(--rk-font-size-sm);
  margin: var(--rk-space-xl) 0;
}

.rk-single__body code {
  font-family: var(--rk-font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  background: var(--rk-gray-100);
  border-radius: 4px;
  color: var(--rk-primary);
}

.rk-single__body pre code {
  padding: 0;
  background: none;
  color: inherit;
}

/* Sidebar */
.rk-sidebar {
  position: sticky;
  top: 100px;
  padding: var(--rk-space-xl);
}

.rk-sidebar__cta {
  padding: var(--rk-space-2xl);
  background: linear-gradient(135deg, var(--rk-dark) 0%, var(--rk-dark-800) 100%);
  border-radius: var(--rk-radius-xl);
  color: var(--rk-white);
  text-align: center;
}

.rk-sidebar__cta h3 {
  font-size: var(--rk-font-size-xl);
  color: var(--rk-white);
  margin-bottom: var(--rk-space-sm);
}

.rk-sidebar__cta p {
  font-size: var(--rk-font-size-sm);
  color: var(--rk-gray-400);
  margin-bottom: var(--rk-space-xl);
}

.rk-sidebar__cta .rk-btn {
  width: 100%;
}

.rk-sidebar .widget {
  margin-bottom: var(--rk-space-2xl);
}

.rk-sidebar .widget-title {
  font-size: var(--rk-font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rk-gray-500);
  margin: 0 0 var(--rk-space-lg);
}

/* ==========================================================================
   Page Templates (Generic, Features, Pricing)
   ========================================================================== */

.rk-page {
  padding: calc(var(--rk-section-padding) + 60px) 0 var(--rk-section-padding);
}

.rk-page__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--rk-space-3xl);
}

.rk-page__header h1 {
  margin-bottom: var(--rk-space-md);
}

.rk-page__header p {
  font-size: var(--rk-font-size-lg);
  color: var(--rk-gray-500);
}

.rk-page__content {
  max-width: 760px;
  margin: 0 auto;
  font-size: var(--rk-font-size-lg);
  line-height: 1.8;
}

.rk-page__content h2 {
  font-size: var(--rk-font-size-2xl);
  margin: var(--rk-space-2xl) 0 var(--rk-space-md);
}

.rk-page__content p {
  margin-bottom: var(--rk-space-lg);
}

.rk-page__content ul,
.rk-page__content ol {
  margin: var(--rk-space-md) 0 var(--rk-space-lg);
  padding-left: var(--rk-space-xl);
}

.rk-page__content ul {
  list-style: disc;
}

.rk-page__content ol {
  list-style: decimal;
}

.rk-page__content li {
  margin-bottom: var(--rk-space-sm);
}

/* Page / Single — alternate classes */
.rk-page-content {
  max-width: 800px;
}

.rk-page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--rk-gray-900);
  margin: 0 0 var(--rk-space-xl);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.rk-featured-image {
  margin: var(--rk-space-2xl) 0;
  border-radius: var(--rk-radius-lg);
  overflow: hidden;
}

.rk-featured-image img {
  width: 100%;
  height: auto;
}

/* Prose typography */
.rk-prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--rk-gray-700);
}

.rk-prose h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--rk-gray-900);
  margin: var(--rk-space-3xl) 0 var(--rk-space-lg);
}

.rk-prose h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--rk-gray-900);
  margin: var(--rk-space-2xl) 0 var(--rk-space-md);
}

.rk-prose p {
  margin: 0 0 var(--rk-space-lg);
}

.rk-prose a {
  color: var(--rk-primary);
  text-decoration: underline;
}

.rk-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--rk-radius-md);
}

.rk-prose ul, .rk-prose ol {
  margin: 0 0 var(--rk-space-lg);
  padding-left: var(--rk-space-xl);
}

.rk-prose li {
  margin-bottom: var(--rk-space-sm);
}

.rk-prose blockquote {
  border-left: 4px solid var(--rk-primary);
  margin: var(--rk-space-xl) 0;
  padding: var(--rk-space-lg) var(--rk-space-xl);
  background: var(--rk-gray-50);
  border-radius: 0 var(--rk-radius-md) var(--rk-radius-md) 0;
  font-style: italic;
  color: var(--rk-gray-600);
}

.rk-prose code {
  font-family: var(--rk-font-mono);
  background: var(--rk-gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
}

.rk-prose pre {
  background: var(--rk-gray-900);
  color: var(--rk-gray-100);
  padding: var(--rk-space-xl);
  border-radius: var(--rk-radius-md);
  overflow-x: auto;
  margin: var(--rk-space-xl) 0;
}

.rk-prose pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Post Navigation */
.rk-post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--rk-space-3xl);
  padding-top: var(--rk-space-2xl);
  border-top: 1px solid var(--rk-gray-200);
}

.rk-post-nav a {
  color: var(--rk-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--rk-font-size-sm);
}

.rk-post-nav a:hover {
  color: var(--rk-primary-hover);
}

/* Features page */
.rk-features-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rk-space-3xl);
  margin-bottom: var(--rk-space-3xl);
}

.rk-features-detail:nth-child(even) {
  direction: rtl;
}

.rk-features-detail:nth-child(even) > * {
  direction: ltr;
}

.rk-feature-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rk-feature-detail__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--rk-space-xl);
  background: linear-gradient(135deg, var(--rk-primary-50) 0%, var(--rk-primary-100) 100%);
  border-radius: var(--rk-radius-xl);
  color: var(--rk-primary);
}

.rk-feature-detail__icon .material-icons {
  font-size: 32px;
}

.rk-feature-detail h3 {
  font-size: var(--rk-font-size-2xl);
  margin-bottom: var(--rk-space-md);
}

.rk-feature-detail p {
  color: var(--rk-gray-500);
  margin-bottom: var(--rk-space-lg);
}

.rk-feature-detail__bullets {
  list-style: none;
  padding: 0;
}

.rk-feature-detail__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: var(--rk-font-size-sm);
  color: var(--rk-gray-600);
}

.rk-feature-detail__bullets li .material-icons {
  font-size: 18px;
  color: var(--rk-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.rk-feature-detail__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rk-gray-50);
  border-radius: var(--rk-radius-xl);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--rk-gray-100);
}

/* Pricing comparison table */
.rk-comparison {
  overflow-x: auto;
  margin-top: var(--rk-space-3xl);
}

.rk-comparison table {
  width: 100%;
  border-collapse: collapse;
}

.rk-comparison th,
.rk-comparison td {
  padding: 14px 20px;
  text-align: left;
  font-size: var(--rk-font-size-sm);
  border-bottom: 1px solid var(--rk-gray-100);
}

.rk-comparison th {
  font-weight: 700;
  color: var(--rk-gray-900);
  background: var(--rk-gray-50);
}

.rk-comparison th:not(:first-child) {
  text-align: center;
}

.rk-comparison td:not(:first-child) {
  text-align: center;
}

.rk-comparison td .material-icons {
  font-size: 20px;
}

.rk-comparison td .material-icons.check {
  color: var(--rk-success);
}

.rk-comparison td .material-icons.cross {
  color: var(--rk-gray-300);
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.rk-404 {
  text-align: center;
  padding: var(--rk-space-5xl) 0;
}

.rk-404-icon .material-icons {
  font-size: 80px;
  color: var(--rk-gray-300);
}

.rk-404 h1 {
  font-size: 6rem;
  font-weight: 800;
  color: var(--rk-gray-200);
  margin: var(--rk-space-lg) 0;
  line-height: 1;
}

.rk-404 h2 {
  font-size: var(--rk-font-size-2xl);
  font-weight: 700;
  color: var(--rk-gray-900);
  margin: 0 0 var(--rk-space-md);
}

.rk-404 p {
  color: var(--rk-gray-500);
  margin: 0 0 var(--rk-space-2xl);
}

/* ==========================================================================
   Animations
   ========================================================================== */

.rk-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.rk-fade-in.visible,
.rk-fade-in.rk-visible {
  opacity: 1;
  transform: translateY(0);
}

.rk-fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.rk-fade-in-left.visible,
.rk-fade-in-left.rk-visible {
  opacity: 1;
  transform: translateX(0);
}

.rk-fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.rk-fade-in-right.visible,
.rk-fade-in-right.rk-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.rk-stagger > * {
  transition-delay: calc(var(--rk-stagger-index, 0) * 100ms);
}

/* Generic visible trigger class for intersection observer */
.rk-visible {
  /* Applied by JS intersection observer to trigger animations */
}

/* ==========================================================================
   WordPress Specifics
   ========================================================================== */

/* WordPress alignment classes */
.alignleft {
  float: left;
  margin-right: var(--rk-space-xl);
  margin-bottom: var(--rk-space-md);
}

.alignright {
  float: right;
  margin-left: var(--rk-space-xl);
  margin-bottom: var(--rk-space-md);
}

.aligncenter {
  display: block;
  margin: var(--rk-space-xl) auto;
}

.alignwide {
  max-width: calc(var(--rk-max-width) + 100px);
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* WordPress gallery */
.wp-block-gallery {
  display: grid;
  gap: var(--rk-space-md);
}

/* WordPress caption */
.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: var(--rk-font-size-sm);
  color: var(--rk-gray-400);
  text-align: center;
  margin-top: var(--rk-space-sm);
}

/* Screen reader text */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* WPML language switcher styling */
.wpml-ls-statics-shortcode_actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wpml-ls-statics-shortcode_actions a {
  font-size: var(--rk-font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: var(--rk-radius-sm);
  transition: all var(--rk-transition-fast);
}

.wpml-ls-statics-shortcode_actions a:hover,
.wpml-ls-statics-shortcode_actions .wpml-ls-current-language a {
  color: var(--rk-white);
  background: rgba(255, 255, 255, 0.1);
}

.rk-header--scrolled .wpml-ls-statics-shortcode_actions a {
  color: var(--rk-gray-500);
}

.rk-header--scrolled .wpml-ls-statics-shortcode_actions a:hover,
.rk-header--scrolled .wpml-ls-statics-shortcode_actions .wpml-ls-current-language a {
  color: var(--rk-primary);
  background: var(--rk-primary-50);
}

/* ==========================================================================
   Responsive — Large Desktop (min-width: 1200px)
   ========================================================================== */

@media (min-width: 1200px) {
  .rk-hero h1 {
    font-size: 4rem;
  }

  .rk-hero__inner {
    gap: var(--rk-space-4xl);
  }

  .rk-features__grid {
    gap: var(--rk-space-2xl);
  }

  .rk-pricing__grid {
    gap: var(--rk-space-xl);
  }

  .rk-footer__grid {
    gap: var(--rk-space-4xl);
  }

  .rk-testimonials__slider {
    gap: var(--rk-space-2xl);
  }
}

/* ==========================================================================
   Responsive — Tablet (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --rk-section-padding: 60px;
  }

  h1 { font-size: var(--rk-font-size-4xl); }
  h2 { font-size: var(--rk-font-size-3xl); }

  .rk-hero h1 {
    font-size: var(--rk-font-size-5xl);
  }

  .rk-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rk-hero__content {
    max-width: 620px;
    margin: 0 auto;
  }

  .rk-hero__actions {
    justify-content: center;
  }

  .rk-hero__note {
    justify-content: center;
  }

  .rk-hero__visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .rk-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rk-pricing__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--rk-space-md);
  }

  .rk-pricing-card--featured {
    transform: scale(1.02);
  }

  .rk-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--rk-space-2xl);
  }

  .rk-single {
    grid-template-columns: 1fr;
  }

  .rk-sidebar {
    position: static;
  }

  .rk-features-detail {
    grid-template-columns: 1fr;
  }

  .rk-features-detail:nth-child(even) {
    direction: ltr;
  }
}

/* ==========================================================================
   Responsive — Mobile (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --rk-section-padding: 40px;
  }

  h1 { font-size: var(--rk-font-size-3xl); }
  h2 { font-size: var(--rk-font-size-2xl); }
  h3 { font-size: var(--rk-font-size-xl); }

  .rk-container {
    padding: 0 var(--rk-space-md);
  }

  /* Header mobile */
  .rk-header__toggle {
    display: flex;
  }

  .rk-header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px var(--rk-space-2xl) var(--rk-space-2xl);
    background: var(--rk-white);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right var(--rk-transition-base);
    gap: var(--rk-space-xl);
    overflow-y: auto;
  }

  .rk-header__nav.open {
    right: 0;
  }

  .rk-header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--rk-space-lg);
    width: 100%;
  }

  .rk-header__menu li a {
    color: var(--rk-gray-700);
    font-size: var(--rk-font-size-base);
  }

  .rk-header__actions {
    flex-direction: column;
    width: 100%;
  }

  .rk-header__cta {
    width: 100%;
    text-align: center;
  }

  /* Mobile overlay */
  .rk-header__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .rk-header__overlay.active {
    display: block;
  }

  /* Hero mobile */
  .rk-hero {
    min-height: auto;
    padding: 100px 0 var(--rk-section-padding);
  }

  .rk-hero h1 {
    font-size: var(--rk-font-size-3xl);
  }

  .rk-hero__subtitle {
    font-size: var(--rk-font-size-base);
  }

  .rk-hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .rk-hero__actions .rk-btn {
    width: 100%;
  }

  /* Features mobile */
  .rk-features__grid {
    grid-template-columns: 1fr;
  }

  /* Steps mobile */
  .rk-steps__grid {
    grid-template-columns: 1fr;
    gap: var(--rk-space-2xl);
  }

  .rk-steps__grid::before {
    display: none;
  }

  /* Pricing mobile */
  .rk-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .rk-pricing-card--featured {
    transform: none;
  }

  /* Testimonials mobile */
  .rk-testimonials__slider {
    grid-template-columns: 1fr;
  }

  /* Trust logos mobile */
  .rk-trust__logos {
    gap: var(--rk-space-xl);
  }

  /* Blog mobile */
  .rk-blog__grid {
    grid-template-columns: 1fr;
  }

  .rk-posts-grid {
    grid-template-columns: 1fr;
  }

  .rk-page-title {
    font-size: 1.75rem;
  }

  /* Footer mobile */
  .rk-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--rk-space-xl);
  }

  .rk-footer__bottom {
    flex-direction: column;
    gap: var(--rk-space-md);
    text-align: center;
  }

  .rk-footer__bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .rk-footer__newsletter-form {
    flex-direction: column;
  }

  /* Comparison table mobile */
  .rk-comparison table {
    min-width: 600px;
  }

  /* 404 mobile */
  .rk-404 h1 {
    font-size: 4rem;
  }

  /* Admin mode notice mobile */
  .rk-admin-mode-notice {
    font-size: var(--rk-font-size-xs);
    padding: 6px 12px;
  }
}

/* ==========================================================================
   Responsive — Small Mobile (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
  :root {
    --rk-section-padding: 32px;
  }

  h1 { font-size: var(--rk-font-size-2xl); }
  h2 { font-size: var(--rk-font-size-xl); }
  h3 { font-size: var(--rk-font-size-lg); }
  h4 { font-size: var(--rk-font-size-base); }

  body {
    font-size: var(--rk-font-size-sm);
  }

  .rk-container {
    padding: 0 var(--rk-space-sm);
  }

  /* Hero small mobile */
  .rk-hero {
    padding: 80px 0 var(--rk-section-padding);
  }

  .rk-hero h1 {
    font-size: var(--rk-font-size-2xl);
    letter-spacing: -0.02em;
  }

  .rk-hero__subtitle {
    font-size: var(--rk-font-size-sm);
  }

  .rk-hero__note {
    font-size: var(--rk-font-size-xs);
  }

  /* Buttons small mobile */
  .rk-btn {
    padding: 10px 20px;
    font-size: var(--rk-font-size-sm);
  }

  .rk-btn--lg {
    padding: 12px 24px;
    font-size: var(--rk-font-size-base);
  }

  /* Feature cards small mobile */
  .rk-feature-card {
    padding: var(--rk-space-lg);
  }

  .rk-feature-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: var(--rk-space-md);
  }

  .rk-feature-card__icon .material-icons {
    font-size: 22px;
  }

  /* Steps small mobile */
  .rk-step__number {
    width: 64px;
    height: 64px;
    font-size: var(--rk-font-size-2xl);
  }

  /* Pricing small mobile */
  .rk-pricing__grid {
    max-width: 100%;
  }

  .rk-pricing-card {
    padding: var(--rk-space-lg);
  }

  .rk-pricing-card__amount {
    font-size: var(--rk-font-size-4xl);
  }

  /* Testimonials small mobile */
  .rk-testimonial {
    padding: var(--rk-space-lg);
  }

  /* FAQ small mobile */
  .rk-faq__question {
    font-size: var(--rk-font-size-base);
    padding: var(--rk-space-lg) 0;
  }

  /* Single post small mobile */
  .rk-single__title {
    font-size: var(--rk-font-size-2xl);
  }

  .rk-single__body {
    font-size: var(--rk-font-size-base);
  }

  /* Page title small mobile */
  .rk-page-title {
    font-size: var(--rk-font-size-2xl);
  }

  /* Section header small mobile */
  .rk-section-header p {
    font-size: var(--rk-font-size-base);
  }

  /* Trust logos small mobile */
  .rk-trust__logos {
    gap: var(--rk-space-lg);
  }

  .rk-trust__label {
    font-size: var(--rk-font-size-xs);
  }

  /* Footer small mobile */
  .rk-footer__newsletter-btn {
    width: 100%;
  }

  .rk-footer__bottom-links {
    gap: var(--rk-space-md);
  }

  /* Badge small mobile */
  .rk-badge {
    font-size: var(--rk-font-size-xs);
    padding: 4px 10px;
  }

  /* 404 small mobile */
  .rk-404 h1 {
    font-size: 3rem;
  }

  .rk-404-icon .material-icons {
    font-size: 60px;
  }

  /* Header CTA small mobile */
  .rk-header__cta {
    padding: 8px 16px;
    font-size: var(--rk-font-size-xs);
  }

  /* Top banner small mobile */
  .rk-top-banner {
    font-size: var(--rk-font-size-xs);
    padding: 8px 12px;
  }

  body.rk-has-top-banner .rk-header {
    top: 36px;
  }

  body.rk-has-top-banner #rk-main {
    padding-top: calc(70px + 36px);
  }

  /* Site mode banner small mobile */
  .rk-site-mode-banner {
    font-size: var(--rk-font-size-xs);
    padding: 8px 12px;
    margin: var(--rk-space-md) var(--rk-space-sm);
  }

  /* Prose small mobile */
  .rk-prose {
    font-size: var(--rk-font-size-base);
  }

  .rk-prose h2 {
    font-size: var(--rk-font-size-xl);
  }

  .rk-prose h3 {
    font-size: var(--rk-font-size-lg);
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
  /* Hide navigation, header, footer */
  .rk-header,
  .rk-footer,
  .rk-header__nav,
  .rk-header__toggle,
  .rk-header__overlay,
  .rk-sidebar__cta,
  .rk-cta-bottom,
  .rk-top-banner,
  .rk-admin-notice,
  .rk-admin-mode-notice,
  .rk-site-mode-banner,
  .rk-pagination,
  .rk-post-nav,
  #wpadminbar {
    display: none !important;
  }

  /* Reset backgrounds and colors for print */
  body {
    background: white !important;
    color: #000 !important;
    font-size: 12pt;
    line-height: 1.5;
  }

  /* Show content in full width */
  .rk-container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .rk-single {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
  }

  .rk-sidebar {
    display: none !important;
  }

  .rk-page,
  .rk-main {
    padding: 0 !important;
  }

  /* Reset hero for print */
  .rk-hero {
    background: white !important;
    color: #000 !important;
    min-height: auto !important;
    padding: 20px 0 !important;
  }

  .rk-hero h1,
  .rk-hero h1 span {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    background: none !important;
  }

  /* Ensure text is black for readability */
  h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
  }

  p, li, td, th {
    color: #333 !important;
  }

  /* Show link URLs */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  a[href^="#"]::after,
  a[href^="javascript"]::after {
    content: "";
  }

  /* Prevent page breaks inside elements */
  .rk-feature-card,
  .rk-pricing-card,
  .rk-testimonial,
  .rk-post-card,
  blockquote,
  pre,
  img {
    break-inside: avoid;
  }

  /* Remove shadows and transforms */
  * {
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
  }

  /* Images */
  img {
    max-width: 100% !important;
  }

  /* Ensure all animations are disabled */
  .rk-fade-in,
  .rk-fade-in-left,
  .rk-fade-in-right {
    opacity: 1 !important;
    transform: none !important;
  }
}
