  :root {
    --bg: #0a0a0f;
    --bg-2: #0f0f1a;
    --card: rgba(255, 255, 255, 0.04);
    --card-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(139, 92, 246, 0.4);
    --input-bg: rgba(255, 255, 255, 0.03);
    --input-bg-focus: rgba(255, 255, 255, 0.05);
    --text: #e8e8f0;
    --text-dim: #9ca3af;
    --text-muted: #6b7280;
    --accent: #8b5cf6;
    --accent-2: #06b6d4;
    --accent-3: #ec4899;
  }

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

  html { scroll-behavior: smooth; }

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

  /* Animated gradient background */
  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
      radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.15), transparent 40%),
      radial-gradient(circle at 80% 60%, rgba(6, 182, 212, 0.12), transparent 40%),
      radial-gradient(circle at 50% 90%, rgba(236, 72, 153, 0.1), transparent 40%);
    z-index: 0;
    animation: drift 20s ease-in-out infinite alternate;
  }

  @keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 20px) scale(1.05); }
  }

  /* Subtle grid overlay */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
  }

  .section {
    position: relative;
    z-index: 1;
    max-width: 3000px;
    margin: 0 auto;
    padding: 100px 24px 140px;
  }

  /* Header */
  .section > h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeUp 0.8s ease-out;
  }

  .section > h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin-top: 20px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 2px;
  }

  /* Intro paragraph */
  .section > p {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    font-weight: 400;
    line-height: 1.55;
    color: #d1d5db;
    max-width: 600px;
    margin-bottom: 56px;
    animation: fadeUp 0.8s ease-out 0.1s backwards;
    position: relative;
    padding-left: 28px;
  }

  .section > p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
  }

  /* Form Card */
  .contact-form {
    position: relative;
    width: min(100%, 1440px);
    max-width: 1440px;
    padding: 44px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeUp 0.8s ease-out 0.2s backwards;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .contact-form::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(
      600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(139, 92, 246, 0.08),
      transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }

  .contact-form:hover::before { opacity: 1; }

  .contact-form:hover {
    border-color: var(--border-hover);
    box-shadow:
      0 30px 80px -20px rgba(139, 92, 246, 0.25),
      0 0 0 1px rgba(139, 92, 246, 0.1);
  }

  /* Form rows */
  .form-row {
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease-out backwards;
  }

  .form-row:nth-child(1) { animation-delay: 0.3s; }
  .form-row:nth-child(2) { animation-delay: 0.4s; }
  .form-row:nth-child(3) { animation-delay: 0.5s; }

  .form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 10px;
    transition: color 0.2s;
  }

  .form-row:focus-within label {
    color: #fff;
  }

  .form-row input,
  .form-row textarea {
    width: 100%;
    padding: 16px 18px;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    transition: all 0.25s ease;
    outline: none;
    resize: vertical;
  }

  .form-row input::placeholder,
  .form-row textarea::placeholder {
    color: var(--text-muted);
  }

  .form-row input:hover,
  .form-row textarea:hover {
    background: var(--input-bg-focus);
    border-color: rgba(255, 255, 255, 0.15);
  }

  .form-row input:focus,
  .form-row textarea:focus {
    background: var(--input-bg-focus);
    border-color: var(--accent);
    box-shadow:
      0 0 0 4px rgba(139, 92, 246, 0.12),
      0 0 20px -4px rgba(139, 92, 246, 0.4);
  }

  .form-row textarea {
    min-height: 140px;
    font-family: inherit;
  }

  /* Submit button */
  .btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
      0 10px 30px -10px rgba(139, 92, 246, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: fadeUp 0.6s ease-out 0.6s backwards;
  }

  .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent-3) 100%);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .btn-primary:hover::before { opacity: 1; }

  .btn-primary span,
  .btn-primary svg {
    position: relative;
    z-index: 1;
  }

  .btn-primary .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
      0 20px 40px -10px rgba(139, 92, 246, 0.6),
      0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  }

  .btn-primary:hover .arrow {
    transform: translateX(4px);
  }

  .btn-primary:active {
    transform: translateY(0);
  }

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

  /* Responsive */
  @media (max-width: 640px) {
    .section { padding: 60px 20px 80px; }
    .contact-form { padding: 28px 22px; border-radius: 20px; }
    .form-row input,
    .form-row textarea { padding: 14px 16px; font-size: 16px; }
    .btn-primary { width: 100%; justify-content: center; }
  }