:root {
  --accent: #ff7a00;
  --primary: #111827;
}

body {
  background-color: var(--primary);
  color: #f3f4f6;
  overflow-x: hidden;
  font-family: 'Inter', system-ui, sans-serif;
}

.text-accent { color: var(--accent); }
.bg-accent { background-color: var(--accent); }

/* Hero Animation Canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 1;
}

/* Card Hover */
.card-hover {
  transition: all 0.3s ease;
  border-radius: 1rem;
  background: #0f172a;
  border: 1px solid #1f2937;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(255, 122, 0, 0.15);
  border-color: rgba(255, 122, 0, 0.3);
}

/* Mobile Menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 80%;
  max-width: 300px;
  background: #1f2937;
  z-index: 100;
  box-shadow: -4px 0 20px rgba(0,0,0,0.5);
}
.mobile-menu.active {
  transform: translateX(0);
}

/* Hamburger Menu */
.hamburger {
  cursor: pointer;
  width: 24px;
  height: 20px;
  position: relative;
  z-index: 101;
}
.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: .25s ease-in-out;
}
.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }
.hamburger.active span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* SVG Animations */
.flow {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 400;
  animation: dash 10s linear infinite;
}
@keyframes dash {
  0% { stroke-dashoffset: 400; }
  100% { stroke-dashoffset: -400; }
}
.pulse {
  animation: pulse 2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* Stats Counter */
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  h1 { font-size: clamp(1.75rem, 6vw, 3rem) !important; }
  h2 { font-size: clamp(1.5rem, 5vw, 2.5rem) !important; }
  h3 { font-size: clamp(1.125rem, 4vw, 1.5rem) !important; }
  .stat-number { font-size: 2rem; }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Accordion for FAQ */
.accordion-button {
  cursor: pointer;
  transition: all 0.3s ease;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.accordion-content.active {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}

/* Modal Popup */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 200;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}
.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-content {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 1rem;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}
.modal-body {
  padding: 2rem;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
  color: white;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

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

/* Timeline Styles */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
}

.timeline-item:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item:after {
  content: '';
  position: absolute;
  left: -6px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--primary);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item:last-child:before {
  display: none;
}

/* Pricing Cards */
.pricing-card {
  transition: all 0.3s ease;
  border-radius: 1rem;
  background: #0f172a;
  border: 1px solid #1f2937;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 122, 0, 0.2);
  border-color: var(--accent);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(255, 122, 0, 0.3);
}

.pricing-card.featured:before {
  content: 'En Popüler';
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--accent);
  color: white;
  padding: 0.25rem 3rem;
  transform: rotate(45deg);
  font-size: 0.75rem;
  font-weight: bold;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

/* Loading Animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}
