/* ==========================================
   ACARREOS TUNJA — RETRO MINIMALIST DESIGN
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Inter:wght@300;400;500;600&display=swap');


/* =========================
   RESET
   ========================= */

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

html {
    scroll-behavior: smooth;
}


/* =========================
   VARIABLES
   ========================= */

:root {
    --black: #111111;
    --dark: #181818;
    --gray-900: #222222;
    --gray-700: #555555;
    --gray-600: #666666;
    --gray-500: #777777;
    --gray-300: #dcdcdc;
    --gray-200: #e8e8e8;
    --gray-100: #f5f5f5;
    --white: #ffffff;
    --max-width: 1100px;
}


/* =========================
   GENERAL
   ========================= */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}

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

p {
    color: var(--gray-600);
}

h1, h2, h3, h4 {
    line-height: 1.15;
    font-weight: 700;
}

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


/* =========================
   HEADER / NAV
   ========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav a {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gray-500);
    transition: color 0.2s ease;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--black);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--black);
}

.menu-toggle {
    display: none;
    border: 2px solid var(--black);
    background: none;
    width: 42px;
    height: 42px;
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    cursor: pointer;
    color: var(--black);
    transition: background 0.2s, color 0.2s;
}

.menu-toggle:hover {
    background: var(--black);
    color: var(--white);
}


/* =========================
   HERO (Landing)
   ========================= */

.hero {
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 130px 0 120px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 80px;
    right: 10%;
    width: 160px;
    height: 160px;
    border: 2px solid var(--gray-200);
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    top: 130px;
    right: 8%;
    width: 160px;
    height: 160px;
    border: 2px solid var(--gray-200);
    opacity: 0.25;
}

.hero-label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gray-300);
}

.hero h1 {
    font-family: 'Space Mono', monospace;
    font-size: clamp(38px, 6.5vw, 80px);
    letter-spacing: -4px;
    line-height: 1.02;
    max-width: 800px;
}

.hero h1 span {
    color: var(--gray-500);
}

.hero-sub {
    max-width: 520px;
    margin-top: 30px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-600);
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 44px;
    flex-wrap: wrap;
}


/* =========================
   BUTTONS
   ========================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.button-dark {
    background: var(--black);
    color: var(--white);
}

.button-dark:hover {
    background: var(--gray-900);
}

.button-light {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--gray-200);
}

.button-light:hover {
    border-color: var(--black);
}


/* =========================
   SECTIONS
   ========================= */

.section {
    padding: 120px 0;
}

.section-header {
    max-width: 700px;
    margin-bottom: 70px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gray-300);
}

.section-header h2 {
    font-family: 'Space Mono', monospace;
    font-size: clamp(30px, 4.5vw, 50px);
    letter-spacing: -2.5px;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 16px;
    line-height: 1.7;
}


/* =========================
   FEATURES (Cómo funciona)
   ========================= */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.feature {
    padding: 40px 35px 35px 0;
    border-right: 1px solid var(--gray-200);
    margin-right: 35px;
    transition: transform 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);
}

.feature:last-child {
    border-right: 0;
    margin-right: 0;
}

.feature-num {
    width: 48px;
    height: 48px;
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-500);
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.feature:hover .feature-num {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.feature h3 {
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.feature p {
    font-size: 14px;
    line-height: 1.7;
}


/* =========================
   DARK SECTION (Seguridad)
   ========================= */

.dark-section {
    background: var(--dark);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.dark-section::before {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border: 2px solid #333333;
    opacity: 0.4;
}

.dark-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-label.light {
    color: var(--gray-500);
}

.section-label.light::before {
    background: #444444;
}

.dark-content h2 {
    font-family: 'Space Mono', monospace;
    font-size: clamp(32px, 4.5vw, 52px);
    letter-spacing: -2.5px;
    margin-bottom: 22px;
}

.dark-content p {
    color: var(--gray-500);
    max-width: 520px;
    font-size: 16px;
}

.security-list {
    border-top: 1px solid #333333;
}

.security-list div {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #333333;
    color: var(--gray-300);
    font-size: 15px;
    transition: color 0.2s;
}

.security-list div:hover {
    color: var(--white);
}

.security-list .check {
    width: 28px;
    height: 28px;
    border: 2px solid #444444;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    color: var(--white);
    transition: all 0.3s;
}

.security-list div:hover .check {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
}


/* =========================
   LEGAL LINKS (Documentos)
   ========================= */

.legal-links {
    border-top: 1px solid var(--gray-200);
}

.legal-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.2s ease;
    gap: 20px;
}

.legal-links a:hover {
    padding-left: 12px;
}

.legal-links .link-num {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--gray-500);
    margin-bottom: 8px;
    display: block;
}

.legal-links strong {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.legal-links p {
    font-size: 14px;
    line-height: 1.6;
}

.legal-links .arrow {
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    color: var(--gray-300);
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.legal-links a:hover .arrow {
    color: var(--black);
    transform: translateX(4px);
}


/* =========================
   LEGAL HERO
   ========================= */

.legal-hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 50px;
    right: 12%;
    width: 100px;
    height: 100px;
    border: 2px solid var(--gray-200);
    opacity: 0.5;
}

.legal-hero h1 {
    font-family: 'Space Mono', monospace;
    font-size: clamp(34px, 5.5vw, 68px);
    letter-spacing: -3.5px;
    margin-bottom: 16px;
}

.legal-hero p {
    font-size: 15px;
    color: var(--gray-500);
}


/* =========================
   LEGAL CONTENT
   ========================= */

.legal-section {
    padding: 80px 0 120px;
}

.legal-container {
    max-width: 800px;
}

.legal-intro {
    padding: 30px 0 40px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 55px;
}

.legal-intro p {
    font-size: 17px;
    margin-bottom: 14px;
    line-height: 1.7;
}

.legal-container h2 {
    font-family: 'Space Mono', monospace;
    font-size: 22px;
    letter-spacing: -0.8px;
    margin-top: 55px;
    margin-bottom: 18px;
}

.legal-container h3 {
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    letter-spacing: -0.3px;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-container p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.75;
}

.legal-container ul {
    margin: 16px 0 28px;
    padding-left: 0;
    list-style: none;
}

.legal-container li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.65;
}

.legal-container li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gray-300);
    font-weight: 700;
}

.text-link {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.text-link:hover {
    gap: 12px;
}

.text-link::after {
    content: '→';
}


/* =========================
   CONTACT BOX
   ========================= */

.contact-box {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    padding: 30px 32px;
    margin-top: 28px;
}

.contact-box strong {
    font-family: 'Space Mono', monospace;
    color: var(--black);
    font-size: 14px;
}

.contact-box p {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 14px;
}


/* =========================
   DELETE ACCOUNT
   ========================= */

.delete-container {
    max-width: 1100px;
}

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

.delete-card {
    border: 1px solid var(--gray-200);
    padding: 50px;
    position: relative;
}

.delete-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--black);
}

.delete-icon {
    width: 56px;
    height: 56px;
    border: 2px solid var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.delete-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--black);
    fill: none;
    stroke-width: 2;
}

.delete-card h2 {
    font-family: 'Space Mono', monospace;
    font-size: 26px;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.delete-card > p {
    font-size: 15px;
    margin-bottom: 14px;
}

.steps {
    margin-top: 40px;
}

.steps-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-500);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.steps-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--gray-200);
}

.step:last-child {
    border-bottom: none;
}

.step > span {
    width: 48px;
    height: 48px;
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-500);
    flex-shrink: 0;
    transition: all 0.3s;
}

.step:hover > span {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.step strong {
    font-family: 'Space Mono', monospace;
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
}

.step p {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.6;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--black);
    color: var(--white);
    padding: 40px;
    position: relative;
}

.sidebar-card::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid var(--gray-300);
    pointer-events: none;
}

.sidebar-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray-500);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--white);
    display: inline-block;
}

.sidebar-item {
    margin-bottom: 22px;
}

.sidebar-item-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.sidebar-item-value {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: var(--white);
    word-break: break-all;
}

.sidebar-divider {
    width: 100%;
    height: 1px;
    background: #333333;
    margin: 22px 0;
}

.sidebar-note {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

.warning-card {
    margin-top: 20px;
    border: 1px solid var(--gray-200);
    padding: 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.warning-icon {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray-300);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-500);
    margin-top: 1px;
}

.warning-text {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}


/* =========================
   FOOTER
   ========================= */

.footer {
    border-top: 1px solid var(--gray-200);
    padding: 55px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 45px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo span {
    width: 30px;
    height: 30px;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.footer-logo .footer-logo-text {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--gray-500);
}

.footer-content p {
    max-width: 350px;
    color: var(--gray-500);
    font-size: 14px;
    margin-top: 14px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--black);
}

.footer-bottom {
    border-top: 1px solid var(--gray-200);
    padding: 22px 0;
}

.footer-bottom p {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--gray-300);
}


/* =========================
   ANIMATIONS
   ========================= */

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

.animate {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-d1 {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
    opacity: 0;
}

.animate-d2 {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
    opacity: 0;
}

.animate-d3 {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
    opacity: 0;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {

    .delete-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar {
        position: static;
    }

    .dark-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .legal-hero::before {
        display: none;
    }
}

@media (max-width: 768px) {

    .container {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        width: 100%;
        padding: 14px 28px;
        border-bottom: 1px solid var(--gray-200);
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 90px 0 80px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero-buttons {
        margin-top: 36px;
    }

    .section {
        padding: 80px 0;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .feature {
        border-right: 0;
        border-bottom: 1px solid var(--gray-200);
        margin-right: 0;
        padding: 32px 0;
    }

    .feature:last-child {
        border-bottom: 0;
    }

    .dark-section {
        padding: 80px 0;
    }

    .legal-hero {
        padding: 90px 0 60px;
    }

    .legal-section {
        padding: 60px 0 80px;
    }

    .legal-container h2 {
        font-size: 20px;
    }

    .delete-card {
        padding: 32px 24px;
    }

    .delete-card::before {
        width: 100%;
        height: 3px;
        top: 0;
        left: 0;
    }

    .sidebar-card {
        padding: 32px 24px;
    }

    .sidebar-card::before {
        display: none;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 14px;
    }
}
