/* SIER Commercial Web - Premium Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@300;500;700;900&display=swap');

:root {
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --accent: #4f46e5;
    --accent-glow: rgba(79, 70, 229, 0.4);
    --border: rgba(255, 255, 255, 0.1);
    --safe-green: #2ecc71;
    --danger-red: #e74c3c;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .brand {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.8);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-container img {
    height: 40px;
    filter: brightness(1.5);
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.brand span {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    width: 60%;
    position: relative;
    z-index: 2;
    padding-left: 4rem; /* Movido un poco más a la derecha */
}

.hero-visual {
    width: 45%;
    position: relative;
    z-index: 2;
}

.hero-glow {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.1); }
}

.overline {
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.btn-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--accent-glow);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: white;
    background: rgba(255,255,255,0.05);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Value Props Section */
.value-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
}

.section-head {
    text-align: center;
    margin-bottom: 5rem;
}

.section-head h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-head p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    background: rgba(255,255,255,0.05);
}

.value-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Dashboard Glimpse */
.glimpse {
    padding-bottom: 100px;
}

.mockup-container {
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.mockup-container img {
    width: 100%;
    border-radius: 12px;
    display: block;
    transition: var(--transition);
}

.mockup-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, transparent 100%);
    pointer-events: none;
}

/* Comparisons */
.comparison {
    padding: 100px 0;
}

.comp-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.comp-item h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.comp-item.others h4 { color: var(--danger-red); }
.comp-item.sier h4 { color: var(--safe-green); }

.bullet-list {
    list-style: none;
}

.bullet-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.bullet-list li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-logo {
    height: 30px;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Use Cases */
.use-case-card {
    transition: var(--transition);
}

.use-case-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent) !important;
    background: rgba(255,255,255,0.05) !important;
}

/* Hamburger Menu Button (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

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

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* OSINT grid helper */
.osint-grid {
    display: grid;
}

/* Mobile dashboard link (hidden on desktop) */
.mobile-dashboard-btn {
    display: none;
}

/* ============================
   RESPONSIVE — Tablet (≤968px)
   ============================ */
@media (max-width: 968px) {
    /* --- Navigation Hamburger --- */
    .hamburger { display: flex; }
    .nav-desktop-btn { display: none; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1050;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.4rem;
        color: var(--text-white);
    }

    .nav-links .mobile-dashboard-btn {
        display: inline-block;
        margin-top: 1rem;
        padding: 0.9rem 2.5rem;
        background: var(--accent);
        color: white !important;
        border-radius: 10px;
        font-size: 1.1rem;
        font-weight: 600;
        box-shadow: 0 8px 24px var(--accent-glow);
        transition: var(--transition);
    }

    nav .btn-group .btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.8rem !important;
    }

    /* --- Hero --- */
    .hero {
        height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero .container {
        flex-direction: column !important;
        text-align: center;
    }

    .hero-content {
        width: 100%;
        padding-left: 0;
    }

    .hero-visual {
        width: 100%;
        margin-top: 2rem;
    }

    .hero-visual .mockup-container img {
        transform: rotate(0deg) scale(1) !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.6) !important;
    }

    h1 { font-size: 2.8rem; }

    .hero p {
        margin: 0 auto 2rem;
        max-width: 100%;
    }

    .btn-group {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-glow {
        width: 350px;
        height: 350px;
        top: 10%;
        right: -20%;
    }

    /* --- Sections General --- */
    .section-head h2 { font-size: 2.2rem; }
    .value-grid { grid-template-columns: 1fr; }
    .comp-box { grid-template-columns: 1fr; }

    /* --- Use Cases (inline grid override) --- */
    .use-case-grid {
        grid-template-columns: 1fr !important;
    }

    /* --- Myths Table — stack columns --- */
    .myth-table-container {
        border-radius: 16px !important;
    }

    .myth-table-container table,
    .myth-table-container thead,
    .myth-table-container tbody,
    .myth-table-container tr,
    .myth-table-container th,
    .myth-table-container td {
        display: block !important;
        width: 100% !important;
    }

    .myth-table-container thead tr {
        display: none !important;
    }

    .myth-table-container td {
        padding: 20px 24px !important;
        border-bottom: none !important;
    }

    .myth-table-container tr {
        border-bottom: 1px solid var(--border) !important;
        padding: 10px 0;
    }

    .myth-table-container td:first-child {
        padding-bottom: 8px !important;
    }

    .myth-table-container td:last-child {
        padding-top: 8px !important;
    }

    /* --- OSINT section --- */
    #osint .container > div {
        padding: 30px !important;
        border-radius: 20px !important;
    }

    .osint-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* --- CTA --- */
    #solicitar {
        padding: 60px 0 !important;
    }

    #solicitar h2 {
        font-size: 2rem !important;
    }

    #solicitar .btn {
        font-size: 1rem !important;
        padding: 1rem 2rem !important;
    }

    /* --- Footer --- */
    footer .container > div:first-child {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem;
    }

    footer .logo-container {
        justify-content: center;
    }

    footer p {
        max-width: 100% !important;
    }
}

/* ============================
   RESPONSIVE — Phone (≤640px)
   ============================ */
@media (max-width: 640px) {
    .container {
        padding: 0 1.2rem;
    }

    header {
        padding: 1rem 0;
    }

    h1 {
        font-size: 2rem !important;
        letter-spacing: -1px;
    }

    .overline {
        font-size: 0.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero {
        padding-top: 90px;
        padding-bottom: 40px;
    }

    /* Buttons stack on very small screens */
    .hero .btn-group {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .hero .btn-group .btn {
        width: 100%;
        text-align: center;
    }

    .section-head {
        margin-bottom: 2.5rem;
    }

    .section-head h2 {
        font-size: 1.7rem !important;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }

    /* Reduce section vertical padding */
    .use-cases,
    .myths,
    .osint-edu,
    .value-section,
    .glimpse {
        padding: 50px 0 !important;
    }

    .use-case-card {
        padding: 24px !important;
    }

    /* OSINT large watermark hide */
    #osint .container > div > div:first-child {
        display: none !important;
    }

    #osint .container > div > .section-head h2 {
        font-size: 1.5rem !important;
    }

    /* CTA */
    #solicitar h2 {
        font-size: 1.5rem !important;
    }

    #solicitar .btn {
        font-size: 0.95rem !important;
        padding: 0.9rem 1.5rem !important;
        width: 90%;
    }
}
