/* =============================================================================
   PRIMIOT LANDING PAGE - STYLES
   Performance Monitoring for Packaging
   ============================================================================= */

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

:root {
    /* Brand Colors */
    --primary-teal: #0D9488;
    --primary-teal-light: #14B8A6;
    --secondary-indigo: #6366F1;
    --accent-amber: #F59E0B;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    /* Neutrals */
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-tertiary: #94A3B8;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --border: #E2E8F0;
    --border-light: #F1F5F9;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================================================
   TYPOGRAPHY
   ============================================================================= */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    background: var(--primary-teal-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary-teal);
    color: var(--primary-teal);
}

.btn-outline:hover {
    background: var(--primary-teal);
    color: white;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* =============================================================================
   NAVBAR
   ============================================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-indigo));
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-teal);
}

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

.hero {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-teal);
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-indigo) 100%);
    color: white;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-teal);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--text-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.preview-header {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.preview-dot.red { background: #EF4444; }
.preview-dot.yellow { background: #F59E0B; }
.preview-dot.green { background: #10B981; }

.preview-content {
    padding: 24px;
}

.preview-kpi {
    text-align: center;
    margin-bottom: 24px;
}

.kpi-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-teal-light);
}

.kpi-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.preview-machines {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.machine {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
}

.machine.running {
    border: 2px solid var(--success);
    box-shadow: 0 0 12px var(--success);
}

.machine.idle {
    border: 2px solid var(--warning);
}

.preview-chart {
    height: 100px;
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.3) 0%, rgba(13, 148, 136, 0.05) 100%);
    border-radius: var(--radius-md);
}

/* =============================================================================
   PROBLEMS
   ============================================================================= */

.problems {
    padding: var(--section-padding) 0;
}

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

.problem-card {
    padding: 32px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.problem-card:hover {
    border-color: var(--error);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border-radius: var(--radius-lg);
}

.problem-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* =============================================================================
   SOLUTION
   ============================================================================= */

.solution {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.solution-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.feature-check {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: var(--radius-md);
}

.solution-feature h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.solution-feature p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* =============================================================================
   FEATURES
   ============================================================================= */

.features {
    padding: var(--section-padding) 0;
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

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

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

.feature-icon.teal { background: rgba(13, 148, 136, 0.1); color: var(--primary-teal); }
.feature-icon.indigo { background: rgba(99, 102, 241, 0.1); color: var(--secondary-indigo); }
.feature-icon.amber { background: rgba(245, 158, 11, 0.1); color: var(--accent-amber); }
.feature-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.feature-icon.purple { background: rgba(139, 92, 246, 0.1); color: #8B5CF6; }
.feature-icon.blue { background: rgba(59, 130, 246, 0.1); color: var(--info); }

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* =============================================================================
   SECTORS
   ============================================================================= */

.sectors {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.sector-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.sector-image {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.sector-image.plastics {
    background: linear-gradient(135deg, #0D9488 0%, #14B8A6 100%);
}

.sector-image.food {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
}

.sector-image.printing {
    background: linear-gradient(135deg, #6366F1 0%, #818CF8 100%);
}

.sector-content {
    padding: 24px;
}

.sector-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.sector-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

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

.sector-list li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.sector-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-teal);
    border-radius: 50%;
}

/* =============================================================================
   HOW IT WORKS
   ============================================================================= */

.how-it-works {
    padding: var(--section-padding) 0;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.step-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-teal);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

.step-content h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.step-line {
    width: 80px;
    height: 2px;
    background: var(--border);
    margin-top: 28px;
    flex-shrink: 0;
}

/* =============================================================================
   PARTNERS
   ============================================================================= */

.partners {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.partners-text h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.partners-text > p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.partner-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.benefit svg {
    color: var(--success);
    flex-shrink: 0;
}

.partners-levels {
    display: flex;
    gap: 16px;
}

.level-card {
    flex: 1;
    padding: 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.level-card.featured {
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-md);
}

.level-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 20px;
}

.level-badge.bronze {
    background: rgba(180, 83, 9, 0.1);
    color: #B45309;
}

.level-badge.silver {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-teal);
}

.level-badge.gold {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-amber);
}

.level-card ul {
    list-style: none;
}

.level-card li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.level-card li:last-child {
    border-bottom: none;
}

/* =============================================================================
   CTA
   ============================================================================= */

.cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-indigo) 100%);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 12px;
}

.cta-content > p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row input,
.form-row select {
    flex: 1;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: none;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
}

.form-row input::placeholder {
    color: var(--text-tertiary);
}

.contact-form .btn {
    margin-top: 8px;
    background: white;
    color: var(--primary-teal);
    font-weight: 600;
}

.contact-form .btn:hover {
    background: var(--bg-secondary);
}

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

.footer {
    padding: 60px 0 30px;
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand .logo-icon {
    background: rgba(255, 255, 255, 0.2);
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

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

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .partners-text {
        text-align: center;
    }

    .partner-benefits {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

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

    .steps {
        flex-direction: column;
        gap: 32px;
    }

    .step-line {
        display: none;
    }

    .partners-levels {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}
