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

:root {
    --cyan: #20C6B7;
    --graphite: #1F2937;
    --light-grey: #A7B0BD;
    --white: #FFFFFF;
    --light-bg: #F9FAFB;
    --border: #E5E7EB;
    --error: #EF4444;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --radius: 8px;
    --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);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--graphite);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--graphite);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cyan);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--cyan);
}

.nav-link:hover::after {
    width: 100%;
}

.hero {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--graphite);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--light-grey);
    line-height: 1.5;
}

.hero-cta {
    display: inline-block;
    background-color: var(--cyan);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    width: fit-content;
}

.hero-cta:hover {
    background-color: #1AB5A6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.features {
    padding: var(--spacing-2xl) 0;
    background-color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--graphite);
    margin-bottom: var(--spacing-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    padding: var(--spacing-lg);
    background-color: var(--light-bg);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--cyan);
}

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

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--graphite);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--light-grey);
    line-height: 1.5;
}

.contact {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    color: var(--light-grey);
    margin-bottom: var(--spacing-xl);
    font-size: 1.125rem;
}

.contact-form {
    background-color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

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

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

.form-input {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(32, 198, 183, 0.1);
}

.form-input.error {
    border-color: var(--error);
}

.form-error {
    display: block;
    color: var(--error);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    min-height: 20px;
}

.form-submit {
    width: 100%;
    background-color: var(--cyan);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.form-submit:hover {
    background-color: #1AB5A6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-submit:active {
    transform: translateY(0);
}

.footer {
    background-color: var(--graphite);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--cyan);
}

.footer-text {
    margin-bottom: var(--spacing-xs);
    color: var(--light-grey);
}

.footer-text a,
.footer-link {
    color: var(--light-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-text a:hover,
.footer-link:hover {
    color: var(--cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(167, 176, 189, 0.2);
    color: var(--light-grey);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--graphite);
    color: var(--white);
    padding: var(--spacing-md);
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: slideUp 0.5s ease;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-link {
    color: var(--cyan);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.cookie-btn {
    padding: var(--spacing-xs) var(--spacing-md);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-primary {
    background-color: var(--cyan);
    color: var(--white);
}

.cookie-btn-primary:hover {
    background-color: #1AB5A6;
}

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

.cookie-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    padding: var(--spacing-md);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--radius);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--graphite);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--light-grey);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: var(--light-bg);
    color: var(--graphite);
}

.modal-body {
    padding: var(--spacing-md);
}

.modal-body h3 {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--graphite);
    font-weight: 600;
}

.modal-body p,
.modal-body ul {
    margin-bottom: var(--spacing-sm);
    color: var(--light-grey);
    line-height: 1.6;
}

.modal-body ul {
    padding-left: var(--spacing-md);
}

.modal-body a {
    color: var(--cyan);
    text-decoration: none;
}

.modal-body a:hover {
    text-decoration: underline;
}

.thankyou-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #20C6B7 0%, #1F2937 100%);
    padding: var(--spacing-md);
}

.thankyou-card {
    background-color: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius);
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.thankyou-icon {
    margin-bottom: var(--spacing-lg);
}

.checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.checkmark-circle {
    stroke: var(--cyan);
    stroke-width: 2;
    animation: fillCircle 0.6s ease-in-out forwards;
}

.checkmark-check {
    stroke: var(--cyan);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: drawCheck 0.6s ease-in-out 0.3s forwards;
}

.thankyou-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--graphite);
    margin-bottom: var(--spacing-md);
}

.thankyou-message {
    font-size: 1.125rem;
    color: var(--light-grey);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.thankyou-link {
    display: inline-block;
    background-color: var(--cyan);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.thankyou-link:hover {
    background-color: #1AB5A6;
    transform: translateY(-2px);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

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

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fillCircle {
    to {
        stroke-dasharray: 157;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .nav {
        gap: var(--spacing-md);
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: var(--spacing-md);
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .brand {
        font-size: 1.25rem;
    }

    .thankyou-title {
        font-size: 1.75rem;
    }

    .checkmark {
        width: 60px;
        height: 60px;
    }
}
