/*
Theme Name: RISYN.ai
Theme URI: https://risyn.ai
Author: RISYN Team
Author URI: https://risyn.ai
Description: Modern parallax landing page theme for RISYN.ai with GSAP animations and medical-research aesthetic
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: risyn
Tags: parallax, animation, landing-page, modern, medical
*/

:root {
  /* Primary Color */
  --primary-blue: #1D2F6F;        /* Deep Research Blue */
  
  /* Secondary Colors */
  --teal-green: #00BFA6;          /* Refined Science Teal */
  --accent-purple: #5B5FC7;       /* Deep Electric Purple */
  
  /* Neutral Colors */
  --slate-gray: #24324F;          /* Dark Slate Navy */
  --light-gray: #E6ECF2;           /* Cool Light Gray */
  --soft-white: #F8FAFD;           /* Clean Soft White */
  
  /* Warm Accent */
  --soft-amber: #FFB547;           /* Soft Amber Accent */
  
  /* Legacy/Utility */
  --dark-bg: #0F1419;
  --text-primary: #1A202C;
  --text-secondary: #4A5568;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-primary);
  background: var(--soft-white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Site Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  z-index: 1000;
  padding: 30px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(248, 250, 253, 0.98) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo a {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: none !important;
}

.logo-default {
  display: block;
  filter: none;
}

.logo-sticky {
  display: none;
  filter: none;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* When scrolled - swap logos and shrink */
.site-header.scrolled .logo-default {
  display: none;
}

.site-header.scrolled .logo-sticky {
  display: block;
  height: 45px;
}

.site-header.scrolled .logo-img {
  height: 45px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-header {
  background: var(--soft-amber);
  color: var(--slate-gray);
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--soft-amber);
  box-shadow: 0 4px 15px rgba(255, 183, 77, 0.2);
}

.btn-header-demo {
  background: var(--primary-blue);
  color: white;
  border: 2px solid var(--primary-blue);
  box-shadow: 0 4px 15px rgba(29, 47, 111, 0.2);
}

.btn-header-demo:hover {
  background: var(--accent-purple);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(29, 47, 111, 0.3);
  border-color: var(--accent-purple);
}

.site-header.scrolled .btn-header {
  padding: 10px 24px;
  font-size: 0.95rem;
  background: var(--soft-amber);
  border: 2px solid var(--soft-amber);
}

.site-header.scrolled .btn-header-demo {
  background: var(--primary-blue);
  color: white;
  border: 2px solid var(--primary-blue);
}

.site-header.scrolled .btn-header-demo:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: white;
}

.btn-header:hover {
  background: rgba(255, 183, 77, 1);
  color: var(--slate-gray);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 183, 77, 0.4);
  border: 2px solid var(--soft-amber);
}

/* Mobile Circular Arrow Button */
.btn-header-mobile {
  display: none;
  width: 45px;
  height: 45px;
  min-width: 45px;
  min-height: 45px;
  background: var(--soft-amber);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(255, 183, 77, 0.3);
  padding: 0;
  flex-shrink: 0;
}

.btn-header-mobile:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 183, 77, 0.5);
}

.arrow-icon {
  width: 24px;
  height: 24px;
  color: var(--slate-gray);
  animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.btn-header-desktop {
  display: inline-block;
}

/* Ensure only one button shows at a time */
@media (min-width: 769px) {
  .btn-header-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 15px 0;
    background: transparent;
  }
  
  .site-header.scrolled {
    padding: 10px 0;
    background: rgba(248, 250, 253, 0.98) !important;
  }
  
  .header-container {
    padding: 0 15px;
  }
  
  .header-cta {
    gap: 10px;
  }
  
  .logo-img {
    height: 45px;
  }
  
  .site-header.scrolled .logo-img,
  .site-header.scrolled .logo-sticky {
    height: 40px;
  }
  
  /* Hide desktop buttons, show mobile circular arrow */
  .btn-header-desktop,
  .btn-header-demo {
    display: none !important;
  }
  
  .btn-header-mobile {
    display: flex !important;
    background: var(--soft-amber);
    border: 2px solid var(--soft-amber);
  }
  
  .hero-section {
    padding-top: 100px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 12px 0;
    background: transparent;
  }
  
  .site-header.scrolled {
    padding: 8px 0;
  }
  
  .header-container {
    padding: 0 12px;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .site-header.scrolled .logo-img,
  .site-header.scrolled .logo-sticky {
    height: 35px;
  }
  
  .btn-header-mobile {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }
  
  .arrow-icon {
    width: 22px;
    height: 22px;
  }
  
  .hero-section {
    padding-top: 90px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafd 0%, #e6ecf2 100%);
  color: var(--slate-gray);
  padding-top: 120px;
}

/* Scientific Elements Background */
.science-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.science-element {
  position: absolute;
  opacity: 0.8;
  pointer-events: none;
  will-change: transform;
}

.science-element img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.1));
}

/* Element Positioning - Based on your image layout */
.element-1 { top: 5%; left: 8%; width: 60px; height: 60px; }
.element-2 { top: 12%; left: 25%; width: 80px; height: 80px; }
.element-3 { top: 8%; left: 45%; width: 70px; height: 70px; }
.element-4 { top: 15%; left: 65%; width: 90px; height: 90px; }
.element-5 { top: 10%; right: 8%; width: 75px; height: 75px; }

.element-6 { top: 35%; left: 5%; width: 85px; height: 85px; }
.element-7 { top: 40%; left: 20%; width: 65px; height: 65px; }
.element-8 { top: 45%; left: 35%; width: 70px; height: 70px; }
.element-9 { top: 38%; right: 25%; width: 80px; height: 80px; }
.element-10 { top: 42%; right: 8%; width: 75px; height: 75px; }

.element-11 { top: 65%; left: 10%; width: 70px; height: 70px; }
.element-12 { top: 70%; left: 28%; width: 85px; height: 85px; }
.element-13 { top: 68%; left: 48%; width: 60px; height: 60px; }
.element-14 { top: 72%; right: 30%; width: 75px; height: 75px; }
.element-15 { top: 65%; right: 12%; width: 80px; height: 80px; }

.element-16 { bottom: 15%; left: 15%; width: 65px; height: 65px; }
.element-17 { bottom: 12%; left: 35%; width: 70px; height: 70px; }
.element-18 { bottom: 18%; left: 55%; width: 75px; height: 75px; }
.element-19 { bottom: 10%; right: 25%; width: 80px; height: 80px; }
.element-20 { bottom: 20%; right: 8%; width: 70px; height: 70px; }

.hero-bg-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--slate-gray);
  padding-top: 0px !important;
  padding: 60px 40px;
  max-width: 1000px;
  margin: 0 auto;
  background: transparent;
  border-radius: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.2;
  opacity: 1;
  color: #000000;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  margin-bottom: 40px;
  opacity: 1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #000000;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 1;
}

.btn {
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-blue);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-purple);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(29, 47, 111, 0.3);
}

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

.btn-secondary:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-3px);
}

/* Mobile Adjustments for Scientific Elements */
@media (max-width: 768px) {
  .science-element {
    opacity: 0.4;
  }
  
  .element-1 { width: 40px; height: 40px; }
  .element-2 { width: 50px; height: 50px; }
  .element-3 { width: 45px; height: 45px; }
  .element-4 { width: 55px; height: 55px; }
  .element-5 { width: 48px; height: 48px; }
  
  .element-6 { width: 52px; height: 52px; }
  .element-7 { width: 42px; height: 42px; }
  .element-8 { width: 45px; height: 45px; }
  .element-9 { width: 50px; height: 50px; }
  .element-10 { width: 48px; height: 48px; }
  
  .element-11 { width: 45px; height: 45px; }
  .element-12 { width: 52px; height: 52px; }
  .element-13 { width: 38px; height: 38px; }
  .element-14 { width: 48px; height: 48px; }
  .element-15 { width: 50px; height: 50px; }
  
  .element-16 { width: 42px; height: 42px; }
  .element-17 { width: 45px; height: 45px; }
  .element-18 { width: 48px; height: 48px; }
  .element-19 { width: 50px; height: 50px; }
  .element-20 { width: 45px; height: 45px; }
  
  .hero-content {
	padding-top: 0px;
    padding: 40px 25px;
	margin-top: -80px;
    margin: 20px;
    border-radius: 20px;
    background: transparent;
  }
  
  .site-header {
    background: transparent;
  }
}

/* Hover effect for hero content */
.hero-content:hover {
  background: transparent;
  transition: all 0.3s ease;
}

/* Enhanced buttons */
.btn-primary {
  background: var(--primary-blue);
  color: white;
  border: 1px solid var(--primary-blue);
}

.btn-primary:hover {
  background: var(--accent-purple);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(29, 47, 111, 0.3);
  border: 1px solid var(--accent-purple);
}

.btn-secondary {
  background: var(--soft-amber);
  color: var(--slate-gray);
  border: 2px solid var(--soft-amber);
}

.btn-secondary:hover {
  background: rgba(255, 183, 77, 1);
  color: var(--slate-gray);
  transform: translateY(-3px);
  border: 2px solid var(--soft-amber);
  box-shadow: 0 8px 25px rgba(255, 183, 77, 0.4);
}

/* Problem Section */
.problem-section {
  padding: 120px 20px;
  background: white;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 80px;
  color: var(--slate-gray);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

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

@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

.problem-card {
  background: var(--light-gray);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  opacity: 0;
  transform: translateY(50px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.problem-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-blue);
  box-shadow: 0 20px 50px rgba(10, 132, 255, 0.15);
}

.problem-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-blue), var(--teal-green));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.problem-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--slate-gray);
}

.problem-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Mission Section */
.mission-section {
  padding: 120px 20px;
  background: linear-gradient(135deg, rgba(36, 50, 79, 0.4) 0%, rgba(15, 20, 25, 0.5) 100%), 
              url('images/HeaderBG.jpg') center center;
  background-size: cover;
  background-attachment: fixed;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-content {
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  position: relative;
  z-index: 2;
}

.mission-content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.mission-content p {
  font-size: 1.3rem;
  line-height: 1.8;
  opacity: 0.95;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Demo Section */
.demo-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  cursor: pointer;
}

.demo-section .video-container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.demo-section .video-container:hover {
  transform: none;
  box-shadow: none;
}

.demo-section .video-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
}

.demo-section .demo-video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo-section .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.demo-section:hover .video-overlay {
  background: rgba(0, 0, 0, 0.7);
}

.demo-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 40px;
}

.demo-content .demo-title,
.demo-content h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 30px;
  color: white;
}

.demo-content .demo-description {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  line-height: 1.6;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.9);
}

.demo-content .play-button {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
  animation: playButtonPulse 2s ease-in-out infinite;
}

.demo-section:hover .play-button {
  background: white;
  transform: scale(1.1);
  animation: none;
}

.demo-content .play-icon {
  width: 50px;
  height: 50px;
  color: var(--primary-blue);
  margin-left: 6px;
}

@keyframes playButtonPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 30px rgba(255, 255, 255, 0);
  }
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
}

.video-modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease;
}

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

.video-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: 1200px;
  aspect-ratio: 16/9;
  z-index: 10001;
}

.modal-video {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #000;
}

.video-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10002;
  line-height: 1;
}

.video-close:hover {
  color: var(--soft-amber);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .demo-section {
    height: 70vh;
    min-height: 500px;
  }
  
  .demo-content {
    padding: 20px;
  }
  
  .demo-content .demo-title,
  .demo-content h2 {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 20px;
  }
  
  .demo-content .demo-description {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin-bottom: 30px;
  }
  
  .demo-content .play-button {
    width: 100px;
    height: 100px;
  }
  
  .demo-content .play-icon {
    width: 40px;
    height: 40px;
  }
  
  .video-modal-content {
    max-width: 95vw;
    max-height: 80vh;
  }
  
  .video-close {
    top: -40px;
    font-size: 30px;
  }
}

/* Feature Section */
.feature-section {
  padding: 120px 20px;
  background: white;
  overflow-x: hidden;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto 0;
  width: 100%;
}

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

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 40px auto 0;
  }
}

.feature-card {
  background: var(--light-gray);
  border-radius: 24px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  opacity: 0;
  transform: scale(0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 100%;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1);
  border-color: var(--teal-green);
  box-shadow: 0 25px 60px rgba(0, 199, 165, 0.2);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-blue), var(--teal-green));
}

.feature-card h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--primary-blue);
}

.feature-steps {
  list-style: none;
}

.feature-steps li {
  padding: 15px 0;
  padding-left: 35px;
  position: relative;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.feature-steps li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--soft-amber);
  font-weight: bold;
  font-size: 1.3rem;
}

/* Process Section - Timeline */
.process-section {
  padding: 120px 20px;
  background: var(--soft-amber);
  position: relative;
  overflow-x: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.3)"/></svg>'),
    url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M30 10 L30 50 M10 30 L50 30" stroke="rgba(255,255,255,0.2)" stroke-width="2"/></svg>');
  background-size: 40px 40px, 60px 60px;
  background-position: 0 0, 30px 30px;
  opacity: 0.5;
  pointer-events: none;
}

.process-section .section-title {
  color: white;
  position: relative;
  z-index: 2;
}

.process-steps {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 60px auto 0;
  position: relative;
  z-index: 2;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 40px;
  bottom: 40px;
  width: 4px;
  background: white;
  opacity: 0.3;
}

@media (max-width: 768px) {
  .process-steps::before {
    left: 20px;
  }
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateX(-50px);
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-number {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft-amber);
  font-size: 2rem;
  font-weight: bold;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.process-content {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100%;
}

.process-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--slate-gray);
}

.process-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Process connector removed - using timeline line instead */

/* Why You Need Expert AI Section */
.why-expert-ai-section {
  padding: 120px 20px;
  background: white;
  color: var(--slate-gray);
  position: relative;
}

.why-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.why-header .section-title {
  color: var(--slate-gray);
  margin-bottom: 20px;
}

.why-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.why-card {
  background: white;
  border: 2px solid var(--light-gray);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.why-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(29, 47, 111, 0.15);
}

.why-icon {
  width: 80px;
  height: 80px;
  background: var(--soft-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.why-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary-blue);
}

.why-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-blue);
  line-height: 1.3;
}

.why-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* CTA Section with Footer */
.cta-section {
  padding: 120px 20px 60px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-content {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.footer-tagline {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

.footer-description {
  font-size: 0.95rem;
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .why-expert-ai-section {
    padding: 80px 15px;
  }
  
  .why-header {
    margin-bottom: 50px;
  }
  
  .why-subtitle {
    font-size: 1.1rem;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .why-card {
    padding: 30px 25px;
  }
  
  .why-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }
  
  .why-icon svg {
    width: 35px;
    height: 35px;
  }
  
  .why-content h3 {
    font-size: 1.2rem;
  }
  
  .why-content p {
    font-size: 0.9rem;
  }
  
  .cta-section {
    padding: 80px 15px 40px;
  }
  
  .footer-content {
    margin-top: 60px;
    padding-top: 30px;
  }
}

/* CTA Section */
.cta-section {
  padding: 120px 20px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  opacity: 0;
}

.cta-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cta-content h2 {
    white-space: normal;
  }
}

.cta-content > p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Waitlist Form */
.waitlist-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.email-input {
  flex: 1;
  min-width: 280px;
  padding: 18px 25px;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transition: all 0.3s ease;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.email-input:focus {
  outline: none;
  border-color: white;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.form-group .btn {
  min-width: 180px;
}

.form-message {
  margin-top: 20px;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-message.show {
  opacity: 1;
}

.form-message.success {
  color: var(--teal-green);
}

.form-message.error {
  color: #ff6b6b;
}

.form-message.duplicate {
  color: var(--soft-amber);
}

/* Stats Counter */
.stats-section {
  padding: 80px 20px;
  background: var(--slate-gray);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  opacity: 0;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--soft-amber);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .process-section {
    padding: 80px 15px;
  }
  
  .process-steps {
    flex-direction: column;
    margin: 40px auto 0;
    padding: 0 10px;
  }
  
  .process-steps::before {
    display: none;
  }
  
  .process-step {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 30px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 1.3rem;
    margin-bottom: -25px;
    z-index: 3;
  }
  
  .process-content {
    padding: 40px 20px 20px;
    width: 100%;
    max-width: 100%;
  }
  
  .process-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .process-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .feature-section {
    padding: 80px 15px;
  }
  
  .feature-grid {
    gap: 20px;
    padding: 0 5px;
  }
  
  .feature-card {
    padding: 30px 20px;
    width: 100%;
    max-width: 100%;
  }
  
  .feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .feature-steps li {
    font-size: 0.95rem;
    padding: 10px 0;
    padding-left: 28px;
    line-height: 1.5;
  }
  
  .feature-steps li::before {
    font-size: 1.1rem;
  }
  
  .problem-section {
    padding: 80px 15px;
  }
  
  .problem-grid {
    padding: 0 5px;
  }
  
  .section-title {
    margin-bottom: 50px;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  
  .waitlist-form .form-group {
    flex-direction: column;
  }
  
  .email-input {
    min-width: 100%;
    width: 100%;
  }
  
  .form-group .btn {
    width: 100%;
    min-width: 100%;
  }
  
  .cta-section {
    padding: 80px 15px;
  }
  
  .mission-section {
    padding: 80px 15px;
    background-attachment: scroll; /* Fixed attachment doesn't work well on mobile */
  }
  
  .stats-section {
    padding: 60px 15px;
  }
}

/* Loading Animation */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-blue);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loader-logo {
  font-size: 3rem;
  color: white;
  font-weight: 800;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--soft-amber);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(255, 183, 77, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: white;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 183, 77, 0.6);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  color: var(--slate-gray);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .back-to-top svg {
    width: 22px;
    height: 22px;
  }
}

/* Brand Page Header Consistency */
.brand-guide .site-header.scrolled,
body.page-template-page-brand .site-header.scrolled,
body.page-template .site-header.scrolled {
  background: rgba(248, 250, 253, 0.98) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Brand Page Header */
.brand-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(248, 250, 253, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.brand-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px;
  align-items: center;
}

.brand-nav-link {
  color: var(--slate-gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.brand-nav-link:hover {
  color: var(--primary-blue);
  background: rgba(29, 47, 111, 0.1);
  transform: translateY(-2px);
}

.brand-nav-link.active {
  color: white;
  background: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(29, 47, 111, 0.3);
}

/* Brand Guide Body Adjustments */
.brand-guide {
  padding-top: 80px;
}

.brand-guide .brand-section {
  scroll-margin-top: 100px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .brand-header {
    padding: 15px 0;
  }
  
  .brand-nav-container {
    padding: 0 15px;
  }
  
  .brand-nav-menu {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .brand-nav-link {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
  
  .brand-guide {
    padding-top: 120px;
  }
}

@media (max-width: 480px) {
  .brand-nav-menu {
    gap: 15px;
  }
  
  .brand-nav-link {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
  
  .brand-guide {
    padding-top: 140px;
  }
}

/* Brand Style Guide Page */
.brand-guide {
  background: var(--soft-white);
  padding-top: 0;
}

.brand-hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
  color: white;
  padding: 0 20px;
  text-align: center;
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
}

.brand-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  opacity: 0;
  max-width: 800px;
  margin: 0 auto;
  transform: translateY(30px);
}

.brand-section {
  padding: 100px 20px;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
  overflow: hidden;
}

.brand-section .container {
  opacity: 0;
  transform: translateY(50px);
}

.brand-section:last-child {
  border-bottom: none;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.section-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-blue);
  opacity: 0.3;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--slate-gray);
}

.section-intro {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.brand-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.brand-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(10, 132, 255, 0.15);
}

.brand-card h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.brand-card .lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate-gray);
  margin-bottom: 15px;
}

.brand-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.brand-values {
  margin-top: 60px;
}

.brand-values h3 {
  font-size: 2rem;
  color: var(--slate-gray);
  margin-bottom: 30px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.value-item {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.value-item h4 {
  font-size: 1.3rem;
  color: var(--slate-gray);
  margin-bottom: 10px;
}

.value-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.personality-traits,
.tone-of-voice {
  margin-bottom: 50px;
}

.personality-traits h3,
.tone-of-voice h3 {
  font-size: 2rem;
  color: var(--slate-gray);
  margin-bottom: 30px;
}

.traits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.trait-item {
  background: white;
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid var(--teal-green);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.trait-item h4 {
  font-size: 1.4rem;
  color: var(--slate-gray);
  margin-bottom: 10px;
}

.trait-item p {
  color: var(--text-secondary);
}

.tone-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.tone-list li {
  padding: 15px 20px;
  background: white;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 4px solid var(--soft-amber);
  font-size: 1.1rem;
  color: var(--slate-gray);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tone-note {
  font-style: italic;
  color: var(--text-secondary);
  padding: 20px;
  background: var(--light-gray);
  border-radius: 8px;
}

.logo-intro,
.logo-guidelines {
  margin-bottom: 40px;
}

.logo-guidelines h3 {
  font-size: 1.8rem;
  color: var(--slate-gray);
  margin-bottom: 20px;
}

.logo-guidelines ul {
  list-style: none;
  padding: 0;
}

.logo-guidelines li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.logo-guidelines li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-green);
  font-weight: bold;
}

.logo-variants h3 {
  font-size: 1.8rem;
  color: var(--slate-gray);
  margin-bottom: 30px;
}

.variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.variant-item {
  text-align: center;
}

.variant-preview {
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 15px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.variant-preview.light-bg {
  background: white;
  border: 2px solid var(--light-gray);
}

.variant-preview.dark-bg {
  background: var(--slate-gray);
}

.variant-preview img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.variant-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.color-palette h3 {
  font-size: 1.8rem;
  color: var(--slate-gray);
  margin: 40px 0 20px;
}

.color-palette h3:first-child {
  margin-top: 0;
}

.color-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.color-swatch {
  height: 150px;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.color-swatch:hover {
  transform: translateY(-5px);
}

.color-info {
  color: white;
  width: 100%;
}

.color-info.dark-text {
  color: var(--slate-gray);
}

.color-name {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.color-hex {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  opacity: 0.9;
}

.color-note {
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 10px;
}

.typography-primary {
  margin-bottom: 40px;
}

.typography-primary h3 {
  font-size: 1.8rem;
  color: var(--slate-gray);
  margin-bottom: 20px;
}

.font-showcase {
  background: white;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.font-name {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.font-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.font-weights h4,
.typography-guidelines h4 {
  font-size: 1.5rem;
  color: var(--slate-gray);
  margin-bottom: 20px;
}

.weight-examples {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.weight-examples p {
  margin-bottom: 20px;
  color: var(--slate-gray);
}

.weight-examples p:last-child {
  margin-bottom: 0;
}

.typography-guidelines ul {
  list-style: none;
  padding: 0;
}

.typography-guidelines li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.typography-guidelines li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
}

.art-examples,
.art-guidelines {
  margin-bottom: 40px;
}

.art-examples h3,
.art-guidelines h3 {
  font-size: 1.8rem;
  color: var(--slate-gray);
  margin-bottom: 20px;
}

.art-examples ul,
.art-guidelines ul {
  list-style: none;
  padding: 0;
}

.art-examples li,
.art-guidelines li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.art-examples li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--teal-green);
  font-size: 1.5rem;
}

.art-guidelines li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--soft-amber);
  font-weight: bold;
}

.placeholder-image {
  background: var(--light-gray);
  border: 2px dashed var(--primary-blue);
  border-radius: 12px;
  padding: 80px 40px;
  text-align: center;
  margin: 40px 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-style: italic;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.placeholder-grid .placeholder-image {
  margin: 0;
  padding: 60px 30px;
}

@media (max-width: 768px) {
  .brand-section {
    padding: 60px 15px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .section-number {
    font-size: 2rem;
  }
  
  .brand-grid,
  .values-grid,
  .traits-grid,
  .variants-grid,
  .color-row {
    grid-template-columns: 1fr;
  }
  
  .brand-card {
    padding: 25px;
  }
  
  .font-name {
    font-size: 2.5rem;
  }
  
  .weight-examples {
    padding: 25px;
  }
}

.brand-image {
  margin: 40px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.brand-image img {
  width: 100%;
  height: auto;
  display: block;
}

.brand-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

@media (max-width: 768px) {
  .brand-image-grid {
    grid-template-columns: 1fr;
  }
}
