




:root {
    --navy: #08121E;
    --navy-2: #0D1E30;
    --navy-3: #142638;
    --teal: #0ECBA1;
    --teal-dim: #0A9E7D;
    --amber: #F59E0B;
    --amber-dim: #D97706;
    --text: #E8F0F8;
    --text-muted: #7A99B8;
    --text-dim: #3E5A73;
    --border: rgba(14,203,161,0.15);
    --border-soft: rgba(255,255,255,0.06);
    --card: rgba(13,30,48,0.8);
    --r: 10px;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Sora', sans-serif;
    background: var(--navy);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    height: 64px;
    background: rgba(8,18,30,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-logo {
    font-size: 20px; font-weight: 700; letter-spacing: -0.5px;
    color: var(--teal); text-decoration: none;
  }
  .nav-logo span { color: var(--text); }

  .nav-links {
    display: flex; gap: 32px; list-style: none;
  }
  .nav-links a {
    font-size: 13px; color: var(--text-muted);
    text-decoration: none; font-weight: 400;
    transition: color 0.2s;
    letter-spacing: 0.01em;
  }
  .nav-links a:hover { color: var(--teal); }

  .nav-cta {
    background: var(--teal); color: var(--navy);
    padding: 8px 20px; border-radius: 6px;
    font-size: 13px; font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
  }
  .nav-cta:hover { background: #0ab08d; }

  /* HERO */
  #hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
  }

  .hero-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(14,203,161,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(14,203,161,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 60% 40%, black 30%, transparent 100%);
  }

  .hero-glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,203,161,0.07) 0%, transparent 70%);
    right: 5%; top: 10%;
    pointer-events: none;
  }

  .hero-content { max-width: 640px; position: relative; z-index: 2; }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(14,203,161,0.08);
    border: 1px solid rgba(14,203,161,0.2);
    padding: 6px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 500; color: var(--teal);
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 28px;
  }
  .hero-badge::before {
    content: ''; width: 6px; height: 6px;
    background: var(--teal); border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
  }

  h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
  }
  h1 em {
    font-style: normal;
    color: var(--teal);
  }

  .hero-sub {
    font-size: 18px; color: var(--text-muted);
    line-height: 1.6; font-weight: 300;
    max-width: 520px;
    margin-bottom: 40px;
  }

  .hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
  }

  .btn-primary {
    background: var(--teal); color: var(--navy);
    padding: 14px 28px; border-radius: 8px;
    font-size: 15px; font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
  }
  .btn-primary:hover { background: #0ab08d; transform: translateY(-1px); }

  .btn-secondary {
    background: transparent; color: var(--text);
    padding: 14px 28px; border-radius: 8px;
    font-size: 15px; font-weight: 500;
    text-decoration: none; border: 1px solid var(--border-soft);
    transition: all 0.2s;
  }
  .btn-secondary:hover { border-color: var(--border); color: var(--teal); }

  .hero-stats {
    display: flex; gap: 40px; margin-top: 60px;
    padding-top: 40px; border-top: 1px solid var(--border-soft);
  }
  .hero-stat-value {
    font-size: 28px; font-weight: 700; color: var(--teal);
    letter-spacing: -0.5px;
    font-family: 'DM Mono', monospace;
  }
  .hero-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

  /* PLATFORM VISUAL */
  .platform-visual {
    position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
    width: min(500px, 42%);
    z-index: 2;
  }

  .map-card {
    background: var(--navy-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(14,203,161,0.08), 0 24px 80px rgba(0,0,0,0.5);
  }

  .map-header {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-soft);
    background: var(--navy-3);
  }
  .map-dot {
    width: 8px; height: 8px; border-radius: 50%;
  }
  .map-label {
    font-family: 'DM Mono', monospace;
    font-size: 11px; color: var(--text-muted);
  }

  /* SECTION COMMONS */
  section { padding: 100px 5%; }

  .section-tag {
    font-family: 'DM Mono', monospace;
    font-size: 11px; color: var(--teal);
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 10px;
  }
  .section-tag::before {
    content: ''; display: block;
    width: 24px; height: 1px; background: var(--teal);
  }

  h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700; letter-spacing: -1px;
    line-height: 1.1; margin-bottom: 20px;
  }

  h3 {
    font-size: 20px; font-weight: 600;
    letter-spacing: -0.3px; margin-bottom: 10px;
  }

  .section-desc {
    font-size: 17px; color: var(--text-muted);
    max-width: 560px; font-weight: 300;
    margin-bottom: 60px;
  }

  /* ABOUT */
  #about { background: var(--navy-2); }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: start;
  }

  .about-text p {
    color: var(--text-muted); font-size: 16px;
    margin-bottom: 20px; font-weight: 300;
  }
  .about-text p strong { color: var(--text); font-weight: 600; }

  .traction-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

  .traction-item {
    display: flex; align-items: flex-start; gap: 12px;
    background: rgba(14,203,161,0.05);
    border: 1px solid var(--border);
    border-radius: 8px; padding: 14px 16px;
  }
  .traction-icon {
    color: var(--teal); font-size: 18px; margin-top: 2px; flex-shrink: 0;
  }
  .traction-text { font-size: 14px; color: var(--text-muted); }
  .traction-text strong { color: var(--text); }

  /* PRODUCTS / PLATFORM */
  #products {}

  .platform-intro {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: start;
  }

  .modules-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .module-card {
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--r); padding: 24px;
    transition: border-color 0.3s, transform 0.2s;
    cursor: default;
  }
  .module-card:hover {
    border-color: var(--border);
    transform: translateY(-2px);
  }

  .module-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(14,203,161,0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    font-size: 22px;
  }

  .module-num {
    font-family: 'DM Mono', monospace;
    font-size: 10px; color: var(--teal);
    letter-spacing: 0.1em; margin-bottom: 8px;
  }

  .module-card p {
    font-size: 13px; color: var(--text-muted);
    font-weight: 300; line-height: 1.6;
  }

  /* WORKFLOW */
  .workflow-section {
    margin-top: 80px;
    padding-top: 60px; border-top: 1px solid var(--border-soft);
  }

  .workflow-steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; position: relative; margin-top: 40px;
  }

  .workflow-step {
    padding: 0 24px 0 0;
    position: relative;
  }
  .workflow-step:not(:last-child)::after {
    content: '';
    position: absolute; right: 0; top: 20px;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, var(--teal-dim), transparent);
    z-index: 0;
  }

  .step-num {
    font-family: 'DM Mono', monospace;
    font-size: 11px; color: var(--teal);
    background: rgba(14,203,161,0.1);
    border: 1px solid rgba(14,203,161,0.2);
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; position: relative; z-index: 1;
    font-weight: 500;
  }

  .step-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
  .step-desc { font-size: 12px; color: var(--text-muted); font-weight: 300; }

  /* ADVANTAGES */
  #advantages { background: var(--navy-2); }

  .advantages-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .adv-card {
    background: var(--navy-3);
    border: 1px solid var(--border-soft);
    border-radius: var(--r); padding: 32px 28px;
    transition: border-color 0.3s;
  }
  .adv-card:hover { border-color: var(--border); }

  .adv-num {
    font-family: 'DM Mono', monospace;
    font-size: 11px; color: var(--teal); opacity: 0.5;
    margin-bottom: 16px;
  }

  .adv-card p { font-size: 14px; color: var(--text-muted); font-weight: 300; }

  /* MAP SECTION */
  #map { background: var(--navy); }

  .map-section-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: start;
  }

  .map-features { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }

  .map-feature {
    display: flex; gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-soft);
  }
  .map-feature:last-child { border: none; padding-bottom: 0; }

  .map-feature-icon {
    color: var(--teal); font-size: 20px; margin-top: 2px; flex-shrink: 0;
  }

  .map-feature h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
  .map-feature p { font-size: 14px; color: var(--text-muted); font-weight: 300; }

  .spain-card {
    background: var(--navy-2); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden;
  }

  .spain-card-header {
    padding: 16px 20px; border-bottom: 1px solid var(--border-soft);
    display: flex; align-items: center; gap: 10px;
    font-size: 12px; color: var(--teal);
    font-family: 'DM Mono', monospace;
  }

  .spain-card-content { padding: 24px; }

  .spain-stat {
    background: rgba(14,203,161,0.05);
    border: 1px solid var(--border); border-radius: 8px;
    padding: 16px; margin-bottom: 12px;
    font-size: 13px; color: var(--text-muted);
  }
  .spain-stat strong { color: var(--teal); display: block; font-size: 22px; font-weight: 700; font-family: 'DM Mono', monospace; }

  /* SAFETY */
  #safety { background: var(--navy-2); }

  .safety-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-top: 20px;
  }

  .safety-card {
    background: var(--navy-3);
    border: 1px solid var(--border-soft);
    border-radius: var(--r); padding: 28px;
  }

  .safety-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
  .safety-card p { font-size: 13px; color: var(--text-muted); font-weight: 300; }

  /* TECHNOLOGIES */
  #technologies { background: var(--navy); }

  .tech-list { display: flex; flex-direction: column; gap: 0; }

  .tech-item {
    display: grid; grid-template-columns: 60px 1fr auto;
    gap: 24px; align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid var(--border-soft);
    transition: background 0.2s;
  }
  .tech-item:hover { background: rgba(14,203,161,0.02); }
  .tech-item:last-child { border: none; }

  .tech-idx {
    font-family: 'DM Mono', monospace;
    font-size: 12px; color: var(--text-dim);
    padding-top: 4px;
  }

  .tech-body h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
  .tech-body p { font-size: 14px; color: var(--text-muted); font-weight: 300; max-width: 480px; }

  .tech-tags { display: flex; flex-direction: column; gap: 4px; }

  .tech-tag {
    font-family: 'DM Mono', monospace;
    font-size: 10px; color: var(--teal-dim);
    background: rgba(14,203,161,0.06);
    border: 1px solid rgba(14,203,161,0.12);
    padding: 4px 8px; border-radius: 4px;
    text-align: center; white-space: nowrap;
  }

  /* CASES */
  #cases { background: var(--navy-2); }

  .cases-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .case-card {
    background: var(--navy-3);
    border: 1px solid var(--border-soft);
    border-radius: var(--r); padding: 28px;
    transition: border-color 0.3s, transform 0.2s;
  }
  .case-card:hover {
    border-color: var(--border);
    transform: translateY(-2px);
  }
  .case-card.featured {
    grid-column: 1 / -1;
    background: rgba(14,203,161,0.04);
    border-color: rgba(14,203,161,0.2);
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 40px; align-items: center;
  }

  .case-badge {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: 10px; color: var(--teal);
    background: rgba(14,203,161,0.1);
    border: 1px solid rgba(14,203,161,0.2);
    padding: 4px 10px; border-radius: 4px;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
  }

  .case-card h4 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
  .case-card p { font-size: 14px; color: var(--text-muted); font-weight: 300; line-height: 1.7; }

  .case-stats { display: flex; flex-direction: column; gap: 16px; }
  .case-stat-val {
    font-size: 32px; font-weight: 700; color: var(--teal);
    font-family: 'DM Mono', monospace;
  }
  .case-stat-label { font-size: 12px; color: var(--text-muted); }

  /* TEAM */
  #team { background: var(--navy); }

  .team-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 20px;
  }

  .team-card {
    background: var(--navy-2); border: 1px solid var(--border-soft);
    border-radius: var(--r); padding: 28px;
    transition: border-color 0.3s;
  }
  .team-card:hover { border-color: var(--border); }

  .team-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(14,203,161,0.1);
    border: 2px solid rgba(14,203,161,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; color: var(--teal);
    margin-bottom: 16px;
  }

  .team-name { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
  .team-role { font-size: 12px; color: var(--teal); font-family: 'DM Mono', monospace; margin-bottom: 14px; }
  .team-bio { font-size: 13px; color: var(--text-muted); font-weight: 300; line-height: 1.6; }

  /* CONTACT */
  #contact { background: var(--navy-2); }

  .contact-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: start;
  }

  .contact-form {
    background: var(--navy-3); border: 1px solid var(--border-soft);
    border-radius: 14px; padding: 36px;
  }

  .form-group { margin-bottom: 20px; }

  .form-group label {
    display: block; font-size: 12px; color: var(--text-muted);
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.06em; margin-bottom: 8px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    background: var(--navy-2); border: 1px solid var(--border-soft);
    border-radius: 6px; padding: 12px 16px;
    color: var(--text); font-family: 'Sora', sans-serif;
    font-size: 14px;
    outline: none; transition: border-color 0.2s;
  }
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    border-color: var(--teal);
  }
  .form-group textarea { resize: vertical; min-height: 100px; }

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

  .form-submit {
    width: 100%; background: var(--teal); color: var(--navy);
    border: none; border-radius: 8px;
    padding: 14px; font-size: 15px; font-weight: 600;
    cursor: pointer; font-family: 'Sora', sans-serif;
    transition: background 0.2s; margin-top: 8px;
  }
  .form-submit:hover { background: #0ab08d; }

  .contact-info { padding-top: 8px; }
  .contact-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
  .contact-info p { font-size: 15px; color: var(--text-muted); font-weight: 300; margin-bottom: 36px; }

  .contact-links { display: flex; flex-direction: column; gap: 16px; }

  .contact-link {
    display: flex; align-items: center; gap: 12px;
    font-size: 14px; color: var(--text);
    text-decoration: none;
    padding: 16px; border-radius: 8px;
    border: 1px solid var(--border-soft);
    transition: border-color 0.2s, color 0.2s;
  }
  .contact-link:hover { border-color: var(--border); color: var(--teal); }
  .contact-link-icon { font-size: 20px; color: var(--teal); }

  /* FOOTER */
  footer {
    padding: 40px 5%;
    border-top: 1px solid var(--border-soft);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 20px;
  }

  .footer-logo { font-size: 18px; font-weight: 700; color: var(--teal); }
  .footer-copy { font-size: 12px; color: var(--text-dim); }

  .footer-links { display: flex; gap: 24px; }
  .footer-links a {
    font-size: 12px; color: var(--text-dim); text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--teal); }

  /* DIVIDER */
  .accent-line {
    display: block; width: 40px; height: 2px;
    background: var(--teal); margin-bottom: 20px;
  }

  /* ANIMATE */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .fade-up { animation: fadeUp 0.7s ease forwards; }
  .delay-1 { animation-delay: 0.1s; }
  .delay-2 { animation-delay: 0.2s; }
  .delay-3 { animation-delay: 0.35s; }
  .delay-4 { animation-delay: 0.5s; }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    nav { padding: 0 6%; }
    .nav-links { display: none; }
    .about-grid, .platform-intro, .map-section-layout,
    .contact-layout, .advantages-grid, .cases-grid,
    .team-grid { grid-template-columns: 1fr; }
    .case-card.featured { grid-column: auto; display: block; }
    .workflow-steps { grid-template-columns: 1fr 1fr; }
    .platform-visual { display: none; }
    .hero-content { max-width: 100%; }
    #hero { padding: 100px 6% 60px; }
    section { padding: 70px 6%; }
    .modules-grid { grid-template-columns: 1fr; }
    .safety-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
  }

/* Tilda reset overrides */
.t-body { background: #08121E !important; }
.t-container { max-width: 100% !important; padding: 0 !important; }
.t-section { padding: 0 !important; }
#allrecords { background: #08121E !important; }
.t-records { background: #08121E !important; }
</style>