/* טק סולושן Sales Page - Main CSS */

/* CSS Variables */
:root {
  --primary-color: #00f5ff;
  --secondary-color: #ff006e;
  --accent-color: #8338ec;
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border-color: #27272a;
  --gradient-1: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  --gradient-2: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  --gradient-3: linear-gradient(135deg, #00f5ff, #0f7aa1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-mono: "JetBrains Mono", "Fira Code", monospace;
  --font-sans: "Heebo", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}


/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-height: 100px;
  justify-content: center;
  width: 100%;
  max-width: 400px;
}

.terminal-loader {
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  min-width: 300px;
  direction: ltr;
}

.terminal-line {
  font-family: var(--font-mono);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prompt {
  color: var(--primary-color);
  font-weight: 600;
}

.command {
  color: var(--text-primary);
  min-height: 1.5rem;
}

.cursor {
  color: var(--primary-color);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: var(--shadow-lg);
}

.nav {
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
}

/* Logo Styles */
.brand-logo {
  width: auto;
  height: auto;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  filter: brightness(1) contrast(1.1);
  background: linear-gradient(135deg, #00f5ff20, #8338ec20);
  display: block;
}

.brand-logo[src*=".webp"] {
  background: transparent;
}

/* Loading state for logo */
.brand-logo[loading] {
  opacity: 0.7;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}


.brand-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.2);
}

/* Responsive Logo */
@media (max-width: 768px) {
  .brand-logo {
    max-width: 35px;
    max-height: 35px;
  }

  .footer-brand .brand-logo {
    max-width: 28px;
    max-height: 28px;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    max-width: 30px;
    max-height: 30px;
  }

  .footer-brand .brand-logo {
    max-width: 24px;
    max-height: 24px;
  }
}

/* Legacy brand icon - fallback */
.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--bg-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.contact-btn {
  background: var(--gradient-3);
  color: var(--bg-primary) !important;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
}

.contact-btn::after {
  display: none;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 245, 255, 0.3);
  color: var(--bg-primary) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Hero Buttons - Enhanced Design */
.btn-primary {
  background: var(--gradient-1);
  color: var(--bg-primary);
  border: none;
  padding: 1.25rem 2.5rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 245, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 245, 255, 0.4),
    0 0 80px rgba(0, 245, 255, 0.2);
  background: linear-gradient(135deg, #00f5ff, #8338ec, #ff006e);
}

.btn-primary:active {
  transform: translateY(-2px) scale(0.98);
  transition: all 0.1s ease;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 2.5rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn-ghost::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 50%;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.btn-ghost > span {
  position: relative;
  z-index: 1;
}

.btn-ghost:hover::before {
  width: 300%;
  height: 300%;
}

.btn-ghost:hover {
  border-color: var(--primary-color);
  color: var(--bg-primary);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 245, 255, 0.3),
    0 0 60px rgba(0, 245, 255, 0.15);
}

.btn-ghost:active {
  transform: translateY(-2px) scale(0.98);
  transition: all 0.1s ease;
}

.btn-submit {
  background: var(--gradient-3);
  color: var(--bg-primary);
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 245, 255, 0.4);
}

.btn-submit.loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn-submit.success {
  background: linear-gradient(135deg, #10b981, #065f46);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* Animated background with geometric shapes */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(0, 150, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 100, 150, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(100, 255, 200, 0.1) 0%,
      transparent 50%
    );
  animation: backgroundMove 15s ease-in-out infinite;
  z-index: 1;
}

@keyframes backgroundMove {
  0%,
  100% {
    transform: translateX(0) translateY(0);
    opacity: 0.8;
  }
  25% {
    transform: translateX(-20px) translateY(-10px);
    opacity: 0.6;
  }
  50% {
    transform: translateX(20px) translateY(20px);
    opacity: 1;
  }
  75% {
    transform: translateX(-10px) translateY(15px);
    opacity: 0.7;
  }
}

.hero-content {
  max-width: 800px;
  text-align: center;
  z-index: 2;
}

.hero-intro {
  margin-bottom: 3rem;
}

.intro-line {
  color: var(--text-secondary);
  font-size: 1.125rem;
  display: block;
  margin-bottom: 1rem;
}

.hero-title {
  margin-bottom: 2rem;
}

.title-name {
  display: block;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.title-role {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.hero-actions::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 245, 255, 0.05) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Section Styles */
section {
  padding: 6rem 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

section.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  color: var(--primary-color);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

/* About Section */
.about {
  background: var(--bg-secondary);
}

.closing-brace {
  position: absolute;
  top: -1rem;
  right: -4rem;
  font-size: 8rem;
  font-family: "Fira Code", "JetBrains Mono", "SF Mono", Monaco, "Cascadia Code",
    "Roboto Mono", Consolas, "Courier New", monospace;
  font-weight: 600;
  background: linear-gradient(45deg, var(--primary-color), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  transform: rotate(-10deg);
  animation: bracePulse 4s ease-in-out infinite alternate;
}

@keyframes bracePulse {
  0% {
    opacity: 0.15;
    transform: rotate(-10deg) scale(1);
  }
  100% {
    opacity: 0.25;
    transform: rotate(-5deg) scale(1.1);
  }
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  position: relative;
}

.about-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.tech-stack {
  display: grid;
  gap: 2rem;
}

.tech-category h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.tech-item:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Code Editor */
.code-editor {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.editor-header {
  background: var(--bg-secondary);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.editor-tabs {
  display: flex;
  gap: 0.5rem;
}

.tab {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab.active {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.editor-controls {
  display: flex;
  gap: 0.5rem;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
}

.control.red {
  background: #ff5f56;
}
.control.yellow {
  background: #ffbd2e;
}
.control.green {
  background: #27ca3f;
}

.editor-content {
  display: flex;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  direction: ltr;
}

.line-numbers {
  background: var(--bg-secondary);
  padding: 1.5rem 1rem;
  color: var(--text-muted);
  text-align: right;
  user-select: none;
  border-left: 1px solid var(--border-color);
}

.line-numbers span {
  display: block;
}

.code-content {
  padding: 1.5rem;
  flex: 1;
}

.code-line {
  margin-bottom: 0.25rem;
}

.keyword {
  color: #ff79c6;
}
.variable {
  color: #8be9fd;
}
.operator {
  color: #ff79c6;
}
.punctuation {
  color: #f8f8f2;
}
.parameter {
  color: #ffb86c;
}
.property {
  color: #50fa7b;
}
.boolean {
  color: #bd93f9;
}
.string {
  color: #f1fa8c;
}
.indent {
  color: transparent;
  white-space: pre;
}

/* Services Section */
.services {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(0, 245, 255, 0.03) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  justify-items: center;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 280px;
  padding: 1.5rem;
  margin: 10px 0;
  text-align: center;
  position: relative;
  cursor: default;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #1e293b;
  border: 1px solid rgba(0, 0, 0, 0.08);
  height: auto;
  min-height: 320px;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card.featured {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(41, 153, 194, 0.4);
  background: #1e293b;
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #2999c2, #217b9c);
  color: var(--bg-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 600;
}

.service-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: radial-gradient(circle, #2999c2, #217b9c);
  border: none;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  font-size: 1.5rem;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.service-icon::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  content: "";
  pointer-events: none;
  border-radius: 16px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  z-index: 1;
  position: relative;
}

/* SVG Icons for Services */
.service-icon .icon-globe::before,
.service-icon .icon-smartphone::before,
.service-icon .icon-cloud::before,
.service-icon .icon-briefcase::before,
.service-icon .icon-cpu::before,
.service-icon .icon-book-open::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.icon-globe::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.icon-smartphone::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M17 1H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zM7 4V3h10v1H7zm0 14V6h10v12H7z'/%3E%3Ccircle cx='12' cy='20' r='1'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.icon-cloud::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.icon-briefcase::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M10 16V8c0-1.1.9-2 2-2s2 .9 2 2v8c0 1.1-.9 2-2 2s-2-.9-2-2z'/%3E%3Cpath d='M20 7h-4V5l-2-2h-4L8 5v2H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zM10 5h4v2h-4V5zm10 14H4v-5h5v1c0 1.1.9 2 2 2h2c1.1 0 2-.9 2-2v-1h5v5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.icon-cpu::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.icon-book-open::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M21 5c-1.11-.35-2.33-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1zm0 13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5 1.2 0 2.4.15 3.5.5v11.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.service-title {
  font-weight: 600;
  text-transform: none;
  color: #ffffff;
  margin: 0.5rem 0;
  font-size: 1.1rem;
  letter-spacing: 0;
  line-height: 1.4;
}

.service-description {
  color: #76a3b8;
  margin: 0.5rem 0 1rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

.service-features {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.service-features li {
  color: #c0e1f0;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(0, 123, 255, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  list-style: none;
  border: 1px solid rgba(0, 123, 255, 0.15);
}

.service-price {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.price-text {
  color: radial-gradient(circle, #2999c2, #217b9c);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
}

/* Bubbles Button Design */
.bubbles {
  --c1: #212121; /* Background color */
  --c2: #00f5ff; /* Primary color matching site theme */
  --size-letter: 18px;
  padding: 0.75rem 1.5rem;
  font-size: var(--size-letter);
  background-color: transparent;
  border: calc(var(--size-letter) / 6) solid var(--c2);
  border-radius: 0.5rem;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: 300ms cubic-bezier(0.83, 0, 0.17, 1);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.bubbles > .text {
  font-weight: 600;
  color: var(--c2);
  position: relative;
  z-index: 1;
  transition: color 700ms cubic-bezier(0.83, 0, 0.17, 1);
  font-family: var(--font-sans);
}

.bubbles::before {
  top: 0;
  left: 0;
}

.bubbles::after {
  top: 100%;
  left: 100%;
}

.bubbles::before,
.bubbles::after {
  content: "";
  width: 150%;
  aspect-ratio: 1/1;
  scale: 0;
  transition: 1000ms cubic-bezier(0.76, 0, 0.24, 1);
  background-color: var(--c2);
  border-radius: 50%;
  position: absolute;
  translate: -50% -50%;
}

.bubbles:hover > .text {
  color: var(--c1);
}

.bubbles:hover::before,
.bubbles:hover::after {
  scale: 1;
}

.bubbles:active {
  scale: 0.98;
  filter: brightness(0.9);
}

/* Process Section */
.process-steps {
  display: grid;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-3);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Portfolio Section */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.work-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.work-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 245, 255, 0.15);
  transform: translateY(-5px) scale(1.02);
  background: rgba(255, 255, 255, 0.05);
}

.work-image {
  position: relative;
  height: 200px;
  background: var(--bg-tertiary);
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
}

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 245, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.view-btn {
  background: var(--bg-primary);
  color: var(--primary-color);
  border: none;
  padding: 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.view-btn:hover {
  transform: scale(1.1);
}

.work-content {
  padding: 1rem;
}

.work-title {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.work-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.work-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: var(--bg-tertiary);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 500;
}

/* Contact Section */
.contact {
  background: var(--bg-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.contact-item i {
  width: 24px;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox styling */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  line-height: 1.5;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 3px;
  background: var(--bg-secondary);
  transition: var(--transition);
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkmark::after {
  content: '';
  position: absolute;
  display: none;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid var(--primary-color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--bg-secondary);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  display: block;
}

.checkbox-text {
  flex: 1;
}

.privacy-link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: var(--transition);
}

.privacy-link:hover {
  color: #4dd0e1;
  text-decoration: none;
}

/* Disabled button styling */
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--bg-secondary);
  color: var(--text-muted);
  border-color: var(--border-color);
}

.btn-submit:disabled:hover {
  transform: none;
  background: var(--bg-secondary);
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-weight: 700;
}

.footer-brand .brand-logo {
  max-width: 32px;
  max-height: 32px;
  opacity: 0.9;
}

.footer-brand .brand-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary-color);
}

/* Notification */
.notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 10000;
  max-width: 300px;
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  border-color: #10b981;
  background: linear-gradient(
    135deg,
    var(--bg-secondary),
    rgba(16, 185, 129, 0.1)
  );
}

/* Icon System */
.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

/* Icon classes using Unicode characters */
.icon-arrow-left::before {
  content: "←";
}
.icon-arrow-right::before {
  content: "→";
}
.icon-arrow-down::before {
  content: "↓";
}
.icon-eye::before {
  content: "👁";
}
.icon-mail::before {
  content: "✉";
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .nav-content {
    padding: 0 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem;
    transition: right 0.3s ease;
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  section {
    padding: 4rem 0;
  }

  .notification {
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .title-name {
    font-size: 3rem;
  }

  .title-role {
    font-size: 1.5rem;
  }

  .hero-actions {
    width: 100%;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .services-grid {
    gap: 1rem;
  }

  .service-card {
    padding: 1.25rem;
  }
}


/* Floating Social Media Buttons */
.floating-buttons {
  position: fixed;
  left: 20px;
  bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.floating-btn svg {
  width: 28px;
  height: 28px;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #128c7e, #075e54);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.linkedin-btn {
  background: linear-gradient(135deg, #0077b5, #005885);
}

.linkedin-btn:hover {
  background: linear-gradient(135deg, #005885, #004471);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 119, 181, 0.4);
}

.instagram-btn {
  background: linear-gradient(135deg, #e1306c, #fd1d1d, #fcb045);
}

.instagram-btn:hover {
  background: linear-gradient(135deg, #d91c5c, #e91e1e, #e5a041);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(225, 48, 108, 0.4);
}


.floating-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .floating-buttons {
    left: 15px;
    bottom: 121px;
    gap: 12px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
  }

  .floating-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* Hide on very small screens */
@media (max-width: 480px) {
  .floating-buttons {
    /* display: none; */
    left: 8px;
    bottom: 74px;
    gap: 4px;
  }
}

/* Portfolio Button - Enhanced with Site Theme Integration */
.buttonPortfplio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--gradient-3);
  border: 3px solid rgba(0, 245, 255, 0.3);
  color: #161616;
  gap: 10px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 245, 255, 0.2);
  margin-top: 24px;
}

.buttonPortfplio::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.6s;
}

.buttonPortfplio:hover::before {
  left: 100%;
}

.textPortfplio {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.svg {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.svg svg {
  width: 32px;
  height: 20px;
  transition: var(--transition);
}

.buttonPortfplio:hover {
  border-color: var(--primary-color);
  background: var(--gradient-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 110, 0.3);
}

.buttonPortfplio:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 245, 255, 0.3);
}

.buttonPortfplio:hover .svg svg {
  animation: jello-vertical 0.6s both;
  transform-origin: center;
}

.buttonPortfplio:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

/* Mobile responsive styles for portfolio button */
@media (max-width: 768px) {
  .buttonPortfplio {
    padding: 12px 24px;
    gap: 8px;
    margin: 0 auto;
    display: flex;
    width: fit-content;
  }

  .textPortfplio {
    font-size: 1.1rem;
    font-weight: 600;
  }

  .svg svg {
    width: 28px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .buttonPortfplio {
    padding: 10px 20px;
    gap: 6px;
    border-width: 2px;
  }

  .textPortfplio {
    font-size: 1rem;
    letter-spacing: 0.3px;
  }

  .svg svg {
    width: 24px;
    height: 14px;
  }

  .buttonPortfplio:hover {
    transform: translateY(-1px);
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .buttonPortfplio {
    padding: 14px 28px;
    min-height: 48px;
  }

  .buttonPortfplio:hover {
    transform: none;
    background: var(--gradient-1);
  }

  .buttonPortfplio:active {
    background: var(--gradient-2);
    transform: scale(0.98);
  }
}

@keyframes jello-vertical {
  0% {
    transform: scale3d(1, 1, 1);
  }
  30% {
    transform: scale3d(0.75, 1.25, 1);
  }
  40% {
    transform: scale3d(1.25, 0.75, 1);
  }
  50% {
    transform: scale3d(0.85, 1.15, 1);
  }
  65% {
    transform: scale3d(1.05, 0.95, 1);
  }
  75% {
    transform: scale3d(0.95, 1.05, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}
