/* ===== CSS Variables ===== */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    white-space: nowrap;
}

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

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--ghost {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn--ghost:hover {
    background-color: var(--bg-light);
    border-color: var(--text-dark);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===== Header & Navigation ===== */
.header {
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

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

.nav__brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo {
    color: inherit;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

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

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

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

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

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero__actions {
    margin-bottom: 1rem;
}

.hero__note {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ===== Section Styles ===== */
.section {
    padding: 5rem 0;
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.section__cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== How It Works Section ===== */
.how-it-works {
    background-color: var(--bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step__description {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Features Section ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature:hover {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature__description {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Event Essentials ===== */
.event-essentials {
    background-color: var(--bg-light);
}

.essentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.essential {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.essential__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.essential__description {
    color: var(--text-light);
}

/* ===== Privacy & Security ===== */
.privacy-security {
    background-color: var(--bg-light);
}

/* ===== Invite Section ===== */
.invite-section {
    background-color: var(--bg-white);
}

.inspiration-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.inspiration-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.inspiration-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.inspiration-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.inspiration-card__title {
    padding: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
}

/* ===== In Action Section ===== */
.in-action {
    background-color: var(--bg-light);
}

.event-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.event-type {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.event-type:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.event-type__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.event-type__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ===== Photo Wall Section ===== */
.photo-wall {
    background-color: var(--bg-white);
}

.photo-wall__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.photo-wall__text {
    padding: 2rem;
}

.photo-wall__image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ===== Free Trial Section ===== */
.free-trial {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.free-trial__content {
    max-width: 700px;
    margin: 0 auto;
}

.free-trial .section__title,
.free-trial .section__subtitle {
    color: white;
}

.free-trial__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.free-trial__features {
    display: flex;
    gap: 4rem;
    justify-content: center;
    margin-top: 3rem;
}

.free-trial__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.free-trial__number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.free-trial__label {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* ===== Templates Section ===== */
.templates {
    background-color: var(--bg-light);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
}

.template-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.template-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.template-card__title {
    padding: 0.75rem;
    font-size: 0.75rem;
    text-align: center;
    color: var(--text-dark);
}

/* ===== Help Section ===== */
.help-section {
    background-color: var(--bg-white);
    text-align: center;
}

.help-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FAQ Section ===== */
.faq {
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

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

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

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

/* ===== Footer ===== */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer__brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer__brand p {
    color: rgba(255, 255, 255, 0.6);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer__column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer__column ul {
    list-style: none;
}

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

.footer__column a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer__column a:hover {
    color: white;
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .nav__menu,
    .nav__actions {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .photo-wall__content {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 640px) {
    .hero {
        padding: 4rem 0;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section__title {
        font-size: 1.75rem;
    }

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

    .free-trial__features {
        flex-direction: column;
        gap: 2rem;
    }
}
