/* Datasuyo Design System - Tech Edition */

@font-face {
    font-family: 'Mont-Heavy';
    src: url('recursos/Mont-HeavyDEMO.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Mont-ExtraLight';
    src: url('recursos/Mont-ExtraLightDEMO.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

:root {
    /* Core Colors */
    --primary-bg: #050a14;
    /* Deep Tech Navy/Black */
    --secondary-bg: #0a192f;
    /* Lighter Navy for cards */

    --accent-primary: #0ABAFF;
    /* Celeste (Oficial) */
    --accent-secondary: #FF0A64;
    /* Magenta (Oficial) */
    --accent-tertiary: #FFD20A;
    /* Dorado (Oficial) */
    --brand-navy: #000066;

    /* Text */
    --text-main: #f3f4f6;
    /* Light gray for dark bg */
    --text-muted: #9ca3af;
    /* Muted gray for dark bg */
    --text-inverse: #050a14;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0a192f 0%, #050a14 100%);
    --gradient-text: linear-gradient(to right, #0ABAFF, #FF0A64);
    --gradient-border: linear-gradient(45deg, #0ABAFF, #FFD20A);

    /* Dimensions & Fonts */
    --max-width: 1200px;
    --font-heading: 'Montserrat', 'Inter', system-ui, sans-serif;
    --font-body: 'Montserrat', 'Inter', system-ui, sans-serif;

    /* Effects */
    --glow-primary: 0 0 20px rgba(10, 186, 255, 0.3);
    --glow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal scroll from effects */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--accent-secondary);
    background: linear-gradient(90deg, var(--accent-secondary) 0%, #b0007a 100%);
    color: var(--white);
    box-shadow: 0 0 15px rgba(214, 0, 147, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(214, 0, 147, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 242, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

/* Header */
header {
    background-color: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

nav a:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 8px rgba(10, 186, 255, 0.5);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Background Grid Effect */
.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 242, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services */
.services {
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
}

.icon-box {
    margin-bottom: 24px;
    color: var(--accent-secondary);
    /* Magenta */
    display: inline-block;
}

.icon-box svg {
    width: 48px;
    /* Larger icon size */
    height: 48px;
    filter: drop-shadow(0 0 5px rgba(255, 10, 100, 0.5));
    transition: all 0.3s ease;
}

.service-card:hover .icon-box svg {
    filter: drop-shadow(0 0 15px rgba(255, 10, 100, 0.8));
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
}

/* Use Cases Section (New) */
.use-cases {
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

.case-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    transition: 0.3s;
}

.case-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-secondary);
}

.case-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-secondary);
}

.case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.case-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Benefits */
.benefits {
    background-color: var(--primary-bg);
}

.benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-secondary);
    box-shadow: 0 5px 20px rgba(214, 0, 147, 0.15);
}

.check-icon {
    color: var(--accent-secondary);
    background: rgba(214, 0, 147, 0.1);
    padding: 8px;
    border-radius: 8px;
    flex-shrink: 0;
}

.benefit-content h4 {
    margin-bottom: 8px;
    font-size: 1.15rem;
    color: var(--text-main);
}

.benefit-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #0a192f 0%, #1a0b2e 100%);
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.final-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(214, 0, 147, 0.2) 0%, transparent 70%);
    z-index: 0;
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--primary-bg);
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-main);
}

.footer-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Contact Section & Additional Styles */
.contact-section {
    background: var(--secondary-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 10, 100, 0.1);
    color: var(--accent-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-item h4 {
    color: var(--text-main);
    margin-bottom: 4px;
}

.info-item p {
    color: var(--text-muted);
}

.contact-form-wrapper {
    background: var(--primary-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-secondary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-block {
    width: 100%;
    display: block;
}

/* Bullet points for Case Cards */
.case-details {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.case-benefits {
    list-style: none;
    padding: 0;
}

.case-benefits li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.case-benefits li::before {
    content: "•";
    color: var(--accent-primary);
    /* Celeste bullets for contrast against magenta icons */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    line-height: 1;
}