@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600&display=swap');

/* Veetr Brand Colors */
:root {
    --fresh-sky: #48B3F6;
    --oxford-navy: #102F56;
    --alice-blue: #E5F4FE;
    --bright-snow: #F8F8F8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--oxford-navy);
    background: #ffffff;
}

a {
    color: var(--fresh-sky);
    font-weight: 600;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(248, 248, 248, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(16, 47, 86, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--oxford-navy);
    text-decoration: none;
    transition: color 0.3s;
}

.logo:hover {
    color: var(--fresh-sky);
}

.logo-image {
    height: 2rem;
    width: auto;
    margin-right: 0.5rem;
}

.main-nav a {
    color: var(--oxford-navy);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--fresh-sky);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--fresh-sky) 0%, var(--oxford-navy) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.3rem;
}

.hero a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transition: border-color 0.3s;
}

.hero a:hover {
    border-bottom-color: white;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: white;
}

body:not(.legal-page) section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--oxford-navy);
    font-weight: 600;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--oxford-navy);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--bright-snow);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(72, 179, 246, 0.2);
}

.product-card.featured {
    border: 3px solid var(--fresh-sky);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--fresh-sky);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 10;
}

.product-image {
    background: linear-gradient(135deg, var(--alice-blue) 0%, var(--bright-snow) 100%);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    font-size: 6rem;
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--oxford-navy);
    font-weight: 600;
}

.product-description {
    font-size: 1.05rem;
    color: var(--oxford-navy);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--oxford-navy);
    font-size: 0.95rem;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 600;
    color: var(--fresh-sky);
}

.price-note {
    font-size: 1.2rem;
    color: var(--oxford-navy);
    opacity: 0.7;
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    font-size: 1.1rem;
}

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

.btn-primary:hover {
    background: var(--oxford-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(72, 179, 246, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--fresh-sky);
    border: 2px solid var(--fresh-sky);
}

.btn-secondary:hover {
    background: var(--fresh-sky);
    color: white;
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.delivery-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--oxford-navy);
    opacity: 0.7;
}

/* Components Section */
.components {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bright-snow) 0%, var(--alice-blue) 100%);
}

.component-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.component-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.component-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(72, 179, 246, 0.15);
}

.component-card a:first-of-type {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 200px;
    height: 200px;
    margin-bottom: 1rem;
}

.component-card img {
    width: 100%;
    height: auto;
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
}

.component-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--oxford-navy);
    font-weight: 600;
}

.component-card p {
    color: var(--oxford-navy);
    margin-bottom: 1rem;
    opacity: 0.8;
    flex-grow: 0;
}

.component-card .btn {
    width: auto;
    height: auto;
}

.component-price {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--fresh-sky);
}

.component-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: var(--oxford-navy);
    opacity: 0.8;
}

/* Shipping Info */
.shipping-info {
    padding: 6rem 0;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
}

.info-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--oxford-navy);
    font-weight: 600;
}

.info-card p {
    color: var(--oxford-navy);
    line-height: 1.7;
    opacity: 0.8;
}

/* Newsletter Section */
.newsletter {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--alice-blue) 0%, #ffffff 100%);
}

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

.newsletter p {
    font-size: 1.1rem;
    color: var(--oxford-navy);
    opacity: 0.85;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--fresh-sky) 0%, var(--oxford-navy) 100%);
    color: white;
}

.contact a {
    color: white;
}

.contact .contact-button {
    color: var(--fresh-sky);
}

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

.contact h2 {
    color: white;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.contact-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: var(--fresh-sky);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.contact-button:hover {
    background: var(--oxford-navy);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-note {
    margin-top: 2rem;
    font-size: 1rem;
    opacity: 0.85;
    font-style: italic;
}

/* Mautic Form */
.contact .mauticform_wrapper {
    margin: 2.5rem auto 2rem;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
}

.contact .mauticform-row {
    text-align: left;
    margin-bottom: 1.25rem;
}

.contact .mauticform-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.contact .mauticform-input,
.contact .mauticform-textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.92);
    color: var(--oxford-navy);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.contact .mauticform-textarea {
    min-height: 140px;
    resize: vertical;
}

.contact .mauticform-input:focus,
.contact .mauticform-textarea:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(229, 244, 254, 0.6);
    background: white;
}

.contact .mauticform-button-wrapper {
    text-align: center;
    margin-top: 1.5rem;
}

/* Newsletter form inline layout */
#mauticform_wrapper_newsletterveetrcom .mauticform-page-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

#mauticform_wrapper_newsletterveetrcom .mauticform-row {
    margin-bottom: 0;
    flex: 0 1 auto;
}

#mauticform_wrapper_newsletterveetrcom .mauticform-button-wrapper {
    flex: 0 0 auto;
    margin-top: 0;
}

#mauticform_wrapper_newsletterveetrcom .mauticform-label {
    display: inline-block;
    margin: 0 0.5rem 0 0;
    font-weight: 600;
    color: var(--oxford-navy);
    white-space: nowrap;
}

#mauticform_wrapper_newsletterveetrcom .mauticform-input {
    border-radius: 10px;
    min-height: 44px;
    width: 320px;
}

#mauticform_wrapper_newsletterveetrcom .mauticform-button {
    min-height: 44px;
    padding: 0.4rem 1rem;
}

#mauticform_wrapper_newsletterveetrcom .mauticform-button.btn-ghost {
    background: var(--fresh-sky);
    color: white;
    border: 2px solid var(--fresh-sky);
}

#mauticform_wrapper_newsletterveetrcom {
    background: white;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(16, 47, 86, 0.12);
}

@media (max-width: 600px) {
    #mauticform_wrapper_newsletterveetrcom .mauticform-page-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
}

.btn-ghost {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-ghost:hover {
    background: white;
    color: var(--oxford-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.contact .mauticform-error,
.contact .mauticform-message {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact .mauticform-errormsg {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: #ffd1d1;
}

/* Legal Page */
.legal-page {
    background: var(--bright-snow);
    color: var(--oxford-navy);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 20px 6rem;
}

.legal-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--oxford-navy);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
}

.legal-logo:hover {
    color: var(--fresh-sky);
}

.legal-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.legal-meta {
    opacity: 0.7;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.legal-section p {
    margin-bottom: 0.75rem;
}

.legal-actions {
    margin-top: 2rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    max-width: 300px;
    z-index: 999;
    background: rgba(16, 47, 86, 0.95);
    color: white;
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-banner[data-hidden="true"] {
    display: none;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.35;
}

.cookie-actions {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.cookie-actions .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .cookie-banner {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
        max-width: none;
    }

    .cookie-actions {
        justify-content: flex-end;
    }

    .cookie-actions .btn {
        width: auto;
        flex: 0 0 auto;
    }
}

/* Footer */
footer {
    background: var(--oxford-navy);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--fresh-sky);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .main-nav a {
        margin-left: 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.comparison-table thead tr {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.comparison-table th {
    padding: 1.5rem;
    color: white;
    font-size: 1.1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table th:not(:first-child) {
    text-align: center;
}

.comparison-table th:last-child {
    border-right: none;
}

.comparison-table .price {
    font-size: 1.5rem;
    font-weight: bold;
}

.comparison-table tbody tr:nth-child(odd) {
    background: #f9fafb;
}

.comparison-table tbody tr:nth-child(even) {
    background: white;
}

.comparison-table td {
    padding: 1.25rem;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table td:first-child {
    font-weight: 600;
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table .advantage {
    color: #059669;
}

.comparison-table .disadvantage {
    color: #dc2626;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.comparison-actions .btn {
    min-width: 200px;
}

.open-source-message {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
}

.delivery-info {
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: 1.5rem;
}
