/* CSS Variables - Design System */
:root {
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(213, 35%, 25%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(213, 35%, 25%);
    --primary: hsl(213, 35%, 38%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(210, 40%, 55%);
    --secondary-foreground: hsl(0, 0%, 100%);
    --muted: hsl(210, 25%, 95%);
    --muted-foreground: hsl(213, 20%, 45%);
    --accent: hsl(213, 35%, 50%);
    --border: hsl(210, 25%, 90%);
    --input: hsl(210, 25%, 90%);
    --ring: hsl(213, 35%, 38%);
    --radius: 1rem;
    --gradient-hero: linear-gradient(135deg, hsl(213, 35%, 38%) 0%, hsl(210, 40%, 55%) 100%);
}

/* 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;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    min-height: 100vh;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background-color: transparent;
}

.nav.scrolled {
    background-color: hsla(0, 0%, 100%, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px hsla(213, 35%, 38%, 0.15);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 2.5rem;
    width: 2.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    background: none;
    border: none;
    color: var(--foreground);
    opacity: 0.8;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary);
    opacity: 1;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-inner {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

.hero-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.heart-icon {
    width: 5rem;
    height: 5rem;
    color: var(--primary);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

.hero-counter {
    margin-bottom: 3rem;
    animation: counter 2s ease-out;
}

.counter-box {
    display: inline-block;
    background: linear-gradient(to right, hsla(213, 35%, 38%, 0.1), hsla(210, 40%, 55%, 0.1));
    border-radius: 9999px;
    padding: 1rem 2rem;
    backdrop-filter: blur(4px);
    border: 1px solid hsla(213, 35%, 38%, 0.2);
}

.counter-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.counter-value {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-form {
    max-width: 28rem;
    margin: 0 auto;
    display: flex;
    gap: 0.75rem;
}

.email-input {
    flex: 1;
    height: 3rem;
    background-color: hsla(0, 0%, 100%, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid hsla(213, 35%, 38%, 0.3);
    border-radius: 0.5rem;
    padding: 0 1rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-button {
    height: 3rem;
    padding: 0 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
    opacity: 0.9;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background-color: hsla(210, 25%, 95%, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 0.6s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--card) 0%, hsla(213, 35%, 38%, 0.05) 100%);
    border: 1px solid hsla(213, 35%, 38%, 0.1);
    transition: all 0.3s ease;
    animation: scaleIn 0.3s ease-out;
}

.feature-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-0.5rem);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--muted-foreground);
    line-height: 1.625;
}

/* Safety Section */
.safety-section {
    padding: 6rem 0;
}

.safety-content {
    max-width: 64rem;
    margin: 0 auto;
}

.safety-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.safety-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, hsla(210, 25%, 95%, 0.5) 0%, hsla(213, 35%, 38%, 0.05) 100%);
    border: 1px solid hsla(213, 35%, 38%, 0.1);
    transition: all 0.3s ease;
    animation: scaleIn 0.3s ease-out;
}

.safety-item:hover {
    border-color: hsla(213, 35%, 38%, 0.3);
}

.safety-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-color: hsla(213, 35%, 38%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.safety-title {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.safety-description {
    color: var(--muted-foreground);
}

.safety-note {
    margin-top: 3rem;
    padding: 2rem;
    border-radius: 1rem;
    background: linear-gradient(to right, hsla(213, 35%, 38%, 0.1), hsla(210, 40%, 55%, 0.1));
    border: 1px solid hsla(213, 35%, 38%, 0.2);
    text-align: center;
}

.safety-note p {
    font-size: 1.125rem;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background-color: hsla(210, 25%, 95%, 0.3);
}

.faq-content {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid hsla(213, 35%, 38%, 0.1);
    border-radius: 0.75rem;
    padding: 0 1.5rem;
    background-color: var(--card);
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: hsla(213, 35%, 38%, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.faq-question:hover {
    text-decoration: none;
}

.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.2s;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding-bottom: 1.5rem;
    color: var(--muted-foreground);
    line-height: 1.625;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, hsla(213, 35%, 38%, 0.05) 0%, hsla(210, 40%, 55%, 0.05) 100%);
    border-top: 1px solid hsla(213, 35%, 38%, 0.1);
}

.footer-content {
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    height: 2rem;
    width: 2rem;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    background: none;
    border: none;
    color: var(--muted-foreground);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
    text-align: left;
    padding: 0;
    font-size: 1rem;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    padding-top: 1rem;
}

.footer-heading {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-social:hover {
    color: var(--primary);
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s;
}

.footer-social:hover .social-icon {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.social-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid hsla(213, 35%, 38%, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-heart {
    color: var(--primary);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 100;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.toast-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

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

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes counter {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

