:root {
  --primary-color: #ff7a00; /* Your brand color */
  --primary-gradient: linear-gradient(135deg, #ff7a00 0%, #cc6200 100%); /* Adjusted for brand color */
  --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --warning-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  --light-bg: #ffffff;
  --section-bg: #fafbfc;
  --card-bg: rgba(255, 255, 255, 0.9);
  --border-color: rgba(0, 0, 0, 0.08);
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--light-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 122, 0, 0.08) 0%, transparent 50%), /* Changed */
    radial-gradient(circle at 80% 20%, rgba(255, 122, 0, 0.08) 0%, transparent 50%), /* Changed */
    radial-gradient(circle at 40% 40%, rgba(255, 122, 0, 0.06) 0%, transparent 50%); /* Changed */
  pointer-events: none;
  z-index: -1;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.logo-text {
  background: linear-gradient(135deg, #1a1a1a 0%, #6b7280 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-gpt {
  color: #888;
  font-weight: 800;
}

.logo-island {
  color: #ff7a00;
  font-weight: 800;
  margin-left: 4px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.cta-header {
  background: var(--primary-gradient);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-light);
}

.cta-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 122, 0, 0.4); /* Changed */
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  position: relative;
  background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
}

.hero-container {
  max-width: 1400px; /* Increased max-width */
  margin: 0 auto;
  padding: 0 4rem; /* Added horizontal padding */
  display: flex;
  flex-direction: row;
  gap: 4rem;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  text-align: left;
  flex: 0 0 40%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
}

.hero-badge::before {
  content: '✨';
  font-size: 1rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #6b7280 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background-color: #ffa500; /* brighter orange */
  box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.6); /* glowing orange shadow */
  transition: all 0.3s ease;
}

.btn-secondary {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.btn-secondary:hover {
  color: var(--text-secondary);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 60%;
  cursor: pointer; /* Indicate it's clickable */
}

.hero-video {
  width: 100%;
  max-width: 650px;
  border-radius: 20px;
  box-shadow: var(--shadow-heavy);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-video:hover {
    transform: scale(1.02); /* Slight scale on hover for visual feedback */
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.floating-card {
  position: absolute;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1rem;
  animation: float 3s ease-in-out infinite;
  box-shadow: var(--shadow-medium);
  min-width: 140px;
}

/* Adjusted floating card positions */
.floating-card-1 {
  top: 10%; /* Moved inwards */
  left: -5%; /* Moved inwards */
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 10%; /* Moved inwards */
  right: -5%; /* Moved inwards */
  animation-delay: 1.5s;
}

.floating-card-3 {
  top: 30%; /* Adjusted */
  right: -10%; /* Moved inwards */
  animation-delay: 0.8s;
}

.floating-card-4 {
  bottom: 35%; /* Adjusted */
  left: -10%; /* Moved inwards */
  animation-delay: 2.2s;
}

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

.floating-card-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.floating-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.floating-card-desc {
  font-size: 0.65rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Features Section 
.features {
  padding: 8rem 2rem;
  background: var(--section-bg);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
*/
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #6b7280 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/*.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}*/

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 0, 0.2); /* Changed */
  box-shadow: var(--shadow-medium);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Video Section */
.video-section {
  padding: 8rem 2rem;
  background: var(--light-bg);
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.video-wrapper {
  position: relative;
  margin-top: 3rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}

.demo-video {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Comparison Section */
.comparison {
  padding: 8rem 2rem;
  background: var(--section-bg);
}

.comparison-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.comparison-table {
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-top: 3rem;
  box-shadow: var(--shadow-light);
}

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

.comparison-table th {
  background: rgba(255, 122, 0, 0.05); /* Changed */
  padding: 1.5rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.comparison-table td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
}

.check-mark {
  color: #10b981;
  font-size: 1.5rem;
}

.cross-mark {
  color: #ef4444;
  font-size: 1.5rem;
}

/* CTA Section */
.cta-section {
  padding: 8rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.05) 0%, rgba(204, 98, 0, 0.05) 100%); /* Changed */
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #6b7280 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

/* Footer */
footer {
  background: var(--light-bg);
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem;
  text-align: center;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  color: var(--text-muted);
}



@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.7); } /* Changed */
  70% { box-shadow: 0 0 0 10px rgba(255, 122, 0, 0); } /* Changed */
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 0, 0); } /* Changed */
}

/* Modal Styles */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* High z-index to be on top */
    visibility: hidden; /* Hidden by default */
    opacity: 0; /* Fade in/out */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.video-modal-content {
    position: relative;
    max-width: 90vw; /* Occupy most of the viewport width */
    max-height: 90vh; /* Occupy most of the viewport height */
    width: 1200px; /* Base width for the modal */
    background: var(--light-bg); /* Background for the modal itself */
    border-radius: 20px;
    box-shadow: var(--shadow-heavy); /* Stronger shadow for pop-up */
    overflow: hidden; /* Ensure video corners are rounded */
    transform: scale(0.8); /* Start smaller and scale up */
    transition: transform 0.3s ease;
}

.video-modal-overlay.active .video-modal-content {
    transform: scale(1); /* Scale to full size when active */
}

.video-modal-content video {
    width: 100%;
    height: auto;
    display: block; /* Remove extra space below video */
    border-radius: 20px; /* Match container border-radius */
}

.modal-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition: background 0.3s ease;
    z-index: 10001; /* Above the video */
}

.modal-close-button:hover {
    background: rgba(255, 255, 255, 0.5);
}


/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }

  nav ul {
    display: none;
  }
#features {
  display: none;
}
  .hero-container {
    flex-direction: column; /* Stack elements vertically on smaller screens */
    gap: 2rem;
    text-align: center;
    padding: 0 2rem; /* Adjusted padding for small screens */
  }

  .hero-content {
    flex: 1; /* Allow content to take full width */
    text-align: center;
  }

  .hero-visual {
    flex: 1; /* Allow visual to take full width */
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .floating-card {
    display: none;
  }

  .video-modal-content {
    width: 95vw; /* Adjust for very small screens */
    max-width: unset;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

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

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }


/* app demo stuff */

  /* === Modal === */
  .modal-containerGpt {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease-in-out;
    }
    @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
    }
    
    @keyframes gradientFlow {
          0% {
            background-position: 0% 50%;
          }
          50% {
            background-position: 100% 50%;
          }
          100% {
            background-position: 0% 50%;
          }
        }
    @keyframes animate {
    0% {
    filter: blur(10px) hue-rotate(0deg);
    }
    100% {
    filter: blur(10px) hue-rotate(360deg);
    }
    }
    
    .chat-container {
    height: 86%;  
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    }
    
    .chat-bubble {
    border-radius: 15px;
    padding: 10px 15px;
    display: inline-block;
    max-width: 80%;
    word-wrap: break-word;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    }
    
    .chat-bubble.user {
    background-color: #f5f5f5;
    color: #5A5A5A;
    align-self: flex-end;
    }
    
    .chat-bubble.gpt {
    background-color: #e8f4ff;
    color: #000;
    align-self: flex-start;
    }
    
    .chat-text {
    margin: 0;
    }
    .chat-modal {
    background: white;
    width: 80%;
    max-width: 900px;
    height: 80vh;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    }
    
    .chat-input-area {
      border-top: 1px solid #e5e7eb;
      padding: 0.75rem 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .chat-input-row {
      display: flex;
      gap: 0.5rem;
      align-items: center;
    }
    
    .chat-input {
      flex: 1;
      padding: 0.5rem 1rem;
      border: 1px solid #d1d5db;
      border-radius: 0.5rem;
      font-size: 1rem;
      outline: none;
    }
    
    .chat-input:focus {
      border-color: black;
    }
    .chat-submit-btn {
      background-color: #ff7a00;
      color: white;
      padding: 0.5rem 1rem;
      border: none;
      border-radius: 0.5rem;
      font-size: 1rem;
      cursor: pointer;
    }
    
    .chat-submit-btn:hover {
      background-color: #ff7a00;
    }
    
    .status-bar {
    background-color: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
    align-items: center;
    }
    
    .status-right {
    display: flex;
    gap: 1rem;
    align-items: center;
    }
    
    .token-bar {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    }
    
    .token-bar .bar-container {
    width: 144px;
    height: 8px;
    background: #d1d5db;
    border-radius: 9999px;
    overflow: hidden;
    }
    
    .token-bar .bar-fill {
    height: 100%;
    background-color: #ff7a00;
    width: 10%;
    }
    
    .token-count {
    font-weight: 600;
    color: #374151;
    }
    
    /* === Chat Interface === */
    .search-wrapper {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 40px;
    box-sizing: border-box;
    }
    
    .search-container-gpt {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2147483647;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
    background-image: linear-gradient(45deg, #ff00cc, #3333ff, #00ffcc);
    animation: gradientFlow 5s ease infinite, animate 3s ease-in-out infinite;
    transition: all 300ms ease;
    cursor: pointer;
    }
    
    .hint-text {
    position: absolute;
    left: -13px;
    /*top: 50%;*/
    transform: translateY(-50%);
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 16px;
    color: black;
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    white-space: nowrap;
    pointer-events: none;
    }
    
    