@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&display=swap');
@import url('https://unpkg.com/normalize.css') layer(normalize);

/* CSS Layers */
@layer normalize, base, grok, stick, effect, scrollbar, principles, debug;

/* CSS Custom Properties */
:root {
  /* Font & Typography */
  --font-size-min: 14;
  --font-size-max: 20;
  --font-ratio-min: 1.1;
  --font-ratio-max: 1.33;
  --font-width-min: 375;
  --font-width-max: 1500;
  
  /* Colors */
  --text-color: #FFFFFF;
  --text-color-bright: #FFFFFF;
  --text-color-dim: rgba(255, 255, 255, 0.8);
  --border-color: rgba(255, 255, 255, 0.15);
  --hover-bg: rgba(255, 255, 255, 0.08);
  
  /* Animation */
  --start: 0;
  --end: 360;
  --lightness: 65%;
  --base-chroma: 0.3;
}

/* Animation Properties */
@property --hue {
  initial-value: 0;
  syntax: '<number>';
  inherits: false;
}

@property --chroma {
  initial-value: 0;
  syntax: '<number>';
  inherits: true;
}

/* Theme Configuration */
[data-theme='dark'] { --lightness: 75%; }
[data-theme='light'] { --lightness: 65%; }

@media (prefers-color-scheme: dark) {
  :root { --lightness: 75%; }
}

/*** BASE STYLES ***/
@layer base {
  html { 
    color-scheme: dark; 
    direction: rtl;
  }
  
  [data-theme='light'] { 
    color-scheme: light only; 
  }
  
  [data-theme='dark'] { 
    color-scheme: dark only; 
  }
  
  :where(.fluid) {
    --fluid-min: calc(var(--font-size-min) * pow(var(--font-ratio-min), var(--font-level, 0)));
    --fluid-max: calc(var(--font-size-max) * pow(var(--font-ratio-max), var(--font-level, 0)));
    --fluid-preferred: calc((var(--fluid-max) - var(--fluid-min)) / (var(--font-width-max) - var(--font-width-min)));
    --fluid-type: clamp((var(--fluid-min) / 16) * 1rem,
      ((var(--fluid-min) / 16) * 1rem) - (((var(--fluid-preferred) * var(--font-width-min)) / 16) * 1rem) + (var(--fluid-preferred) * var(--variable-unit, 100vi)),
      (var(--fluid-max) / 16) * 1rem);
    font-size: var(--fluid-type);
  }
  
  *, *:after, *:before { 
    box-sizing: border-box; 
  }
  
  body {
    margin: 0;
    background: #000000;
    color: var(--text-color);
    min-height: 100vh;
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1;
    line-height: 1.5;
  }
  
  .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .scroll-header {
    min-height: 100vh;
    display: flex;
    place-items: center;
    width: 100%;
    padding-inline: 5rem;
  }
  
  .scroll-title {
    --font-level: 7;
    text-wrap: balance;
    line-height: 0.95;
    margin: 0;
    background: linear-gradient(canvasText 60%, color-mix(in oklch, canvas, canvasText));
    background-clip: text;
    color: transparent;
    text-align: right;
  }
  
  .scroll-indicator {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    color: canvasText;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border: none;
  }
  
  .scroll-indicator:hover { 
    opacity: 1; 
    transform: translateY(-2px);
  }
  
  .scroll-indicator.up .arrow-path {
    transform: rotate(180deg);
    transform-origin: center;
  }
  
  .scroll-indicator svg {
    transition: transform 0.4s ease;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
  
  a { 
    text-decoration: none; 
  }
  
  /* Responsive Base Styles */
  @media (max-width: 1024px) {
    .brand-name { 
      font-size: 10rem; 
    }
  }
  
  @media (max-width: 768px) {
    .grok-header {
      flex-direction: row;
      align-items: center;
      gap: 0;
    }
    
    .container {
      padding: 0 1.5rem;
    }
    
    .brand-name { 
      font-size: 5rem; 
    }
    
    .content { 
      padding-right: 2rem;
    }
    
    .scroll-header { 
      padding-inline: 2rem; 
      min-height: 60vh;
      padding-top: 0;
      margin-top: -5rem;
    }
    
    .scroll-indicator {
      bottom: 1.5rem;
      right: 1.5rem;
      font-size: 1.2rem;
      width: 36px;
      height: 36px;
      z-index: 100;
    }
  }
  
  @media (max-width: 480px) {
    .container {
      padding: 0 1rem;
    }
    
    .scroll-header {
      padding-inline: 1rem;
      min-height: 50vh;
      margin-top: -7rem;
    }
    
    .scroll-title {
      font-size: calc(2rem + 4vw);
      --font-level: 6;
    }
  }
}

/*** SCROLLBAR STYLES ***/
@layer scrollbar {
  [data-sync-scrollbar='true'] {
    scrollbar-color: oklch(var(--lightness) var(--chroma) var(--hue)) #0000;
  }
  
  @supports (animation-timeline: scroll()) and (animation-range: 0% 100%) {
    [data-sync-scrollbar='true'][data-animate='true'] {
      timeline-scope: --list;
      scrollbar-color: oklch(var(--lightness) var(--chroma, 0) var(--hue)) #0000;
      animation-name: change, chroma-on, chroma-off;
      animation-fill-mode: both;
      animation-timing-function: linear;
      animation-range: entry 50% exit 50%, entry 40% entry 50%, exit 30% exit 40%;
      animation-timeline: --list;
    }
    
    [data-sync-scrollbar='true'][data-animate='true'] ul.scroll-list {
      view-timeline: --list;
    }
  }

  @keyframes change {
    to { --hue: var(--end); }
  }
  
  @keyframes chroma-on {
    to { --chroma: 0.3; }
  }
  
  @keyframes chroma-off {
    to { --chroma: 0; }
  }
}

/*** EFFECT STYLES ***/
@layer effect {
  ul.scroll-list { 
    --step: calc((var(--end) - var(--start)) / (var(--count) - 1)); 
  }
  
  ul.scroll-list li:not(:last-of-type) {
    color: oklch(var(--lightness) var(--base-chroma) calc(var(--start) + (var(--step) * var(--i))));
  }

  @supports (animation-timeline: scroll()) and (animation-range: 0% 100%) {
    [data-animate='true'] ul.scroll-list li { 
      opacity: 0.2; 
      animation-name: brighten; 
    }
    
    [data-animate='true'] ul.scroll-list li:first-of-type { 
      --start-opacity: 1; 
    }
    
    [data-animate='true'] ul.scroll-list li:last-of-type { 
      --brightness: 1; 
      --end-opacity: 1; 
    }
    
    [data-animate='true'] ul.scroll-list li {
      animation-fill-mode: both;
      animation-timing-function: linear;
      animation-range: cover calc(50% - 1lh) calc(50% + 1lh);
      animation-timeline: view();
    }
  }

  @keyframes brighten {
    0% { opacity: var(--start-opacity, 0.2); }
    50% { opacity: 1; filter: brightness(var(--brightness, 1.2)); }
    100% { opacity: var(--end-opacity, 0.2); }
  }
}

/*** STICKY CONTENT STYLES ***/
@layer stick {
  .content {
    --font-level: 6;
    display: flex;
    line-height: 1.25;
    width: 100%;
    padding-right: 5rem;
  }
  
  .final-section {
    min-height: 100vh;
    display: flex;
    place-items: center;
    width: 100%;
    justify-content: center;
  }
  
  .final-section h2 { 
    --font-level: 6;
    text-align: center;
    padding: 0 1rem;
  }
  
  main { 
    width: 100%; 
  }
  
  .content h2 {
    position: sticky;
    top: calc(50% - 0.5lh);
    font-size: inherit;
    margin: 0;
    display: inline-block;
    height: fit-content;
    font-weight: 600;
  }
  
  ul.scroll-list {
    font-weight: 600;
    padding-inline: 0;
    margin: 0;
    list-style-type: none;
  }
  
  [data-snap='true'] ul.scroll-list { 
    scroll-snap-type: y proximity; 
  }
  
  [data-snap='true'] ul.scroll-list li { 
    scroll-snap-align: center; 
  }
  
  h2, ul.scroll-list li:last-of-type {
    background: linear-gradient(canvasText 50%, color-mix(in oklch, canvas, canvasText 25%));
    background-clip: text;
    color: transparent;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .final-section {
      min-height: 40vh;
      margin-top: -3rem;
    }
  }
  
  @media (max-width: 480px) {
    .final-section {
      min-height: 30vh;
      margin-top: -5rem;
    }
    
    .final-section h2 {
      font-size: calc(1.5rem + 2vw);
    }
  }
}

/*** PRINCIPLES SECTION STYLES ***/
@layer principles {
  .principles-section {
    min-height: 100vh;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .principles-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8rem;
  }
  
  .principles-left { 
    max-width: 50%; 
  }
  
  .principles-right { 
    max-width: 45%; 
    padding-top: 2.5rem; 
  }
  
  .principles-subheader {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
  }
  
  .principles-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
  }
  
  .principles-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
  }
  
  .principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .principle-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
  }
  
  .principle-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 2.5rem;
    color: white;
  }
  
  .principle-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
  }
  
  .principle-text {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
  }
  
  .principle-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
  }
  
  .principle-features li {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    position: relative;
    padding-right: 1rem;
  }
  
  .principle-features li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: rgba(255, 255, 255, 0.4);
  }
  
  .principle-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: auto;
    margin-bottom: 0;
  }

  /* Results / Outcomes section */
  .results-section {
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
  }

  .results-header {
    max-width: 720px;
    margin: 0 auto 4rem;
    text-align: center;
  }

  .results-subheader {
    font-size: 0.9rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
  }

  .results-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.15;
  }

  .results-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto;
    max-width: 620px;
  }

  .results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .result-card {
    position: relative;
    padding: 2rem 1.75rem 2.25rem;
    border-radius: 1.25rem;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
                box-shadow 0.4s cubic-bezier(0.19, 1, 0.22, 1),
                border-color 0.3s ease,
                background 0.4s ease;
  }

  .result-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
      radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.16), transparent 55%),
      radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.16), transparent 55%);
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1.1);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    mix-blend-mode: screen;
  }

  .result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.85));
  }

  .result-card:hover::before {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .result-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
  }

  .result-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 0.85rem;
    color: white;
  }

  .result-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1.25rem;
  }

  .result-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .result-list li {
    position: relative;
    padding-right: 1.15rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
  }

  .result-list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(148, 163, 184, 0.5));
  }
  
  .principle-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-style: italic;
  }
  
  /* Responsive Principles Styles */
  @media (max-width: 1200px) {
    .hero-content { 
      margin-right: 250px;
      gap: 2rem; 
    }
  }
  
  @media (max-width: 1024px) {
    .principles-grid { 
      grid-template-columns: repeat(2, 1fr); 
    }
    
    .hero-content { 
      max-width: 90%; 
      gap: 2rem; 
    }
    
    .profile-photo { 
      width: 350px; 
    }
    
    .chat-panel { 
      width: 250px; 
      height: 450px; 
      right: 1.5rem;
    }
    
    .hero-content { 
      margin-right: 200px;
    }
  }
  
  @media (max-width: 768px) {
    .principles-grid { 
      grid-template-columns: 1fr; 
    }
    
    .principles-title { 
      font-size: 3rem; 
    }
    
    .principles-header { 
      flex-direction: column; 
      margin-bottom: 4rem; 
    }
    
    .principles-left, .principles-right { 
      max-width: 100%; 
    }
    
    .principles-right { 
      padding-top: 1.5rem; 
    }
    
    /* Adjust chat panel for mobile */
    .chat-panel {
      position: fixed;
      width: 90%;
      max-height: 300px;
      bottom: 0;
      right: 50%;
      transform: translateX(50%);
      margin: 0;
    }
    
    .grok-hero { 
      flex-direction: column; 
      justify-content: center; 
      padding: 2rem 1rem; 
    }
    
    .hero-content {
      flex-direction: column;
      align-items: center;
      gap: 1.5rem;
      margin-right: 0;
      padding: 0 1rem;
    }
    
    .hero-left, .hero-right { 
      width: 100%; 
      flex: unset; 
    }
    
    .hero-right {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .description { 
      text-align: center; 
      max-width: 85%;
      margin: 0 auto 2.5rem;
      font-size: 1.1rem;
    }
    
    .action-buttons { 
      justify-content: center;
      width: auto;
      margin: 0 auto;
    }
    
    .principles-section {
      padding-top: 2rem;
      min-height: auto;
    }

    .results-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 480px) {
    .principles-section {
      padding: 3rem 1rem;
    }
    
    .principles-header {
      margin-bottom: 2rem;
    }
    
    .principles-title {
      font-size: 2.2rem;
    }
    
    .principle-card {
      padding: 1.5rem 1rem;
    }
    
    .principle-icon {
      margin-bottom: 1.5rem;
    }

    .results-section {
      padding: 3rem 1rem 3rem;
    }

    .results-title {
      font-size: 2.2rem;
    }

    .results-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .result-card {
      padding: 1.75rem 1.25rem 2rem;
    }
  }
}

/*** GROK/HEADER/HERO STYLES ***/
@layer grok {
  .light-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at left, rgba(255, 200, 100, 0.2), transparent 70%);
    z-index: 1;
    pointer-events: none;
  }
  
  .grok-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    max-width: 1400px;
    z-index: 100;
  }
  
  /* Logo Styles */
  .logo {
    font-weight: 500;
    display: flex;
    align-items: center;
    margin-top: 3px;
    position: relative;
    perspective: 800px;
  }
  
  .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
  }
  
  .logo-top {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: -2px;
  }
  
  .logo-svg {
    overflow: visible;
    transform-origin: center;
    will-change: transform;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.1));
  }
  
  /* Bar animations */
  .bar {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom center;
    will-change: stroke-dashoffset, transform, opacity;
    stroke: var(--text-color-bright);
    stroke-width: 1.2;
  }
  
  .bar1 {
    animation: growBar 0.5s 0.1s forwards, elevateBar 0.8s 0.6s forwards;
  }
  
  .bar2 {
    animation: growBar 0.6s 0.2s forwards, elevateBar 0.8s 0.7s forwards;
  }
  
  .bar3 {
    animation: growBar 0.7s 0.3s forwards, elevateBar 0.8s 0.8s forwards;
  }
  
  @keyframes growBar {
    0% { stroke-dashoffset: 20; opacity: 0; }
    100% { stroke-dashoffset: 0; opacity: 1; }
  }
  
  @keyframes elevateBar {
    0% { transform: translateZ(0); }
    30% { transform: translateZ(2px); }
    100% { transform: translateZ(0); }
  }
  
  /* Text animations */
  .logo-ai {
    font-size: 1.45rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-top: 10px;
    position: relative;
    top: 2px;
    opacity: 0;
    transform-origin: right center;
    animation: fadeInSlideRTL 0.7s 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    will-change: transform, opacity;
    font-family: 'Heebo', sans-serif;
}

.form-submit:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.form-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.success-message {
  display: none;
  text-align: center;
  padding: 2rem;
}

.success-message.active {
  display: block;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: #4CAF50;
}

.success-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.success-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.success-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2rem;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  font-family: 'Heebo', sans-serif;
}

.success-button:hover { 
  background-color: rgba(255, 255, 255, 0.2); 
}

@media (max-width: 480px) {
  .modal-header {
    padding: 1rem 1.5rem;
  }
  
  .modal-content {
    padding: 1.5rem;
  }
  
  .modal-title {
    font-size: 1.3rem;
  }
  
  .form-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
  }
  
  .form-submit {
    width: 100%;
    text-align: center;
  }
  
  /* Improved modal close button for mobile */
  .modal-close {
    width: 48px;
    height: 48px;
    top: 0;
    left: 0;
    position: absolute;
  }
  
  .modal-close svg {
    width: 30px;
    height: 30px;
  }
  
  .modal-container {
    max-height: 90vh;
    width: 95%;
  }
}
  }
  
  @keyframes fadeInSlideRTL {
    0% { opacity: 0; transform: translateY(-5px) translateX(3px); }
    100% { opacity: 1; transform: translateY(0) translateX(0); }
  }
  
  .logo-goldberg {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    clip-path: inset(0 0 0 100%);
    animation: revealTextRTL 1.2s 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    will-change: clip-path;
    display: inline-block;
    font-family: 'Heebo', sans-serif;
  }
  
  @keyframes revealTextRTL {
    0% { clip-path: inset(0 0 0 100%); }
    100% { clip-path: inset(0 0 0 0); }
  }
  
  /* Hover interactions */
  .logo:hover .logo-svg { 
    animation: subtleRotate 10s infinite ease-in-out alternate; 
  }
  
  @keyframes subtleRotate {
    0% { transform: rotateY(-2deg); }
    100% { transform: rotateY(2deg); }
  }
  
  .logo:hover .bar { 
    transition: stroke 0.3s ease, stroke-width 0.3s ease, transform 0.5s ease; 
  }
  
  .logo:hover .bar1 {
    stroke: rgba(100, 217, 255, 0.9);
    stroke-width: 1.5;
    transform: scaleY(1.02) translateZ(1px);
    transition-delay: 0s;
  }
  
  .logo:hover .bar2 {
    stroke: rgba(160, 230, 255, 0.9);
    stroke-width: 1.5;
    transform: scaleY(1.02) translateZ(2px);
    transition-delay: 0.05s;
  }
  
  .logo:hover .bar3 {
    stroke: rgba(220, 242, 255, 0.9);
    stroke-width: 1.5;
    transform: scaleY(1.02) translateZ(3px);
    transition-delay: 0.1s;
  }
  
  .logo:hover .logo-ai { 
    animation: floatText 4s infinite ease-in-out; 
  }
  
  @keyframes floatText {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
  }
  
  .logo:hover .logo-goldberg {
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(200,240,255,0.9) 50%, rgba(255,255,255,0.9) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s infinite linear;
    background-position: 0% center;
  }
  
  @keyframes shimmer { 
    to { background-position: 200% center; } 
  }
  
  /* Navigation Styles */
  nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
  }
  
  .nav-list {
    display: flex;
    list-style: none;
    gap: 2.8rem;
    margin-left: 1.5rem;
    padding: 0;
  }
  
  .language-selector {
    position: relative;
    margin-left: 1.5rem;
    z-index: 101;
  }
  
  .language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-color-bright);
    padding: 0.5rem 0.8rem;
    border-radius: 3rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 350;
  }
  
  .language-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
  }
  
  .language-toggle-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
  }
  
  .language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background-color: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    min-width: 120px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .language-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s ease;
  }
  
  .language-option:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
  }
  
  .language-option.active {
    background-color: rgba(255, 255, 255, 0.05);
  }
  
  .language-option-text {
    display: block;
  }
  
  nav a {
    color: var(--text-color-bright);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 350;
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
  }
  
  nav a:hover {
    color: var(--text-color-bright);
    opacity: 1;
  }
  
  .try-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-color-bright);
    padding: 0.65rem 1.7rem;
    border-radius: 3rem;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 350;
    font-family: 'Heebo', sans-serif;
  }
  
  .try-button:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-color-bright);
  }
  
  /* Hero Section */
  .grok-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
  }
  
  /* Chat Panel */
  .chat-panel {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 500px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 1rem 1rem 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.6s ease;
    opacity: 1;
    will-change: transform, opacity;
  }
  
  .chat-panel.hidden {
    opacity: 0;
    transform: translateY(-50%) translateX(100%) rotateY(-10deg);
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .chat-toggle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: 0.5rem 0 0 0.5rem;
    width: 28px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
  }
  
  .chat-toggle.visible { 
    opacity: 0.7; 
  }
  
  .chat-toggle:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .chat-toggle-icon { 
    width: 16px; 
    height: 16px; 
    color: white; 
  }
  
  .chat-header {
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .chat-header h3 {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .chat-close-button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .chat-close-button:hover, .chat-close-button:active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .message.user {
    align-self: flex-start;
    background-color: rgba(0, 150, 255, 0.3);
    border: 1px solid rgba(0, 150, 255, 0.2);
  }
  
  .message.assistant {
    align-self: flex-end;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .message-content { 
    color: rgba(255, 255, 255, 0.9); 
  }
  
  .chat-input-container {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.5rem;
  }
  
  .chat-input {
    flex: 1;
    padding: 0.8rem 1rem;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
    text-align: right;
    font-family: 'Heebo', sans-serif;
  }
  
  .chat-input:focus { 
    border-color: rgba(255, 255, 255, 0.3); 
  }
  
  .chat-send-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .chat-send-button:hover { 
    background-color: rgba(255, 255, 255, 0.2); 
  }
  
  /* Flip the arrow for RTL */
  .arrow-icon { 
    width: 16px; 
    height: 16px; 
    color: white;
    transform: scaleX(-1);
  }
  
  /* Hero Content */
  .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    padding: 2rem;
    max-width: 1200px;
    gap: 4rem;
    width: 100%;
    margin-right: 200px;
  }
  
  .hero-left { 
    flex: 1; 
    display: flex; 
    justify-content: flex-start;
  }
  
  .hero-right { 
    flex: 1; 
    text-align: right;
  }
  
  .profile-photo {
    width: 450px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 1rem 0 0 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    padding: 0;
  }
  
  .profile-photo img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 1rem 0 0 1rem;
  }
  
  .description {
    max-width: 500px;
    text-align: right;
    margin: 0 0 3rem 0;
    font-size: 1.3rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
  }
  
  .primary-button, .secondary-button {
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: 'Heebo', sans-serif;
  }
  
  .primary-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
  }
  
  .primary-button:hover { 
    background-color: rgba(255, 255, 255, 0.2); 
  }
  
  .secondary-button {
    background-color: transparent;
    color: white;
  }
  
  .secondary-button:hover { 
    background-color: rgba(255, 255, 255, 0.2); 
  }
  
  /* Mobile menu styles */
  .mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1000;
  }
  
  .mobile-menu-icon {
    width: 24px;
    height: 18px;
    position: relative;
    margin: 0 auto;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
  }
  
  .mobile-menu-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    opacity: 1;
    right: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
  }
  
  .mobile-menu-icon span:nth-child(1) { top: 0px; }
  .mobile-menu-icon span:nth-child(2) { top: 8px; }
  .mobile-menu-icon span:nth-child(3) { top: 16px; }
  
  .mobile-menu-open .mobile-menu-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
  }
  
  .mobile-menu-open .mobile-menu-icon span:nth-child(2) {
    opacity: 0;
    right: -60px;
  }
  
  .mobile-menu-open .mobile-menu-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
  }
  
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .mobile-menu.active {
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .mobile-nav-list a {
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
  }
  
  .mobile-nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    right: 50%;
    background-color: white;
    transition: width 0.3s ease, right 0.3s ease;
  }
  
  .mobile-language-options {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .mobile-language-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
  }
  
  .mobile-language-buttons {
    display: flex;
    gap: 0.75rem;
  }
  
  .mobile-language-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
  }
  
  .mobile-language-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
  }
  
  .mobile-language-btn.active {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
  }
  
  .mobile-nav-button {
    margin-top: 3rem;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Heebo', sans-serif;
  }
  
  .mobile-nav-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Mobile chat section */
  .mobile-chat-section {
    display: none;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-chat-container {
    width: 100%;
    border-radius: 0.75rem;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
  }
  
  .mobile-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-chat-header h3 {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .mobile-chat-toggle {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
  }
  
  .mobile-chat-toggle svg {
    transition: transform 0.3s ease;
  }
  
  .mobile-chat-toggle.collapsed svg {
    transform: rotate(180deg);
  }
  
  .mobile-chat-body {
    height: 280px;
    overflow: hidden;
    transition: height 0.3s ease;
  }
  
  .mobile-chat-body.collapsed {
    height: 0;
  }
  
  .mobile-chat-messages {
    height: 230px;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .mobile-chat-input-container {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-chat-input {
    flex: 1;
    padding: 0.6rem 1rem;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    color: white;
    font-size: 0.9rem;
    outline: none;
    text-align: right;
    font-family: 'Heebo', sans-serif;
  }
  
  .mobile-chat-send-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
  }
  
  /* Mobile floating chat button */
  .mobile-floating-chat {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    align-items: center;
    justify-content: center;
    z-index: 990;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  
  .mobile-floating-chat:active {
    transform: scale(0.95);
    background-color: rgba(40, 40, 40, 0.9);
  }
  
  /* Mobile responsive styles */
  @media (max-width: 768px) {
    .grok-header {
      flex-direction: row;
      align-items: center;
      padding: 1rem 2rem;
      width: calc(100% - 4rem);
    }
    
    .mobile-menu-toggle {
      display: block;
    }
    
    nav .nav-list, nav .try-button {
      display: none;
    }
    
    .mobile-menu {
      display: flex;
    }
    
    /* Hero section adjustments */
    .grok-hero {
      padding-top: 4rem;
    }
    
    .hero-content {
      flex-direction: column;
      align-items: stretch;
      gap: 1.5rem;
      margin-right: 0;
      padding: 0 1rem;
      text-align: right;
    }
    
    .hero-left, .hero-right { 
      width: 100%; 
      flex: unset; 
    }
    
    .hero-left {
      display: flex;
      justify-content: flex-end;
    }
    
    .description { 
      text-align: right; 
      margin: 0 0 1.5rem; 
      font-size: 1.1rem;
    }
    
    .action-buttons { 
      justify-content: flex-end; 
    }
    
    .profile-photo { 
      width: 70%; 
      max-width: 260px; 
      margin: 0 0 1.5rem 0;
      border-radius: 1rem;
    }
    
    .profile-photo img {
      border-radius: 1rem;
    }
    
    /* Chat panel positioning */
    .chat-panel {
      position: fixed;
      width: 90%;
      height: 60vh;
      max-height: 400px;
      bottom: 1rem;
      right: 50%;
      top: auto;
      transform: translateX(50%);
      border-radius: 1rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .chat-panel.hidden {
      transform: translateX(50%) translateY(100%);
    }
    
    .chat-toggle {
      right: auto;
      left: 1rem;
      bottom: 1rem;
      top: auto;
      transform: none;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    /* Content scrolling section */
    .content {
      padding-right: 2rem;
      padding-left: 2rem;
    }
    
    /* Show mobile chat section */
    .mobile-chat-section {
      display: block;
    }
    
    /* Show mobile floating chat button */
    .mobile-floating-chat {
      display: flex;
    }
    
    /* Hide the original floating chat panel */
    .chat-panel, .chat-toggle {
      display: none !important;
    }
  }
  
  @media (max-width: 480px) {
    .grok-header {
      padding: 0.75rem 1rem;
      width: calc(100% - 2rem);
    }
    
    .logo-ai {
      font-size: 1.2rem;
    }
    
    .logo-goldberg {
      font-size: 0.7rem;
    }
    
    .hero-content {
      padding: 0;
    }
    
    .description {
      font-size: 1rem;
      padding: 0 0.5rem;
      max-width: 100%;
      margin-bottom: 2rem;
    }
    
    .action-buttons {
      flex-direction: row;
      width: auto;
      justify-content: center;
    }
    
    .primary-button, .secondary-button {
      padding: 0.8rem 1.2rem;
      font-size: 0.8rem;
    }
  }

/*** WORK PROCESS SECTION STYLES ***/
.work-process-section {
  min-height: 100vh;
  padding: 8rem 2rem;
}

.process-header { 
  margin-bottom: 3rem; 
}

.process-subheader {
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.process-content {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.process-title-area {
  display: flex;
  justify-content: space-between;
}

.process-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  flex: 0 0 50%;
  max-width: 50%;
}

.process-description {
  flex: 0 0 40%;
  max-width: 40%;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.process-step {
  display: flex;
  gap: 5rem;
}

.step-number {
  font-size: 1rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  width: 100px;
  flex-shrink: 0;
}

.step-content { 
  flex: 1; 
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.step-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 80%;
  margin: 0;
}

@media (max-width: 1024px) {
  .process-title-area { 
    flex-direction: column; 
    gap: 2rem; 
  }
  
  .process-title, .process-description { 
    max-width: 100%; 
  }
  
  .step-description { 
    max-width: 100%; 
  }
}

@media (max-width: 768px) {
  .process-step { 
    flex-direction: column; 
    gap: 1rem; 
  }
  
  .step-number { 
    width: auto; 
  }
  
  .process-title { 
    font-size: 3rem; 
  }
  
  .work-process-section { 
    padding: 4rem 1.5rem; 
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .process-title {
    font-size: 2.2rem;
  }
  
  .process-content {
    gap: 4rem;
  }
  
  .process-steps {
    gap: 3rem;
  }
  
  .step-title {
    font-size: 1.3rem;
  }
  
  .step-description {
    font-size: 1rem;
  }
}

/*** TOOLS SECTION STYLES ***/
.tools-section {
  min-height: 70vh;
  padding: 6rem 2rem;
}

.tools-header { 
  margin-bottom: 2rem; 
}

.tools-subheader {
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.tools-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.tools-title-area {
  display: flex;
  justify-content: space-between;
}

.tools-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  flex: 0 0 50%;
  max-width: 50%;
}

.tools-description {
  flex: 0 0 40%;
  max-width: 40%;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.swipe-hint {
  display: none;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.tool-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.tool-icon {
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease;
}

/* Icon-specific hover animations */
.openai-icon { 
  transform-origin: center; 
}

.tool-card:hover .openai-icon {
  animation: openai-rotate 3s infinite ease-in-out;
}

@keyframes openai-rotate {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

.google-icon { 
  transform-origin: center; 
}

.tool-card:hover .google-icon {
  animation: google-pulse 1.5s infinite alternate ease-in-out;
}

@keyframes google-pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.microsoft-icon { 
  transform-origin: center; 
}

.tool-card:hover .ms-square {
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
}

.tool-card:hover .ms-square-1 { 
  animation-name: ms-square-1-anim; 
}

.tool-card:hover .ms-square-2 { 
  animation-name: ms-square-2-anim; 
  animation-delay: 0.1s; 
}

.tool-card:hover .ms-square-3 { 
  animation-name: ms-square-3-anim; 
  animation-delay: 0.2s; 
}

.tool-card:hover .ms-square-4 { 
  animation-name: ms-square-4-anim; 
  animation-delay: 0.3s; 
}

@keyframes ms-square-1-anim {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-1px, -1px); }
}

@keyframes ms-square-2-anim {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(1px, -1px); }
}

@keyframes ms-square-3-anim {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-1px, 1px); }
}

@keyframes ms-square-4-anim {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(1px, 1px); }
}

.apple-icon { 
  transform-origin: center; 
}

.tool-card:hover .apple-icon {
  animation: apple-float 2s infinite ease-in-out;
}

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

.tool-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: white;
}

.tool-company {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1.5rem 0;
}

.tool-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  flex-grow: 1;
}

.tools-pagination {
  display: none;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tools-pagination-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s ease;
}

.tools-pagination-dot.active {
  background-color: rgba(255, 255, 255, 0.8);
}

.additional-tools {
  margin-top: 2rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
}

.logo-section { 
  flex-shrink: 0; 
}

.logo-simple {
  font-weight: 300;
  font-size: 1.2rem;
  color: #8A8A8A;
}

.logo-gen {
  font-weight: 500;
  font-size: 1.2rem;
  color: #FFFFFF;
}

.logo-ai {
  font-weight: 700;
  font-size: 1.2rem;
  color: #FFFFFF;
}

.simplegen-logo {
  font-weight: 500;
  display: flex;
  align-items: center;
  position: relative;
  perspective: 800px;
}

.simplegen-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
}

.tools-text { 
  flex-grow: 1; 
}

.additional-tools-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: white;
}

.additional-tools-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

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

@media (max-width: 1024px) {
  .tools-title-area { 
    flex-direction: column; 
    gap: 2rem; 
  }
  
  .tools-title, .tools-description { 
    max-width: 100%; 
  }
  
  .additional-tools { 
    flex-direction: column; 
    text-align: center; 
    gap: 2rem; 
  }
}

@media (max-width: 768px) {
  .tools-section {
    padding: 4rem 1.5rem;
    min-height: auto;
  }
  
  .swipe-hint {
    display: block;
  }
  
  .tools-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  .tool-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    margin-left: 1rem;
    border-right: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
  }
  
  .tools-pagination {
    display: flex;
  }
}

@media (max-width: 480px) {
  .tools-grid { 
    grid-template-columns: 1fr; 
  }
  
  .tools-title { 
    font-size: 2.2rem; 
  }
  
  .tool-card {
    padding: 1.5rem 1rem;
    flex: 0 0 90%;
  }
  
  .tools-description {
    font-size: 1rem;
  }
  
  .additional-tools-title {
    font-size: 1.2rem;
  }
  
  .additional-tools-description {
    font-size: 0.9rem;
  }
}

/*** FOOTER STYLES ***/
.footer-section { 
  padding: 0 2rem 3rem; 
  position: relative; 
}

.footer-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* CTA Container Styles */
.footer-cta-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  padding-top: 2rem;
  position: relative;
}

.footer-cta-pill {
  position: relative;
  margin-top: -4rem;
  z-index: 5;
}

.footer-cta-pill::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  left: -20px;
  bottom: -20px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.footer-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background-color: rgba(40, 40, 40, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 1rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
  font-family: 'Heebo', sans-serif;
}

.footer-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 10%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 90%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transform: translateX(100%) skewX(15deg);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
}

.footer-cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  border-radius: 3rem;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.footer-cta-text { 
  position: relative; 
  z-index: 2; 
  transition: transform 0.3s ease; 
}

.footer-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Flip the arrow for RTL */
.footer-cta-arrow svg {
  transform: scaleX(-1);
}

.footer-cta-button:hover {
  background-color: rgba(60, 60, 60, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.footer-cta-button:hover::before {
  opacity: 1;
  transform: translateX(-100%) skewX(15deg);
}

.footer-cta-button:hover::after { 
  opacity: 0.2; 
}

.footer-cta-button:hover .footer-cta-arrow { 
  transform: translateX(-4px);
}

/* Main Footer Content */
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Navigation Column Styles */
.footer-nav-group { 
  display: flex; 
  gap: 4rem; 
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-nav-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 0.8rem;
  font-weight: 500;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  width: fit-content;
}

.footer-link:hover { 
  color: white; 
}

/* Brand Container Styles */
.footer-brand-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-logo-svg { 
  fill: none; 
  overflow: visible; 
}

.footer-bar { 
  transition: stroke 0.3s ease, transform 0.5s ease; 
}

.footer-brand-container:hover .footer-bar:nth-child(1) {
  transform: scaleY(0.9);
  transition-delay: 0s;
}

.footer-brand-container:hover .footer-bar:nth-child(2) {
  transform: scaleY(1.2);
  transition-delay: 0.1s;
}

.footer-brand-container:hover .footer-bar:nth-child(3) {
  transform: scaleY(0.95);
  transition-delay: 0.2s;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-ai {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1;
  font-family: 'Heebo', sans-serif;
}

.footer-logo-goldberg {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Heebo', sans-serif;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Social Icons Styles */
.footer-social-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer-social-icons {
  display: flex;
  gap: 1.5rem;
}

.footer-social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-social-link:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Footer Bottom Styles */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-copyright-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-legal-link:hover { 
  color: rgba(255, 255, 255, 0.8); 
}

@media (max-width: 992px) {
  .footer-main { 
    grid-template-columns: 1fr; 
    gap: 3rem; 
  }
  
  .footer-nav-group { 
    justify-content: space-between; 
    width: 100%; 
  }
  
  .footer-brand-container { 
    order: -1; 
  }
  
  .footer-social-container { 
    justify-content: center; 
  }
}

@media (max-width: 768px) {
  .footer-nav-group {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  
  .footer-nav-column { 
    align-items: center; 
  }
  
  .footer-link::before {
    right: 50%;
    transform: translateX(50%);
  }
  
  .footer-link:hover::before { 
    width: 80%; 
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-cta-button {
    width: 100%;
    justify-content: space-between;
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
  }
  
  .footer-section {
    padding: 0 1rem 2rem;
  }
  
  .footer-main {
    padding: 2rem 0;
    gap: 2rem;
  }
  
  .footer-legal-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/*** MODAL STYLES ***/
.modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.active { 
  opacity: 1; 
  visibility: visible; 
}

.modal-container {
  background-color: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1),
              opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.modal-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  margin: -10px;
  position: relative;
  z-index: 1002;
}

.modal-close:hover, .modal-close:active {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.modal-close svg {
  width: 28px;
  height: 28px;
}

.modal-content {
  padding: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  direction: rtl;
  text-align: right;
}

.modal-content h3 {
  color: rgba(255, 255, 255, 0.95);
  margin: 1.5rem 0 1rem;
  font-size: 1.1rem;
}

.modal-content p { 
  margin-bottom: 1.5rem; 
}

.modal-content ul {
  margin-bottom: 1.5rem;
  padding-right: 1.5rem;
  padding-left: 0;
}

.modal-content li { 
  margin-bottom: 0.5rem; 
}

/* Contact Form Modal */
.form-group { 
  margin-bottom: 1.5rem; 
  text-align: right;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: white;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  text-align: right;
  font-family: 'Heebo', sans-serif;
}

.form-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
}

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

.form-submit {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2rem;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  display: inline-block;
  font-family: 'Heebo', sans-serif;
}

.form-submit:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.form-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.success-message {
  display: none;
  text-align: center;
  padding: 2rem;
}

.success-message.active {
  display: block;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: #4CAF50;
}

.success-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.success-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.success-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2rem;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  font-family: 'Heebo', sans-serif;
}

.success-button:hover { 
  background-color: rgba(255, 255, 255, 0.2); 
}

@media (max-width: 480px) {
  .modal-header {
    padding: 1rem 1.5rem;
  }
  
  .modal-content {
    padding: 1.5rem;
  }
  
  .modal-title {
    font-size: 1.3rem;
  }
  
  .form-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
  }
  
  .form-submit {
    width: 100%;
    text-align: center;
  }
  
  /* Improved modal close button for mobile */
  .modal-close {
    width: 48px;
    height: 48px;
    top: 0;
    left: 0;
    position: absolute;
  }
  
  .modal-close svg {
    width: 30px;
    height: 30px;
  }
  
  .modal-container {
    max-height: 90vh;
    width: 95%;
  }
}

/*** RTL-SPECIFIC ADJUSTMENTS ***/
/* These styles ensure proper RTL display and fix any side-dependent properties */

/* Adjust directional padding/margins */
.principle-features li {
  padding-right: 1rem;
  padding-left: 0;
}

.principle-features li::before {
  right: 0;
  left: auto;
}

/* Fix navigation and language selector directions */
.nav-list {
  margin-left: 1.5rem;
  margin-right: 0;
}

.language-selector {
  margin-left: 1.5rem;
  margin-right: 0;
}

/* Adjust dropdown positioning */
.language-dropdown {
  left: 0;
  right: auto;
}

/* Adjust the arrow direction for RTL */
.arrow-icon, 
.footer-cta-arrow svg {
  transform: scaleX(-1);
}

/* Mobile menu icon adjustment */
.mobile-menu-icon span {
  right: 0;
  left: auto;
}

.mobile-menu-open .mobile-menu-icon span:nth-child(2) {
  right: -60px;
  left: auto;
}

/* Chat panel positioning for RTL */
.chat-panel {
  right: 2rem;
  left: auto;
  border-radius: 0 1rem 1rem 0;
}

.chat-panel.hidden {
  transform: translateY(-50%) translateX(100%) rotateY(-10deg);
}

.chat-toggle {
  right: 0;
  left: auto;
  border-right: none;
  border-radius: 0.5rem 0 0 0.5rem;
}

/* Hero content adjustments */
.hero-content {
  margin-right: 200px;
  margin-left: 0;
}

.hero-right {
  text-align: right;
}

/* Footer adjustments */
.footer-social-container {
  justify-content: flex-start;
}

/* Mobile chat button positioning */
.mobile-floating-chat {
  left: 1.5rem;
  right: auto;
}

/* Modal content direction */
.modal-content ul {
  padding-right: 1.5rem;
  padding-left: 0;
}

/* Adjust responsive layouts for RTL */
@media (max-width: 768px) {
  .chat-panel {
    right: 50%;
    left: auto;
    transform: translateX(50%);
  }
  
  .chat-panel.hidden {
    transform: translateX(50%) translateY(100%);
  }
  
  .chat-toggle {
    right: auto;
    left: 1rem;
  }
  
  .hero-content {
    margin-right: 0;
  }
  
  .description,
  .hero-right {
    text-align: center;
  }
  
  .content {
    padding-right: 2rem;
    padding-left: 2rem;
  }
}

/*** PRINT STYLES ***/
@media print {
  body {
    background: white;
    color: black;
  }
  
  .container {
    max-width: 100%;
  }
  
  .grok-header, 
  .chat-panel, 
  .chat-toggle, 
  .mobile-menu-toggle,
  .mobile-chat-section,
  .scroll-indicator,
  .mobile-floating-chat {
    display: none !important;
  }
  
  .hero-content,
  .principles-section,
  .work-process-section,
  .tools-section,
  .footer-section {
    page-break-inside: avoid;
  }
  
  a {
    text-decoration: underline;
    color: #000000;
  }
  
  @page {
    margin: 2cm;
  }
}