/*
Theme Name: EZ does IT
Theme URI: https://grouply.nl
Author: EZ does IT BV
Author URI: https://grouply.nl
Description: Multi-product company theme — dark, clean, scaleable
Version: 1.0.0
License: GNU General Public License v2 or later
Tags: dark, minimal, multi-product, business
*/

/* ─── Variables ─── */
:root {
    --bg:           #08080D;
    --bg-surface:   #0E0E17;
    --bg-card:      #13131E;
    --bg-card-hover:#17172A;
    --border:       #22222F;
    --border-accent:rgba(91,127,255,0.35);
    --text:         #EEEEF8;
    --text-sec:     #7676A0;
    --text-muted:   #44445A;
    --accent:       #5B7FFF;
    --accent-light: #8AABFF;
    --accent-glow:  rgba(91,127,255,0.12);
    --teal:         #00C9A7;
    --font-d:       'Syne', sans-serif;
    --font-b:       'DM Sans', sans-serif;
    --r:            16px;
    --r-sm:          8px;
    --ease:         cubic-bezier(0.25,0.46,0.45,0.94);
    --nav-h:        72px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-b);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.overlay-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── Typography ─── */
h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem);  font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem);  font-weight: 600; }
p  { color: var(--text-sec); line-height: 1.75; }

/* ─── Layout helpers ─── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ─── Navigation ─── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 900;
    display: flex;
    align-items: center;
    padding: 0 28px;
    transition: background 0.4s var(--ease), border-color 0.4s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(8,8,13,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
}
/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: var(--r-sm);
    transition: background 0.2s;
    flex-shrink: 0;
}
.hamburger:hover { background: var(--bg-card); }
.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.35s var(--ease), opacity 0.2s;
    transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Site logo */
.site-logo {
    font-family: var(--font-d);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    color: var(--text);
}
.site-logo span { color: var(--accent); }

.header-cta {
    margin-left: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    transition: color 0.2s;
}
.header-cta:hover { color: #fff; }

/* ─── Nav Overlay ─── */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(4,4,8,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
}
.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.nav-panel {
    position: absolute;
    top: 0; left: 0;
    width: min(380px, 90vw);
    height: 100%;
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease);
}
.nav-overlay.active .nav-panel { transform: translateX(0); }

.nav-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
}
.overlay-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-sec);
    transition: background 0.2s, color 0.2s;
    border: 1px solid var(--border);
}
.overlay-close:hover { background: var(--border); color: var(--text); }

.nav-links { flex: 1; }
.nav-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    font-family: var(--font-d);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: color 0.2s, padding-left 0.2s;
}
.nav-link:last-child { border-bottom: none; }
.nav-link:hover { color: var(--accent); padding-left: 6px; }
.nav-link-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.nav-link:hover .nav-link-dot { opacity: 1; }
.nav-sub {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.nav-sub-link {
    display: block;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-sec);
    transition: color 0.2s;
}
.nav-sub-link:hover { color: var(--text); }

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    background:
        radial-gradient(ellipse at 15% 60%, rgba(91,127,255,0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 25%, rgba(0,201,167,0.05) 0%, transparent 50%),
        var(--bg);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,0.018)'/%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-light);
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 28px;
}
.hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
}
.hero h1 { margin-bottom: 24px; color: var(--text); }
.hero h1 em { font-style: normal; color: var(--accent-light); }
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-sec);
    max-width: 480px;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--r-sm);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s var(--ease);
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91,127,255,0.35);
}
.btn-ghost {
    border: 1px solid var(--border);
    color: var(--text);
    background: transparent;
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-2px);
}
.btn-arrow::after { content: '→'; }

/* Hero visual */
.hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 28px;
    transition: transform 0.35s var(--ease), border-color 0.25s;
    cursor: default;
}
.hero-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
}
.hero-card:nth-child(2) { margin-top: 32px; }
.hero-card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.hero-card-icon.grouply { background: linear-gradient(135deg,#5B7FFF20,#5B7FFF40); }
.hero-card-icon.timertap { background: linear-gradient(135deg,#00C9A720,#00C9A740); }
.hero-card-name {
    font-family: var(--font-d);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 6px;
}
.hero-card-tagline {
    font-size: 0.8rem;
    color: var(--text-sec);
    line-height: 1.5;
}

/* ─── Products Section ─── */
.products-section { background: var(--bg-surface); }
.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s var(--ease), border-color 0.25s, box-shadow 0.35s;
    display: flex;
    flex-direction: column;
}
.product-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--r) var(--r) 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}
.product-card.grouply::after  { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.product-card.timertap::after { background: linear-gradient(90deg, var(--teal), #00E5C0); }
.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.product-card:hover::after { opacity: 1; }

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 24px;
    align-self: flex-start;
}
.product-badge.grouply  { background: rgba(91,127,255,0.12); color: var(--accent-light); border: 1px solid rgba(91,127,255,0.25); }
.product-badge.timertap { background: rgba(0,201,167,0.1);   color: var(--teal);          border: 1px solid rgba(0,201,167,0.25); }

.product-icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}
.product-icon.grouply  { background: linear-gradient(135deg,rgba(91,127,255,0.15),rgba(91,127,255,0.3)); }
.product-icon.timertap { background: linear-gradient(135deg,rgba(0,201,167,0.12),rgba(0,201,167,0.28)); }

.product-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}
.product-card p {
    font-size: 1rem;
    color: var(--text-sec);
    flex: 1;
    margin-bottom: 32px;
}
.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: gap 0.2s, color 0.2s;
    color: var(--text);
}
.product-card.grouply  .product-link:hover { color: var(--accent-light); }
.product-card.timertap .product-link:hover { color: var(--teal); }
.product-link:hover { gap: 14px; }

/* ─── About teaser ─── */
.about-section {
    background:
        radial-gradient(ellipse at 80% 50%, rgba(91,127,255,0.06) 0%, transparent 55%),
        var(--bg);
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 16px;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p  { margin-bottom: 28px; }
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.stat-item {}
.stat-num {
    font-family: var(--font-d);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--text-sec); }

/* ─── CTA banner ─── */
.cta-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p  { margin-bottom: 36px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ─── Footer ─── */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}
.footer-brand p {
    font-size: 0.9rem;
    margin-top: 12px;
    max-width: 240px;
}
.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-sec);
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-muted);
}
.footer-bottom a { color: var(--text-sec); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--text); }

/* ─── Product pages ─── */
.product-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.product-hero.grouply {
    background:
        radial-gradient(ellipse at 50% 70%, rgba(91,127,255,0.12) 0%, transparent 60%),
        var(--bg);
}
.product-hero.timertap {
    background:
        radial-gradient(ellipse at 50% 70%, rgba(0,201,167,0.1) 0%, transparent 60%),
        var(--bg);
}
.product-hero-inner { max-width: 760px; margin: 0 auto; }
.product-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 28px;
}
.product-hero-badge.grouply  { background: rgba(91,127,255,0.12); color: var(--accent-light); border: 1px solid rgba(91,127,255,0.3); }
.product-hero-badge.timertap { background: rgba(0,201,167,0.1);   color: var(--teal);          border: 1px solid rgba(0,201,167,0.3); }
.product-hero h1 { margin-bottom: 20px; }
.product-hero .desc { font-size: 1.15rem; max-width: 560px; margin: 0 auto 40px; }

/* Features grid */
.features-section { background: var(--bg-surface); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 32px;
    transition: transform 0.3s var(--ease), border-color 0.25s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
}
.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }

/* About page */
.about-hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    background: radial-gradient(ellipse at 30% 60%, rgba(91,127,255,0.08) 0%, transparent 55%), var(--bg);
    text-align: center;
}
.about-hero-inner { max-width: 700px; margin: 0 auto; }
.about-hero h1 { margin-bottom: 20px; }
.mission-section { background: var(--bg-surface); }
.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.mission-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 36px;
}
.mission-card h3 { margin-bottom: 12px; }

/* Contact page */
.contact-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    background: radial-gradient(ellipse at 70% 50%, rgba(91,127,255,0.07) 0%, transparent 50%), var(--bg);
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-sec);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text);
    font-family: var(--font-b);
    font-size: 0.95rem;
    padding: 12px 16px;
    transition: border-color 0.2s;
    outline: none;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-submit {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--r-sm);
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-b);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.form-submit:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91,127,255,0.3);
}
.contact-info h3 { margin-bottom: 12px; }
.contact-info p { margin-bottom: 32px; }
.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-sec);
}
.contact-detail-icon { font-size: 1.1rem; }

/* ─── Animations ─── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .hero-inner       { grid-template-columns: 1fr; }
    .hero-visual      { display: none; }
    .about-inner      { grid-template-columns: 1fr; gap: 48px; }
    .footer-inner     { grid-template-columns: 1fr 1fr; }
    .features-grid    { grid-template-columns: 1fr; }
    .mission-grid     { grid-template-columns: 1fr; }
    .contact-inner    { grid-template-columns: 1fr; }
    .footer-bottom    { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 600px) {
    .footer-inner     { grid-template-columns: 1fr; }
    .hero-actions     { flex-direction: column; }
    .about-stats      { grid-template-columns: 1fr; }
    h1 { letter-spacing: -0.015em; }
}
