/* Dropin Website Styles */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #000000;
    background-color: #FFFFFF;
}

a {
    color: #007AFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

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

.container--narrow {
    max-width: 800px;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid #E5E5E5;
}

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

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
}

.header__logo:hover {
    text-decoration: none;
}

.header__logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header__nav a {
    color: #666666;
    font-size: 0.9rem;
}

.header__nav a:hover {
    color: #000000;
}

.lang-switch {
    padding: 6px 12px;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #666666;
}

.lang-switch:hover {
    border-color: #007AFF;
    color: #007AFF;
    text-decoration: none;
}

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

.hero__tagline {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: #666666;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta {
    margin-bottom: 3rem;
}

.app-store-badge {
    height: 54px;
    transition: opacity 0.2s;
}

.app-store-badge:hover {
    opacity: 0.8;
}

.hero__screenshot {
    max-width: 800px;
    margin: 0 auto;
}

.hero__screenshot img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #FAFAFA;
}

.features__title {
    text-align: center;
    margin-bottom: 4rem;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E5E5E5;
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card__desc {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
}

.screenshots__title {
    text-align: center;
    margin-bottom: 4rem;
}

.screenshots__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.screenshots__grid img {
    border-radius: 12px;
    border: 1px solid #E5E5E5;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background-color: #FAFAFA;
}

.pricing__title {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    padding: 40px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E5E5E5;
}

.pricing-card--featured {
    border-color: #007AFF;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.1);
}

.pricing-card__name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-card__price {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pricing-card__price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666666;
}

.pricing-card__features {
    list-style: none;
}

.pricing-card__features li {
    padding: 8px 0;
    color: #666666;
    font-size: 0.95rem;
}

.pricing-card__features li::before {
    content: "✓";
    color: #007AFF;
    font-weight: 600;
    margin-right: 8px;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid #E5E5E5;
}

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

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    color: #666666;
    font-size: 0.9rem;
}

.footer__links a:hover {
    color: #000000;
}

.footer__copyright {
    color: #666666;
    font-size: 0.85rem;
}

/* Legal Pages */
.legal {
    padding: 60px 0;
}

.legal h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal__updated {
    color: #666666;
    margin-bottom: 3rem;
}

.legal h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal p, .legal li {
    color: #333333;
}

.legal ul, .legal ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal li {
    margin-bottom: 0.5rem;
}

/* Support Page */
.support {
    padding: 60px 0;
}

.support h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.faq-item {
    border-bottom: 1px solid #E5E5E5;
    padding: 24px 0;
}

.faq-item:first-child {
    border-top: 1px solid #E5E5E5;
}

.faq-item__question {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.faq-item__answer {
    color: #666666;
    line-height: 1.6;
}

.support__contact {
    margin-top: 3rem;
    padding: 32px;
    background: #FAFAFA;
    border-radius: 12px;
}

.support__contact h2 {
    margin-bottom: 1rem;
}

/* Changelog Page */
.changelog {
    padding: 60px 0;
}

.changelog h1 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.changelog-item {
    padding: 32px 0;
    border-bottom: 1px solid #E5E5E5;
}

.changelog-item:first-child {
    padding-top: 0;
}

.changelog-item__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1rem;
}

.changelog-item__version {
    font-size: 1.25rem;
    font-weight: 600;
}

.changelog-item__date {
    color: #666666;
    font-size: 0.9rem;
}

.changelog-item__changes {
    list-style: disc;
    margin-left: 1.5rem;
    color: #333333;
}

.changelog-item__changes li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero__tagline {
        font-size: 2.25rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .features, .screenshots, .pricing {
        padding: 60px 0;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .feature-card {
        padding: 24px 16px;
    }

    .screenshots__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .footer__inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .header__nav {
        gap: 16px;
    }

    .legal h1, .support h1, .changelog h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .features__grid {
        grid-template-columns: 1fr;
    }

    .header__inner {
        flex-direction: column;
        gap: 16px;
    }
}
