/* CSS Variables matching cospin-app */
:root {
    --background: #ffffff;
    --foreground: #171717;
    --color-green: #007D77;
    --color-light-green: #00B2A9;
    --color-violett: #4D6EB5;
    --color-light-violett: #6695FA;
    --color-blue: #3CBBE9;
    --color-gold: #FF9F00;
    --color-light-gold: #FEBE54;
    --color-red: #C44B4B;
    --color-light-red: #FA6666;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --border-radius: 5px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--background);
    color: var(--foreground);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: black;
}

.btn-login {
    padding: 10px 24px;
    background: var(--gray-100);
    color: black;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
    font-weight: 500;
    font-size: 16px;
}

.btn-login:hover {
    background: var(--gray-200);
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 24px;
    color: var(--foreground);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    padding: 10px 24px;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Hero Image */
.hero-image {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Section */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--gray-100);
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 24px;
    text-align: center;
    color: var(--foreground);
}

.section-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--foreground);
    margin-bottom: 24px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Problem Box - styled like cospin-app CompanyInfo */
.problem-box {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 24px;
    margin: 32px auto;
    max-width: 900px;
}

.problem-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--foreground);
    text-align: center;
    margin: 0;
}

/* Content Box - styled like cospin-app blocks */
.content-box {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 24px 32px;
    margin: 20px auto;
    max-width: 900px;
    transition: all 0.3s ease;
}

.content-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.content-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--foreground);
    margin: 0 0 20px 0;
    text-align: left;
}

.content-heading {
    font-size: 24px;
    font-weight: bold;
    color: var(--foreground);
    margin: 0 0 20px 0;
    text-align: left;
}

.content-cta {
    margin-top: 28px;
    text-align: center;
}

.content-cta .btn-primary {
    background: var(--color-green);
}

.content-cta .btn-primary:hover {
    background: var(--color-light-green);
}

.content-link {
    color: var(--color-green);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.content-link:hover {
    color: var(--color-light-green);
    border-bottom-color: var(--color-light-green);
}

/* Highlight Box */
.highlight-box {
    background: black;
    color: white;
    padding: 32px;
    border-radius: var(--border-radius);
    margin: 40px auto;
    max-width: 700px;
}

.highlight-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 32px;
    max-width: 800px;
}

.features-list li {
    font-size: 18px;
    padding: 16px 24px;
    margin-bottom: 12px;
    background: white;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-green);
    transition: all 0.3s ease;
}

.section-alt .features-list li {
    background: white;
}

.features-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* CTA Container */
.cta-container {
    text-align: center;
    margin-top: 40px;
}

/* Footer */
.footer {
    background: white;
    border-top: 1px solid var(--gray-200);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-brand .logo-text {
    font-size: 24px;
    font-weight: bold;
    color: black;
}

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

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: black;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

.footer-link:hover {
    background: var(--gray-100);
}

.footer-link .icon {
    width: 20px;
    height: 20px;
}

/* Pricing Section */
.pricing-section {
    background: var(--gray-100);
}

.pricing-section .container {
    max-width: 100%;
    padding: 0 40px;
}

.pricing-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.pricing-title-wrapper .section-title {
    margin-bottom: 0;
}

.pricing-title-discount {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    background: var(--color-green);
    color: white;
}

.pricing-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-end;
    margin-top: 32px;
}

.pricing-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.pricing-card-master {
    border: 2px solid var(--color-violett);
    border-top: none;
}

.pricing-card-corporate {
    border: 2px solid var(--color-green);
}

.pricing-badge {
    background: var(--color-violett);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px 8px 0 0;
}

.pricing-header {
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
}

.pricing-user-limit {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-icon {
    width: 20px;
    height: 20px;
    filter: invert(48%) sepia(15%) saturate(341%) hue-rotate(185deg) brightness(92%) contrast(87%);
}

.pricing-user-limit span {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
}

.pricing-name {
    font-size: 24px;
    font-weight: bold;
    color: black;
    margin-bottom: 16px;
}

.pricing-price-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-price {
    font-size: 28px;
    font-weight: bold;
    color: black;
}

.pricing-discount {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    background: var(--color-green);
    color: white;
}

.pricing-features {
    padding: 24px;
    flex: 1;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--foreground);
}

.pricing-features li.spacing {
    height: 16px;
    margin-bottom: 0;
}

.pricing-features li.summary-line {
    font-size: 14px;
    color: var(--foreground);
}

.check-icon {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(134deg) brightness(95%) contrast(101%);
}

.pricing-cta {
    padding: 0 24px 24px;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
}

.pricing-button-free {
    background: var(--gray-100);
    color: var(--foreground);
}

.pricing-button-free:hover {
    background: var(--gray-200);
}

.pricing-button-advanced {
    background: var(--color-light-green);
    color: white;
}

.pricing-button-advanced:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.pricing-button-master {
    background: var(--color-violett);
    color: white;
}

.pricing-button-master:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.pricing-button-corporate {
    background: var(--color-green);
    color: white;
}

.pricing-button-corporate:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 8px;
    padding: 24px;
    width: 100%;
    max-width: 448px;
    margin: 0 24px;
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--foreground);
}

.modal-body {
    text-align: center;
    margin-bottom: 24px;
}

.modal-body p {
    color: var(--foreground);
    margin-bottom: 8px;
    line-height: 1.6;
}

.modal-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.modal-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    transition: opacity 0.3s ease;
}

.modal-icon-link:hover {
    opacity: 0.8;
}

.modal-icon {
    width: 48px;
    height: 48px;
}

.modal-footer {
    text-align: center;
}

.modal-footer p {
    color: var(--gray-500);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-text {
        font-size: 16px;
    }

    .highlight-title {
        font-size: 22px;
    }

    .features-list li {
        font-size: 16px;
    }

    .btn-primary {
        padding: 10px 24px;
        font-size: 16px;
    }

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

    .footer-links {
        flex-direction: column;
        width: 100%;
    }

    .footer-link {
        justify-content: center;
    }

    .pricing-grid {
        flex-wrap: wrap;
        align-items: center;
        gap: 24px;
    }

    .pricing-card {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: row;
    }

    .logo-text {
        font-size: 20px;
    }

    .hero {
        padding: 40px 0 30px;
    }

    .hero-title {
        font-size: 24px;
    }

    .btn-primary {
        width: 100%;
        max-width: 300px;
    }
}
