/*
Theme Name: InterPlein Office Theme
Theme URI: https://interplein.org
Author: InterPlein
Author URI: https://interplein.org
Description: Officieel landingspagina-thema voor InterPlein Office 2024 – samenwerking met AD
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: interplein
Tags: landing-page, e-commerce, one-page
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
    --red:        #CC0000;
    --red-hover:  #a80000;
    --blue:       #1a5099;
    --blue-hover: #134080;
    --blue-btn:   #1a73e8;
    --dark:       #111111;
    --gray-bg:    #f5f5f5;
    --gray-light: #f9f9f9;
    --border:     #e0e0e0;
    --text-muted: #666666;
    --white:      #ffffff;
    --max-width:  1100px;
    --radius:     10px;
    --shadow:     0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
}

/* ============================================================
   CONTAINER
   ============================================================ */
.ip-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.ip-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ip-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.ip-logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ip-logo-group img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.ip-logo-sep {
    width: 1px;
    height: 32px;
    background: var(--border);
    display: block;
}

.ip-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.ip-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.ip-nav a {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: color 0.2s;
}

.ip-nav a:hover {
    color: var(--red);
}

.ip-btn-header {
    background: var(--red);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.ip-btn-header:hover {
    background: var(--red-hover) !important;
    color: var(--white) !important;
}

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

.ip-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.ip-hero {
    background-image: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0.30) 100%), url("https://ad.interplein.nl/wp-content/uploads/2026/04/interplein-ad.jpeg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 80px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ip-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(204,0,0,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.ip-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff3f3;
    border: 1px solid #ffcccc;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 20px;
}

.ip-hero h1 {
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    color: #111;
    margin-bottom: 6px;
}

.ip-hero h1 .txt-red  { color: var(--red); }
.ip-hero h1 .txt-blue { color: var(--blue); }

.ip-hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin: 16px 0 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.ip-hero-subtitle strong {
    color: #111;
}

.ip-hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.ip-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid var(--red);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.ip-btn-primary:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(204,0,0,0.3);
}

.ip-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #333;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.ip-btn-outline:hover {
    border-color: #999;
    color: #111;
    background: #f9f9f9;
}

.ip-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.ip-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
}

.ip-trust-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ip-trust-item.star .ip-trust-icon { color: #f5a623; font-size: 16px; }
.ip-trust-item.users .ip-trust-icon { color: var(--blue); font-size: 14px; }
.ip-trust-item.shield .ip-trust-icon { color: #27ae60; font-size: 15px; }

.ip-hero-scroll {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

.ip-scroll-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.ip-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.ip-section-header h2 {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 800;
    color: #111;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.ip-section-header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--blue));
    border-radius: 2px;
    margin: 10px auto 0;
}

.ip-section-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================================
   PRODUCT CARDS SECTION
   ============================================================ */
.ip-products {
    padding: 80px 0;
    background: var(--white);
}

.ip-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 860px;
    margin: 0 auto;
}

.ip-product-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ip-product-card:hover {
    border-color: var(--blue-btn);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.ip-product-card.selected {
    border-color: var(--blue-btn);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.2);
}

.ip-product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ip-product-badge.windows {
    background: #e8f0fe;
    color: #1a73e8;
}

.ip-product-badge.mac {
    background: #111;
    color: #fff;
}

.ip-product-img {
    display: flex;
    justify-content: center;
    margin: 20px 0 22px;
}

.ip-product-img img {
    height: 140px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}

.ip-product-title {
    font-size: 19px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.ip-product-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.ip-product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 18px;
}

.ip-price-current {
    font-size: 30px;
    font-weight: 800;
    color: var(--red);
}

.ip-price-old {
    font-size: 16px;
    color: #aaa;
    text-decoration: line-through;
    font-weight: 400;
}

.ip-product-features {
    list-style: none;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ip-product-features li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: #333;
}

.ip-product-features li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #e8f5e9;
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2327ae60' d='M6.5 11.5L3 8l1.06-1.06L6.5 9.38l5.44-5.44L13 5l-6.5 6.5z'/%3E%3C/svg%3E");
    background-size: contain;
}

.ip-btn-select {
    display: block;
    width: 100%;
    padding: 13px;
    background: var(--blue-btn);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.ip-btn-select:hover {
    background: #1558b0;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(26,115,232,0.35);
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.ip-why {
    padding: 80px 0;
    background: var(--gray-bg);
}

.ip-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.ip-why-item {
    text-align: center;
    padding: 32px 20px;
}

.ip-why-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
}

.ip-why-icon.shield  { background: #fdecea; }
.ip-why-icon.download { background: #e3f2fd; }
.ip-why-icon.support  { background: #fce4ec; }
.ip-why-icon.price    { background: #fdecea; }

.ip-why-item h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
}

.ip-why-item p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ============================================================
   ORDER FORM SECTION
   ============================================================ */
.ip-order {
    padding: 80px 0;
    background: var(--white);
}

.ip-order-inner {
    max-width: 560px;
    margin: 0 auto;
}

.ip-order-notice {
    background: #fffde7;
    border: 1px solid #f9a825;
    border-radius: 8px;
    padding: 14px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #856404;
    margin-bottom: 28px;
}

.ip-order-notice a {
    color: var(--blue);
    text-decoration: underline;
}

.ip-order-notice.ip-product-selected {
    background: #e8f5e9;
    border-color: #27ae60;
    color: #155724;
}

.ip-form-group {
    margin-bottom: 18px;
}

.ip-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 7px;
    color: #333;
}

.ip-form-group label span {
    color: var(--red);
}

.ip-form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    color: #111;
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-family: inherit;
}

.ip-form-control::placeholder { color: #bbb; }

.ip-form-control:focus {
    border-color: var(--blue-btn);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.12);
}

.ip-form-control.error {
    border-color: var(--red);
}

.ip-form-input-wrap {
    position: relative;
}

.ip-form-input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #aaa;
}

.ip-btn-submit {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    margin-top: 8px;
}

.ip-btn-submit:hover {
    background: var(--red-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(204,0,0,0.3);
}

.ip-btn-submit:disabled {
    background: #ddd;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    color: #999;
}

.ip-form-footnote {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 16px;
    line-height: 1.6;
}

.ip-form-footnote a {
    color: var(--blue);
    text-decoration: underline;
}

/* Alert messages */
.ip-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.ip-alert-success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.ip-alert-error {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    color: #b71c1c;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ip-footer {
    background: #0f0f0f;
    color: #ccc;
    padding: 56px 0 0;
}

.ip-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #2a2a2a;
}

.ip-footer-brand .ip-logo-group img {
    filter: brightness(1);
    height: 32px;
}

.ip-footer-brand .ip-logo-sep {
    background: #444;
}

.ip-footer-tagline {
    font-size: 13px;
    color: #888;
    margin-top: 14px;
    line-height: 1.6;
    max-width: 240px;
}

.ip-footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}

.ip-footer-col ul li {
    margin-bottom: 10px;
}

.ip-footer-col ul li a {
    font-size: 14px;
    color: #999;
    transition: color 0.2s;
}

.ip-footer-col ul li a:hover {
    color: var(--white);
}

.ip-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #999;
}

.ip-footer-contact-item .ip-icon {
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ip-footer-bottom {
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.ip-footer-copyright {
    font-size: 13px;
    color: #666;
}

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

.ip-footer-links a {
    font-size: 13px;
    color: #666;
    transition: color 0.2s;
}

.ip-footer-links a:hover {
    color: #bbb;
}

.ip-made-with {
    font-size: 12px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
}

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


/* ============================================================
   HERO LOGOS (groot, gecentreerd boven de headline)
   ============================================================ */
.ip-hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.ip-hero-logos img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
}

.ip-hero-logos-x {
    font-size: 24px;
    color: #bbb;
    font-weight: 300;
    line-height: 1;
}

@media (max-width: 900px) {
    .ip-why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 700px) {
    .ip-nav .ip-nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--border);
        flex-direction: column;
        padding: 16px;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    .ip-nav .ip-nav-links.open {
        display: flex;
    }

    .ip-nav .ip-nav-links a {
        padding: 14px 8px;
        border-bottom: 1px solid var(--border);
        font-size: 16px;
    }

    .ip-hamburger {
        display: flex;
    }

    .ip-nav {
        position: relative;
        gap: 12px;
    }

    .ip-products-grid {
        grid-template-columns: 1fr;
    }

    .ip-why-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .ip-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .ip-hero {
        padding: 56px 0 48px;
    }

    .ip-hero-ctas {
        flex-direction: column;
        gap: 10px;
    }

    .ip-btn-primary, .ip-btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .ip-trust-bar {
        gap: 16px;
    }
}

@media (max-width: 420px) {
    .ip-why-grid {
        grid-template-columns: 1fr;
    }

    .ip-header-inner {
        height: 60px;
    }

    .ip-logo-group img {
        height: 30px;
    }
}
