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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: hsl(0, 0%, 4%);
    color: hsl(0, 0%, 98%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.text-primary {
    color: hsl(142, 69%, 58%);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 1rem;
    background: linear-gradient(135deg, hsla(142, 69%, 58%, 0.1), hsla(142, 69%, 58%, 0.05));
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeIn 0.8s ease-in;
}

.hero-description {
    font-size: 1.25rem;
    color: hsl(0, 0%, 65%);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-image {
    width: 80%;
    border-radius: 4rem;
    overflow: hidden;
    box-shadow: 0 0 40px hsla(142, 69%, 58%, 0.3);
}

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

.app-icon {
    border-radius: 15%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-text a {
    display: inline-block;
    text-decoration: none;
}

.hero-text a:hover .app-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.footer-brand a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand a:hover .footer-icon {
    background-color: hsla(142, 69%, 58%, 0.2);
    transform: scale(1.05);
}

/* Buttons */
.btn-primary,
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: hsl(142, 69%, 58%);
    color: hsl(0, 0%, 4%);
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 40px hsla(142, 69%, 58%, 0.3);
}

.btn-primary:hover,
.btn-cta:hover {
    background-color: hsl(142, 69%, 52%);
    box-shadow: 0 0 60px hsla(142, 69%, 58%, 0.5);
    transform: translateY(-2px);
}

.icon {
    width: 24px;
    height: 24px;
}

/* Features Section */
.features {
    padding: 6rem 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: hsl(0, 0%, 65%);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background-color: hsl(0, 0%, 8%);
    border: 1px solid hsl(141, 54%, 23%);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: hsl(142, 69%, 58%);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px hsla(142, 69%, 58%, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: hsla(142, 69%, 58%, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    stroke: hsl(142, 69%, 58%);
}

.feature-card p {
    color: hsl(0, 0%, 65%);
    line-height: 1.7;
}

/* Widget Showcase Section */
.widget-showcase {
    padding: 6rem 1rem;
    background-color: hsl(0, 0%, 8%);
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-text h2 {
    margin-bottom: 1.5rem;
}

.showcase-text p {
    font-size: 1.125rem;
    color: hsl(0, 0%, 65%);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.showcase-features {
    list-style: none;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: hsl(0, 0%, 98%);
}

.check-icon {
    stroke: hsl(142, 69%, 58%);
    flex-shrink: 0;
}

.showcase-image {
    /* border-radius: 1.5rem; */
    border-radius: min(10vw, 10vh);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

/* CTA Section */
.cta {
    padding: 6rem 1rem;
}

.cta-content {
    background-color: hsl(0, 0%, 8%);
    border: 1px solid hsla(142, 69%, 58%, 0.2);
    border-radius: 2rem;
    padding: 4rem;
    text-align: center;
    position: relative;
}

.cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, hsla(142, 69%, 58%, 0.1) 0%, hsla(142, 69%, 58%, 0.05) 50%, hsla(142, 69%, 58%, 0.1) 100%);
    border-radius: 2rem;
    filter: blur(60px);
    z-index: -1;
}

.cta-content h2 {
    font-size: 3rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: hsl(0, 0%, 65%);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
}

/* Footer */
.footer {
    border-top: 1px solid hsl(0, 0%, 20%);
    padding: 3rem 1rem;
}

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

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

.footer-icon {
    background-color: hsla(142, 69%, 58%, 0.1);
    border-radius: 0.75rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-icon svg {
    stroke: hsl(142, 69%, 58%);
}

.footer-brand span {
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-text {
    text-align: right;
    color: hsl(0, 0%, 65%);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: hsla(0, 0%, 100%, 0.05);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 0.5rem;
    color: hsl(0, 0%, 70%);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.social-link:hover {
    background-color: hsl(142, 69%, 58%);
    color: hsl(0, 0%, 100%);
    border-color: hsl(142, 69%, 58%);
    transform: translateY(-2px);
}

/* Privacy Page Styles */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: hsla(0, 0%, 100%, 0.02);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.privacy-section h2 {
    color: hsl(142, 69%, 58%);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.privacy-section p {
    color: hsl(0, 0%, 80%);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section a {
    color: hsl(142, 69%, 58%);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: hsl(142, 69%, 68%);
    text-decoration: underline;
}

/* Simple text links */
a {
    color: hsl(0, 0%, 100%);
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: hsl(142, 69%, 58%);
}

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

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

    h2 {
        font-size: 1.875rem;
    }

    .hero-content,
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        min-height: auto;
        padding: 4rem 1rem;
    }

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

    .cta-content {
        padding: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

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

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

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

    .privacy-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .privacy-section h2 {
        font-size: 1.25rem;
    }
}