/* ========================================
   DPestudio Tienda Online - Landing Page
   Premium Design - Amarillo Oscuro Intenso
======================================== */

:root {
    /* Colors - Amarillo Oscuro Intenso */
    --primary: #d4a017;
    --primary-dark: #b8860b;
    --primary-light: #e6b422;
    --secondary: #f4c430;
    --accent: #ffd700;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #fafaf9;
    --gray-100: #f5f5f4;
    --gray-200: #e7e5e4;
    --gray-300: #d6d3d1;
    --gray-400: #a8a29e;
    --gray-500: #78716c;
    --gray-600: #57534e;
    --gray-700: #44403c;
    --gray-800: #292524;
    --gray-900: #1c1917;
    --dark: #0c0a09;

    /* Gradients - Amarillo Oscuro */
    --gradient-primary: linear-gradient(135deg, #d4a017 0%, #e6b422 50%, #ffd700 100%);
    --gradient-secondary: linear-gradient(135deg, #b8860b 0%, #d4a017 100%);
    --gradient-dark: linear-gradient(180deg, #0c0a09 0%, #1c1917 100%);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    /* Spacing */
    --section-padding: 120px;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(212, 160, 23, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--dark);
    color: var(--gray-100);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.5);
}

.btn-primary-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(212, 160, 23, 0.5);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(212, 160, 23, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-300);
}

.btn-ghost:hover {
    color: var(--primary-light);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    font-size: 18px;
    padding: 20px 40px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.4);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-text {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(12, 10, 9, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dark);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.logo-accent {
    color: var(--primary-light);
    font-weight: 400;
    /* Lighter weight for accent to save visual weight */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 30px);
    /* Reduced gap */
    list-style: none;
    margin: 0 10px;
}

.nav-link {
    font-size: 14px;
    /* Slightly smaller */
    font-weight: 500;
    color: var(--gray-300);
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--primary-light);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Compact buttons for Navbar */
.nav-buttons .btn {
    padding: 10px 20px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 160, 23, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(230, 180, 34, 0.1) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a017' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(212, 160, 23, 0.3);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(184, 134, 11, 0.3);
    bottom: 100px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(244, 196, 48, 0.3);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: rgba(255, 215, 0, 0.2);
    bottom: -50px;
    right: 20%;
    animation-delay: -15s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }

    75% {
        transform: translate(20px, 60px) scale(1.05);
    }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: var(--radius-full);
    color: var(--success);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-700);
}

/* Hero Visual */
.hero-visual {
    perspective: 1000px;
}

.dashboard-preview {
    background: rgba(28, 25, 23, 0.8);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 160, 23, 0.1);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.dashboard-preview:hover {
    transform: rotateY(0) rotateX(0);
    border-color: rgba(212, 160, 23, 0.4);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-dots {
    display: flex;
    gap: 8px;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.preview-dots span:nth-child(1) {
    background: #ef4444;
}

.preview-dots span:nth-child(2) {
    background: var(--primary);
}

.preview-dots span:nth-child(3) {
    background: #10b981;
}

.preview-url {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.preview-content {
    display: flex;
    min-height: 320px;
}

.preview-sidebar {
    width: 60px;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sidebar-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--gray-500);
    transition: var(--transition-base);
    cursor: pointer;
}

.sidebar-item:hover,
.sidebar-item.active {
    background: var(--gradient-primary);
    color: var(--dark);
}

.preview-main {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.preview-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 160, 23, 0.1);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.card-1 .mini-icon {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.card-2 .mini-icon {
    background: rgba(212, 160, 23, 0.2);
    color: var(--primary-light);
}

.card-3 .mini-icon {
    background: rgba(244, 196, 48, 0.2);
    color: var(--secondary);
}

.mini-value {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.mini-label {
    font-size: 12px;
    color: var(--gray-500);
}

.preview-chart {
    grid-column: span 3;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 160, 23, 0.1);
    border-radius: var(--radius-md);
    padding: 20px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 80px;
    gap: 12px;
}

.chart-bars .bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    animation: growBar 1s ease-out forwards;
    opacity: 0;
}

@keyframes growBar {
    from {
        height: 0;
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.chart-bars .bar:nth-child(1) {
    animation-delay: 0.1s;
}

.chart-bars .bar:nth-child(2) {
    animation-delay: 0.2s;
}

.chart-bars .bar:nth-child(3) {
    animation-delay: 0.3s;
}

.chart-bars .bar:nth-child(4) {
    animation-delay: 0.4s;
}

.chart-bars .bar:nth-child(5) {
    animation-delay: 0.5s;
}

.chart-bars .bar:nth-child(6) {
    animation-delay: 0.6s;
}

.chart-bars .bar:nth-child(7) {
    animation-delay: 0.7s;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 60px;
    border: 2px solid rgba(212, 160, 23, 0.3);
    border-radius: 20px;
    color: var(--primary-light);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}