/* ========================================
   VEYA SOLUTIONS - STYLESHEET
   Modern, Professional B2B Design
   ======================================== */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Colors */
    --primary-blue: #1e3a8a;
    --primary-blue-dark: #1e40af;
    --accent-blue: #3b82f6;
    --light-blue: #eff6ff;
    --dark-gray: #1f2937;
    --medium-gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --border-gray: #e5e7eb;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;
    
    /* Layout */
    --max-width: 1200px;
    --content-width: 800px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 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);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--dark-gray);
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-blue-dark);
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.content-width {
    max-width: var(--content-width);
    margin: 0 auto;
}

.section {
    padding: var(--spacing-2xl) 0;
}

.section-light {
    background-color: var(--light-gray);
}

.section-dark {
    background-color: var(--primary-blue);
    color: var(--white);
}

.section-dark h2,
.section-dark p,
.section-dark label {
    color: var(--white);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-gray);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.nav-cta {
    background-color: var(--accent-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-medium);
    transition: background-color 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--primary-blue-dark);
    color: var(--white);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: var(--font-weight-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    opacity: 0.95;
}

/* ========================================
   BUTTONS
   ======================================== */
.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-blue);
}

.section-dark .cta-button {
    background-color: var(--white);
    color: var(--primary-blue);
}

.section-dark .cta-button:hover {
    background-color: var(--light-blue);
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-blue);
}

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

.section-intro {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--medium-gray);
}

.section-dark .section-intro {
    color: var(--white);
    opacity: 0.9;
}

.large-text {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.problem-item {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent-blue);
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

/* ========================================
   VALUE PROPOSITIONS
   ======================================== */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.value-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.value-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.value-card h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.value-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ========================================
   CATEGORIES
   ======================================== */
.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.category-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-card-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.category-card h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.category-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.category-note {
    text-align: center;
    color: var(--medium-gray);
    font-style: italic;
    font-size: 0.95rem;
    margin-top: var(--spacing-lg);
}

/* Old category styles kept for backwards compatibility */
.categories {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.category-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background-color: var(--light-blue);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-medium);
    color: var(--primary-blue);
    font-size: 1.125rem;
}

.category-icon {
    font-size: 1.5rem;
}

/* ========================================
   PROCESS STEPS
   ======================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.process-step {
    text-align: center;
    padding: var(--spacing-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--accent-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin: 0 auto var(--spacing-md);
}

.process-step h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.process-step p {
    color: var(--medium-gray);
}

/* ========================================
   TRUST SECTION
   ======================================== */
.trust-section {
    background-color: var(--light-blue);
    padding: var(--spacing-lg) 0;
}

.trust-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    text-align: center;
}

.trust-item strong {
    display: block;
    color: var(--primary-blue);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.trust-item p {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-form {
    max-width: 700px;
    margin: var(--spacing-lg) auto 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-medium);
    color: var(--white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.15);
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-lg) 0;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    letter-spacing: 1px;
}

.logo-img-footer {
    height: 60px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: brightness(0) invert(1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--white);
}

.footer-copyright {
    color: var(--white);
    opacity: 0.6;
    font-size: 0.875rem;
}

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

/* Tablets */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .value-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-content {
        flex-direction: column;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --spacing-2xl: 3rem;
        --spacing-xl: 2.5rem;
        --spacing-lg: 2rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .nav-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .categories {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.6s ease-out;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}
