/* D2C-IT Theme Styles */

/* ===== RESET & BASE ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --primary:        #e86240;
      --primary-dark:   #d4512e;
      --secondary:      #0099e5;
      --bg:             #FFFFFF;
      --bg-alt:         #f8f9f9;
      --text:           #333333;
      --muted:          #777777;
      --border:         #e9e9e9;
      --font:           'Inter', -apple-system, sans-serif;
      --radius:         14px;
      --max:            1200px;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font);
      font-size: 1rem;
      line-height: 1.7;
      color: var(--text);
      background: var(--bg);
    }

    .container {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 2rem;
    }

    section { padding: 100px 0; }

    img { display: block; max-width: 100%; }

    a { color: inherit; text-decoration: none; }

    /* ===== NAVBAR ===== */
    .navbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid transparent;
      transition: border-color 0.3s, box-shadow 0.3s;
    }

    .navbar.scrolled {
      border-bottom-color: var(--border);
      box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 68px;
    }

    .nav-logo {
      display: flex;
      align-items: center;
    }

    .nav-logo img {
      height: 36px;
      width: auto;
      display: block;
    }

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

    .nav-links a {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--muted);
      transition: color 0.2s;
    }

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

    .nav-login-link {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 7px 14px;
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 8px;
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--muted) !important;
      text-decoration: none;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
    }
    .nav-login-link:hover {
      border-color: var(--primary);
      color: var(--primary) !important;
      background: rgba(232,98,64,0.06);
    }

    .btn-primary {
      display: inline-block;
      background: var(--primary);
      color: #fff;
      padding: 10px 22px;
      border-radius: 8px;
      font-size: 0.875rem;
      font-weight: 600;
      transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
      border: none;
      cursor: pointer;
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(232, 98, 64, 0.3);
    }

    .btn-outline {
      display: inline-block;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 10px 22px;
      border-radius: 8px;
      font-size: 0.875rem;
      font-weight: 600;
      background: transparent;
      transition: all 0.2s;
      cursor: pointer;
    }

    .btn-outline:hover {
      background: var(--primary);
      color: #fff;
    }

    .nav-hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 4px;
    }

    .nav-hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--text);
      border-radius: 2px;
      transition: all 0.3s;
    }

    .mobile-menu {
      display: none;
      flex-direction: column;
      gap: 0;
      background: #fff;
      border-top: 1px solid var(--border);
      padding: 1rem 2rem;
    }

    .mobile-menu.open { display: flex; }

    .mobile-menu a {
      padding: 0.75rem 0;
      border-bottom: 1px solid var(--border);
      font-weight: 500;
      color: var(--muted);
    }

    .mobile-menu a:last-child { border-bottom: none; }

    /* ===== HERO ===== */
    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 120px 0 80px;
      position: relative;
      background: linear-gradient(135deg, #FEF0EB 0%, #EBF7FF 50%, #FAFAFA 100%);
      overflow: hidden;
    }

    #hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle at 25% 25%, rgba(232, 98, 64, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 153, 229, 0.06) 0%, transparent 50%);
    }

    /* Grid overlay */
    #hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: linear-gradient(var(--border) 1px, transparent 1px),
                        linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 48px 48px;
      opacity: 0.4;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      text-align: center;
      max-width: 860px;
      margin: 0 auto;
    }

    .hero-badge {
      --badge-dot: var(--primary);
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(232, 98, 64, 0.08);
      border: 1px solid rgba(232, 98, 64, 0.2);
      color: var(--primary);
      padding: 6px 16px;
      border-radius: 100px;
      font-size: 0.8rem;
      font-weight: 600;
      margin-bottom: 2rem;
      letter-spacing: 0.02em;
      transition: background 0.3s, border-color 0.3s, color 0.3s;
    }

    .hero-badge::before {
      content: '';
      width: 8px; height: 8px;
      background: var(--badge-dot);
      border-radius: 50%;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.2); }
    }

    #hero h1 {
      font-size: clamp(2.2rem, 5.5vw, 4rem);
      font-weight: 800;
      line-height: 1.12;
      letter-spacing: -0.03em;
      color: var(--text);
      margin-bottom: 1.5rem;
    }

    #hero h1 em {
      font-style: normal;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-sub {
      font-size: 1.15rem;
      color: var(--muted);
      max-width: 600px;
      margin: 0 auto 2.5rem;
      line-height: 1.7;
    }

    .hero-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .hero-logos {
      margin-top: 5rem;
      position: relative;
      z-index: 1;
    }

    .hero-logos p {
      font-size: 0.8rem;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--muted);
      margin-bottom: 1.5rem;
    }

    .logo-strip {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 2.5rem;
      flex-wrap: wrap;
    }

    .logo-strip img {
      height: 32px;
      width: auto;
      filter: grayscale(100%);
      opacity: 0.45;
      transition: all 0.3s ease;
    }

    .logo-strip img:hover {
      filter: grayscale(0%);
      opacity: 1;
    }

    /* ===== SECTION HEADER ===== */
    .section-header {
      text-align: center;
      margin-bottom: 4rem;
    }

    .section-label {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--primary);
      margin-bottom: 0.75rem;
    }

    .section-title {
      font-size: clamp(1.75rem, 3vw, 2.5rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text);
      margin-bottom: 1rem;
    }

    .section-sub {
      font-size: 1.05rem;
      color: var(--muted);
      max-width: 560px;
      margin: 0 auto;
      line-height: 1.7;
    }

    /* ===== OVER MIJ ===== */
    #over-mij { background: var(--bg-alt); }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }

    .about-text h2 {
      font-size: clamp(1.6rem, 2.5vw, 2.2rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 1.25rem;
      line-height: 1.2;
    }

    .about-text p {
      color: var(--muted);
      margin-bottom: 1rem;
      line-height: 1.8;
    }

    .about-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 2.5rem;
    }

    .stat-box {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      text-align: center;
    }

    .stat-number {
      font-size: 2rem;
      font-weight: 800;
      color: var(--primary);
      letter-spacing: -0.03em;
      line-height: 1;
      margin-bottom: 0.4rem;
    }

    .stat-label {
      font-size: 0.8rem;
      color: var(--muted);
      font-weight: 500;
    }

    .about-visual {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .tech-illustration {
      width: 100%;
      max-width: 420px;
      background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: 2.5rem;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.25rem;
      align-items: center;
      justify-items: center;
    }

    .tech-illustration img {
      width: 36px;
      height: 36px;
      filter: grayscale(30%);
      transition: all 0.3s;
    }

    .tech-illustration img:hover {
      filter: grayscale(0%);
      transform: scale(1.1);
    }

    /* ===== DIENSTEN ===== */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .service-card {
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(10px);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 2rem;
      transition: all 0.3s ease;
      box-shadow: 0 1px 4px rgba(0,0,0,0.04);
      position: relative;
      overflow: hidden;
    }

    .service-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      opacity: 0;
      transition: opacity 0.3s;
    }

    .service-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 48px rgba(232, 98, 64, 0.1);
      border-color: rgba(232, 98, 64, 0.2);
    }

    .service-card:hover::before { opacity: 1; }

    .service-icon {
      width: 52px; height: 52px;
      background: linear-gradient(135deg, rgba(232, 98, 64, 0.1), rgba(0, 153, 229, 0.08));
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.25rem;
    }

    .service-icon svg {
      width: 26px; height: 26px;
      stroke: var(--primary);
      fill: none;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .service-card h3 {
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 0.6rem;
      letter-spacing: -0.01em;
    }

    .service-card p {
      font-size: 0.9rem;
      color: var(--muted);
      line-height: 1.6;
    }

    .service-card .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-top: 1.25rem;
    }

    .tag {
      font-size: 0.72rem;
      font-weight: 600;
      background: rgba(232, 98, 64, 0.07);
      color: var(--primary);
      padding: 3px 10px;
      border-radius: 100px;
      letter-spacing: 0.01em;
    }

    /* ===== TECH STACK ===== */
    #tech-stack { background: var(--bg-alt); }

    .tech-categories {
      display: flex;
      flex-direction: column;
      gap: 3rem;
    }

    .tech-category h3 {
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--muted);
      margin-bottom: 1.25rem;
      padding-bottom: 0.75rem;
      border-bottom: 1px solid var(--border);
    }

    .tech-row {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .tech-item {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 0.6rem 1rem;
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--text);
      transition: all 0.2s;
    }

    .tech-item:hover {
      border-color: var(--primary);
      color: var(--primary);
      box-shadow: 0 2px 12px rgba(232,98,64,0.08);
    }

    .tech-item img {
      width: 20px; height: 20px;
      object-fit: contain;
    }

    /* ===== WERKWIJZE ===== */
    .process-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
      position: relative;
    }

    .process-steps::before {
      content: '';
      position: absolute;
      top: 28px;
      left: calc(12.5%);
      right: calc(12.5%);
      height: 2px;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      opacity: 0.25;
    }

    .step {
      text-align: center;
      position: relative;
    }

    .step-number {
      width: 56px; height: 56px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: #fff;
      font-size: 1.1rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.5rem;
      position: relative;
      z-index: 1;
      box-shadow: 0 4px 20px rgba(232, 98, 64, 0.3);
    }

    .step h3 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .step p {
      font-size: 0.875rem;
      color: var(--muted);
      line-height: 1.6;
    }

    /* ===== CONTACT ===== */
    #contact {
      background: linear-gradient(135deg, #252a33 0%, #1a1e26 100%);
      color: #fff;
      padding: 100px 0;
    }

    #contact .section-label { color: rgba(255,255,255,0.6); }
    #contact .section-title { color: #fff; }
    #contact .section-sub { color: rgba(255,255,255,0.7); }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 5rem;
      align-items: start;
      margin-top: 4rem;
    }

    .contact-info h3 {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: rgba(255,255,255,0.9);
    }

    .contact-info p {
      color: rgba(255,255,255,0.65);
      font-size: 0.95rem;
      line-height: 1.7;
      margin-bottom: 2rem;
    }

    .contact-link {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      color: rgba(255,255,255,0.85);
      font-size: 0.9rem;
      font-weight: 500;
      padding: 0.75rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      transition: color 0.2s;
    }

    .contact-link:hover { color: #fff; }

    .contact-link svg {
      width: 18px; height: 18px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }

    .contact-form {
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 20px;
      padding: 2.5rem;
      backdrop-filter: blur(10px);
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }

    .form-group {
      margin-bottom: 1.25rem;
    }

    .form-group label {
      display: block;
      font-size: 0.8rem;
      font-weight: 600;
      color: rgba(255,255,255,0.7);
      margin-bottom: 0.5rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 8px;
      padding: 12px 16px;
      color: #fff;
      font-size: 0.9rem;
      font-family: var(--font);
      transition: border-color 0.2s;
      outline: none;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
      color: rgba(255,255,255,0.35);
    }

    .form-group input:focus,
    .form-group textarea:focus {
      border-color: rgba(255,255,255,0.4);
      background: rgba(255,255,255,0.12);
    }

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

    .btn-white {
      display: inline-block;
      background: #fff;
      color: var(--primary);
      padding: 13px 28px;
      border-radius: 8px;
      font-size: 0.9rem;
      font-weight: 700;
      cursor: pointer;
      border: none;
      transition: all 0.2s;
      width: 100%;
      text-align: center;
    }

    .btn-white:hover {
      background: rgba(255,255,255,0.92);
      transform: translateY(-1px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }

    /* ===== FOOTER ===== */
    footer {
      background: #252a33;
      color: #aaaaaa;
      padding: 48px 0;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1.5rem;
    }

    .footer-logo img {
      height: 40px;
      width: auto;
      filter: brightness(0) invert(1);
      opacity: 0.9;
    }

    .footer-tagline {
      font-size: 0.82rem;
      color: #777777;
      margin-top: 0.3rem;
    }

    .footer-links {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
    }

    .footer-links a {
      font-size: 0.85rem;
      color: #777777;
      transition: color 0.2s;
    }

    .footer-links a:hover { color: #CBD5E1; }

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

    .social-icon {
      width: 38px; height: 38px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }

    .social-icon:hover {
      background: rgba(255,255,255,0.1);
      border-color: rgba(255,255,255,0.15);
    }

    .social-icon svg {
      width: 16px; height: 16px;
      fill: #94A3B8;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.06);
      margin-top: 2.5rem;
      padding-top: 1.5rem;
      font-size: 0.8rem;
      color: #666666;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    /* ===== BLOG ===== */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .blog-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.75rem;
      display: flex;
      flex-direction: column;
      transition: all 0.3s ease;
      box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    }

    .blog-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 40px rgba(232, 98, 64, 0.09);
      border-color: rgba(232, 98, 64, 0.25);
    }

    .blog-meta {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }

    .blog-date {
      font-size: 0.75rem;
      color: var(--muted);
      font-weight: 500;
    }

    .blog-category {
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      background: rgba(232, 98, 64, 0.08);
      color: var(--primary);
      padding: 2px 8px;
      border-radius: 100px;
    }

    .blog-card h3 {
      font-size: 1rem;
      font-weight: 700;
      line-height: 1.4;
      margin-bottom: 0.75rem;
      letter-spacing: -0.01em;
      color: var(--text);
    }

    .blog-card p {
      font-size: 0.875rem;
      color: var(--muted);
      line-height: 1.6;
      flex-grow: 1;
      margin-bottom: 1.25rem;
    }

    .blog-link {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--primary);
      transition: gap 0.2s;
    }

    .blog-link:hover { gap: 0.6rem; }

    .blog-series {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.72rem;
      color: var(--muted);
      margin-bottom: 0.5rem;
    }

    .blog-series-dot {
      width: 6px; height: 6px;
      background: var(--primary);
      border-radius: 50%;
      flex-shrink: 0;
    }

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

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

    /* ===== SCROLL ANIMATIONS ===== */
    .fade-in {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: none;
    }

    .fade-in-delay-1 { transition-delay: 0.1s; }
    .fade-in-delay-2 { transition-delay: 0.2s; }
    .fade-in-delay-3 { transition-delay: 0.3s; }
    .fade-in-delay-4 { transition-delay: 0.4s; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .about-grid { grid-template-columns: 1fr; gap: 3rem; }
      .about-visual { display: none; }
      .process-steps { grid-template-columns: repeat(2, 1fr); }
      .process-steps::before { display: none; }
    }

    @media (max-width: 768px) {
      section { padding: 72px 0; }
      .nav-links { display: none; }
      .nav-hamburger { display: flex; }
      .services-grid { grid-template-columns: 1fr; }
      .about-stats { grid-template-columns: repeat(3, 1fr); }
      .process-steps { grid-template-columns: 1fr; gap: 2rem; }
      .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
      .form-row { grid-template-columns: 1fr; }
      .footer-inner { flex-direction: column; align-items: flex-start; }
      #hero h1 { font-size: 2rem; }
      .hero-buttons { flex-direction: column; align-items: center; }
    }

    @media (max-width: 480px) {
      .container { padding: 0 1.25rem; }
      .about-stats { grid-template-columns: 1fr; }
      .logo-strip { gap: 1.5rem; }
    }