/* ========================================
   Glivres — Promotional Website Styles
   ======================================== */

:root {
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --accent: #4361ee;
    --accent-hover: #3651d4;
    --accent-light: rgba(67, 97, 238, 0.1);
    --warm: #f59e0b;
    --warm-hover: #d97706;
    --warm-light: rgba(245, 158, 11, 0.12);
    --green: #10b981;
    --green-light: rgba(16, 185, 129, 0.1);
    --rose: #f43f5e;
    --rose-light: rgba(244, 63, 94, 0.1);
    --violet: #8b5cf6;
    --violet-light: rgba(139, 92, 246, 0.1);
    --teal: #14b8a6;
    --teal-light: rgba(20, 184, 166, 0.1);
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #e9ecef;
    --gray-200: #dee2e6;
    --gray-400: #adb5bd;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

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

/* Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--warm);
    color: var(--white);
    border-color: var(--warm);
}

.btn-primary:hover {
    background: var(--warm-hover);
    border-color: var(--warm-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-logo img,
.footer-brand img {
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--warm);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(245, 158, 11, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 60%, rgba(139, 92, 246, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 80%, rgba(67, 97, 238, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, #1a1a2e 0%, #0f2027 40%, #1a1a2e 100%);
    animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
    0% { opacity: 1; }
    100% { opacity: 0.8; transform: scale(1.03); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--warm), #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   STATS
   ======================================== */
.stats {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--warm);
    letter-spacing: -2px;
    line-height: 1;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--warm);
}

.stat-label-top {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    font-weight: 500;
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

/* ========================================
   FEATURES
   ======================================== */
.features {
    padding: 100px 0;
    background: var(--white);
}

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

.feature-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    border-top: 3px solid var(--accent);
}

.feature-card:nth-child(1) { border-top-color: var(--accent); }
.feature-card:nth-child(2) { border-top-color: var(--warm); }
.feature-card:nth-child(3) { border-top-color: var(--green); }
.feature-card:nth-child(4) { border-top-color: var(--violet); }
.feature-card:nth-child(5) { border-top-color: var(--rose); }
.feature-card:nth-child(6) { border-top-color: var(--teal); }
.feature-card:nth-child(7) { border-top-color: var(--warm); }
.feature-card:nth-child(8) { border-top-color: var(--accent); }
.feature-card:nth-child(9) { border-top-color: var(--green); }

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card:nth-child(1) .feature-icon { background: var(--accent-light); }
.feature-card:nth-child(1) .feature-icon svg { color: var(--accent); }
.feature-card:nth-child(2) .feature-icon { background: var(--warm-light); }
.feature-card:nth-child(3) .feature-icon { background: var(--green-light); }
.feature-card:nth-child(4) .feature-icon { background: var(--violet-light); }
.feature-card:nth-child(5) .feature-icon { background: var(--rose-light); }
.feature-card:nth-child(6) .feature-icon { background: var(--teal-light); }
.feature-card:nth-child(7) .feature-icon { background: var(--warm-light); }
.feature-card:nth-child(8) .feature-icon { background: var(--accent-light); }
.feature-card:nth-child(9) .feature-icon { background: var(--green-light); }

.feature-card:nth-child(2) .feature-icon svg path,
.feature-card:nth-child(2) .feature-icon svg circle,
.feature-card:nth-child(2) .feature-icon svg rect { stroke: var(--warm); }
.feature-card:nth-child(3) .feature-icon svg path,
.feature-card:nth-child(3) .feature-icon svg circle,
.feature-card:nth-child(3) .feature-icon svg rect { stroke: var(--green); }
.feature-card:nth-child(4) .feature-icon svg path,
.feature-card:nth-child(4) .feature-icon svg circle,
.feature-card:nth-child(4) .feature-icon svg rect { stroke: var(--violet); }
.feature-card:nth-child(5) .feature-icon svg path,
.feature-card:nth-child(5) .feature-icon svg circle,
.feature-card:nth-child(5) .feature-icon svg rect { stroke: var(--rose); }
.feature-card:nth-child(6) .feature-icon svg path,
.feature-card:nth-child(6) .feature-icon svg circle,
.feature-card:nth-child(6) .feature-icon svg rect { stroke: var(--teal); }
.feature-card:nth-child(7) .feature-icon svg path,
.feature-card:nth-child(7) .feature-icon svg circle,
.feature-card:nth-child(7) .feature-icon svg rect { stroke: var(--warm); }
.feature-card:nth-child(9) .feature-icon svg path,
.feature-card:nth-child(9) .feature-icon svg circle,
.feature-card:nth-child(9) .feature-icon svg rect { stroke: var(--green); }

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   MARKETPLACES
   ======================================== */
.marketplaces {
    padding: 100px 0;
    background: linear-gradient(180deg, #f0f4ff 0%, var(--white) 100%);
}

.mp-category {
    margin-bottom: 48px;
}

.mp-category:last-child {
    margin-bottom: 0;
}

.mp-category-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 20px;
    text-align: center;
}

.mp-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.mp-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px 8px 8px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-800);
    transition: var(--transition);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.mp-item:hover {
    background: var(--white);
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.mp-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

/* ========================================
   CARRIERS
   ======================================== */
.carriers {
    padding: 100px 0;
    background: var(--gray-50);
}

.carriers-screenshot {
    max-width: 600px;
    margin: 0 auto 48px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.carriers-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.carriers-highlights {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.highlight-item {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.highlight-item strong {
    color: var(--warm);
    font-weight: 700;
}

/* ========================================
   TRACKING
   ======================================== */
.tracking {
    padding: 100px 0;
    background: var(--white);
}

.tracking .step-number {
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   PRESTASHOP
   ======================================== */
.prestashop {
    padding: 100px 0;
    background: linear-gradient(180deg, #fef3c7 0%, #fffbeb 40%, var(--white) 100%);
}

.prestashop .section-title {
    color: var(--dark);
}

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

.prestashop-card {
    text-align: center;
    padding: 36px 28px;
    background: var(--white);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.06);
}

.prestashop-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 4px 24px rgba(245, 158, 11, 0.12);
    transform: translateY(-2px);
}

.prestashop-icon {
    width: 64px;
    height: 64px;
    background: var(--warm-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.prestashop-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.prestashop-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.prestashop-examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 48px;
}

.prestashop-example {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    text-align: center;
}

.prestashop-example:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.prestashop-example img {
    width: 100%;
    height: auto;
    display: block;
}

.prestashop-example span {
    display: block;
    padding: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--warm-hover);
    background: var(--white);
    border-top: 1px solid var(--gray-100);
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.step-card {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 16px rgba(67, 97, 238, 0.3);
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   ADVANTAGES
   ======================================== */
.advantages {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f2027 50%, #1a1a2e 100%);
}

.advantages .section-title {
    color: var(--white);
}

.advantages .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: var(--transition);
    border-left: 3px solid var(--warm);
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    border-left-color: var(--warm);
}

.advantage-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.advantage-item svg path,
.advantage-item svg rect,
.advantage-item svg circle {
    stroke: var(--warm);
}

.advantage-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.advantage-item p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* 5th advantage centered */
.advantages-grid .advantage-item:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 450px;
    justify-self: center;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, #f0f4ff 100%);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

.form-status {
    margin-top: 16px;
    font-size: 0.9rem;
    text-align: center;
}

.form-status.success {
    color: #16a34a;
}

.form-status.error {
    color: #dc2626;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark);
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .advantages-grid .advantage-item:nth-child(5) {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

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

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

    .prestashop-examples {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .carriers-highlights {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}
