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

:root {
    --cream: #faf6f0;
    --warm-white: #fff9f2;
    --charcoal: #1a1612;
    --espresso: #2c1f14;
    --copper: #b8722a;
    --copper-light: #d4924e;
    --copper-pale: #f0ddc4;
    --sage: #5a6b52;
    --muted: #7a6e65;
    --border: rgba(184, 114, 42, 0.18);
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "DM Sans", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 5%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(250, 246, 240, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--espresso);
    letter-spacing: 0.04em;
    text-decoration: none;
}

.nav-logo span {
    color: var(--copper);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--copper) !important;
    color: white !important;
    padding: 0.5rem 1.4rem;
    border-radius: 100px;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    transition:
        background 0.2s,
        transform 0.15s !important;
}

.nav-cta:hover {
    background: var(--espresso) !important;
    transform: translateY(-1px);
}

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

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--espresso);
    border-radius: 2px;
    transition: all 0.3s;
}

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 5% 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 70% 40%, rgba(184, 114, 42, 0.1) 0%, transparent 70%), radial-gradient(ellipse 50% 50% at 10% 80%, rgba(90, 107, 82, 0.07) 0%, transparent 60%), var(--cream);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: repeating-linear-gradient(45deg, var(--espresso) 0, var(--espresso) 1px, transparent 0, transparent 50%);
    background-size: 24px 24px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--copper-pale);
    color: var(--copper);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-tag::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background: var(--copper);
    border-radius: 50%;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 500;
    line-height: 1.05;
    color: var(--espresso);
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--copper);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--espresso);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(44, 31, 20, 0.15);
}

.btn-primary:hover {
    background: var(--copper);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(184, 114, 42, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--espresso);
    padding: 0.9rem 2rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid var(--border);
    transition:
        border-color 0.2s,
        color 0.2s,
        transform 0.15s;
}

.btn-secondary:hover {
    border-color: var(--copper);
    color: var(--copper);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-window {
    background: #fff;
    border-radius: 14px;
    box-shadow:
        0 30px 80px rgba(44, 31, 20, 0.18),
        0 8px 24px rgba(44, 31, 20, 0.08);
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    animation: floatUp 0.9s ease-out both;
}

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mockup-venster {
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    max-width: 650px;
    animation: floatUp 0.9s ease-out both;
    line-height: 0;
}

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

.hero-decoration {
    position: absolute;
    top: -20px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 114, 42, 0.15), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

section {
    padding: 100px 5%;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 1rem;
}

.section-label::before {
    content: "";
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--copper);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--espresso);
    margin-bottom: 1.25rem;
}

.section-title em {
    font-style: italic;
    color: var(--copper);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.8;
}

#stats {
    padding: 0;
    background: var(--espresso);
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--copper-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    letter-spacing: 0.06em;
}

#features {
    background: var(--warm-white);
}

.features-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
    margin-bottom: 5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 30px rgba(44, 31, 20, 0.06);
}

.feature-card {
    background: var(--warm-white);
    padding: 2.5rem;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: white;
}

.feature-card:hover .feature-icon {
    background: var(--copper);
    color: white;
    transform: scale(1.05);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--copper-pale);
    color: var(--copper);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    transition:
        background 0.3s,
        color 0.3s,
        transform 0.3s;
}

.feature-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--espresso);
    margin-bottom: 0.75rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.75;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    font-size: 0.85rem;
    color: var(--muted);
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--copper);
    font-size: 0.75rem;
}

#how {
    background: var(--cream);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.step {
    position: relative;
    padding: 2rem 1.5rem;
    border-top: 2px solid var(--border);
    transition: border-color 0.3s;
}

.step:hover {
    border-color: var(--copper);
}

.step:hover .step-num {
    color: var(--copper);
}

.step-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--copper-pale);
    line-height: 1;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--espresso);
    margin-bottom: 0.6rem;
}

.step-text {
    font-size: 0.87rem;
    color: var(--muted);
    line-height: 1.7;
}

#modules {
    background: var(--warm-white);
}

.modules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.module-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    border-radius: 16px;
    background: white;
    border: 1px solid var(--border);
    transition:
        box-shadow 0.3s,
        transform 0.3s;
}

.module-item:hover {
    box-shadow: 0 12px 40px rgba(184, 114, 42, 0.1);
    transform: translateY(-3px);
}

.module-icon-wrap {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: var(--espresso);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.module-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--espresso);
    margin-bottom: 0.5rem;
}

.module-content p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
}

#integration {
    background: var(--espresso);
    position: relative;
    overflow: hidden;
}

#integration::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 114, 42, 0.12), transparent 70%);
    pointer-events: none;
}

.integration-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.integration-text .section-title {
    color: white;
}

.integration-text .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.integration-checks {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.integration-checks li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.check-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: var(--copper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: white;
}

.integration-visual {
    position: relative;
}

.int-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    color: white;
}

.int-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--copper-light);
    margin-bottom: 1.5rem;
}

.int-snippet {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1.25rem;
    font-family: "Courier New", monospace;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.int-snippet .kw {
    color: var(--copper-light);
}
.int-snippet .str {
    color: #90c987;
}
.int-snippet .comment {
    color: rgba(255, 255, 255, 0.3);
}

#pricing {
    background: var(--cream);
    text-align: center;
}

.pricing-header {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(44, 31, 20, 0.1);
    border: 1px solid var(--border);
    text-align: left;
}

.pricing-badge {
    display: inline-block;
    background: var(--copper-pale);
    color: var(--copper);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.pricing-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--espresso);
    margin-bottom: 0.5rem;
}

.pricing-sub {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.pricing-features li .check-icon {
    background: var(--sage);
}

.pricing-cta {
    display: block;
    text-align: center;
    background: var(--espresso);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.pricing-cta:hover {
    background: var(--copper);
}

.pricing-note {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.82rem;
    color: var(--muted);
}

#contact {
    background: var(--warm-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: white;
    margin-bottom: 1rem;
    text-decoration: none;
    color: inherit;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.contact-item:hover {
    border-color: var(--copper);
    box-shadow: 0 4px 20px rgba(184, 114, 42, 0.1);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--copper-pale);
    color: var(--copper);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-detail span {
    font-size: 0.97rem;
    color: var(--espresso);
    font-weight: 500;
}

.contact-form-wrap {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(44, 31, 20, 0.07);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--espresso);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-field label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.form-field input,
.form-field textarea,
.form-field select {
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--charcoal);
    background: var(--cream);
    outline: none;
    transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--copper);
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    padding: 0.9rem;
    background: var(--espresso);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit:hover {
    background: var(--copper);
}

footer {
    background: var(--charcoal);
    padding: 3rem 5%;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

.footer-logo span {
    color: var(--copper-light);
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-copy a {
    color: var(--copper-light);
    text-decoration: none;
}

.footer-copy a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--copper-light);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}
.reveal-delay-2 {
    transition-delay: 0.2s;
}
.reveal-delay-3 {
    transition-delay: 0.3s;
}
.reveal-delay-4 {
    transition-delay: 0.4s;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        padding: 2rem 5%;
        border-bottom: 1px solid var(--border);
        gap: 1.5rem;
        z-index: 99;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-visual {
        order: -1;
    }
    .features-header {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
    .modules-grid {
        grid-template-columns: 1fr;
    }
    .integration-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .stats-inner {
        grid-template-columns: 1fr;
    }
    .stat-item:not(:last-child)::after {
        display: none;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 540px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
}
