/*
Theme Name: Nea Invitation
Theme URI: https://neainvitation.id/
Author: Nea
Description: Elegant digital invitation landing page.
Version: 1.0
Text Domain: nea-invitation
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --color-primary: #EABF5E; /* Gold */
    --color-primary-dark: #C49F4B;
    --color-bg-dark: #1A1325;
    --color-bg-darker: #130E1B;
    --color-bg-light: #FDFBF7;
    --color-white: #FFFFFF;
    --color-text-dark: #333333;
    --color-text-light: #A09BA8;
    --color-text-muted: #666666;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h2.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-text-dark);
}

p.section-subtitle {
    text-align: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #F8E298 0%, #EABF5E 100%);
    color: #4A3A15;
    box-shadow: 0 4px 15px rgba(234, 191, 94, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 191, 94, 0.4);
    background: linear-gradient(135deg, #FDF0B7 0%, #F8E298 100%);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-text-dark);
    border-color: #E2E8F0;
}

.btn-outline-dark:hover {
    border-color: var(--color-text-dark);
}

/* Top Bar / Header */
.site-header {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: background-color 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(19, 14, 27, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

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

.logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}

.main-nav a:hover, .main-nav a.active {
    opacity: 1;
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 101;
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at 70% 50%, #3B2A56 0%, #130E1B 60%);
    padding: 160px 0 100px;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--color-bg-light) 0%, transparent 100%);
}

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

.hero-text-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #E2E8F0;
    margin-bottom: 24px;
    gap: 8px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--color-primary);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-avatars {
    display: flex;
}

.hero-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-bg-darker);
    margin-left: -12px;
}
.hero-avatars img:first-child {
    margin-left: 0;
}

.hero-social-proof-text p {
    font-size: 0.9rem;
    font-weight: 600;
}
.hero-social-proof-text span {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.hero-visual {
    position: relative;
}

.hero-phone {
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.floating-card .icon {
    width: 36px;
    height: 36px;
    background: rgba(234, 191, 94, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.floating-card h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-white);
    margin-bottom: 2px;
}

.floating-card p {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.fc-1 { top: 5%; right: -30%; animation-delay: 0s; }
.fc-2 { top: 25%; right: -45%; animation-delay: 1s; }
.fc-3 { top: 45%; right: -35%; animation-delay: 2s; }
.fc-4 { top: 65%; right: -20%; animation-delay: 3s; }
.fc-5 { top: 85%; right: -5%; animation-delay: 4s; }

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Templates Section */
.templates {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.template-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.template-img {
    position: relative;
    padding-top: 150%;
}

.template-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #FFF9E6;
    color: #B48811;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

.template-info {
    padding: 16px;
    text-align: center;
}

.template-info h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 4px;
}

.template-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--color-white);
}

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

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: #E2E8F0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #FDF4E1;
    color: var(--color-primary-dark);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.toggle-bg {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    padding: 4px;
    border-radius: 50px;
    display: inline-flex;
}

.toggle-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: var(--transition);
}

.toggle-btn.active {
    background: #FFF4E5;
    color: var(--color-primary-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.price-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    text-align: center;
    transition: var(--transition);
}

.price-card.premium {
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(234, 191, 94, 0.1);
    transform: scale(1.05);
    background: linear-gradient(to bottom, #FFFCF5, var(--color-white));
}

.best-seller {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price-card h3 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.price-card .desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.price span {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 400;
    margin-right: 4px;
}

.price .period {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-left: 4px;
}

.price-card ul {
    text-align: left;
    margin: 30px 0;
}

.price-card ul li {
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-card ul li i {
    color: var(--color-primary-dark);
}

.price-card .btn {
    width: 100%;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--color-white);
}

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

.testi-card {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #F1F5F9;
}

.testi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-author h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 2px;
}

.stars {
    color: #FFB800;
    font-size: 0.8rem;
}

.wa-icon {
    color: #25D366;
    font-size: 1.5rem;
}

.testi-card p {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    margin-bottom: 12px;
}

.testi-time {
    font-size: 0.75rem;
    color: #94A3B8;
    text-align: right;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

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

.faq-item {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
}

.faq-question i {
    color: var(--color-text-muted);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    display: none;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA Section */
.cta {
    padding: 40px 0 80px;
    background-color: var(--color-bg-light);
}

.cta-box {
    background: radial-gradient(circle at 30% 50%, #4A356A 0%, #2A1D3D 100%);
    border-radius: 24px;
    padding: 60px 40px;
    color: var(--color-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before, .cta-box::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.cta-box::before {
    left: -50px;
    top: -50px;
    /* Add an envelope image background here later */
}

.cta-text h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--color-white);
}

.cta-text p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.cta-btns {
    display: flex;
    gap: 16px;
}

/* Footer */
.site-footer {
    background-color: var(--color-bg-darker);
    color: var(--color-white);
    padding: 80px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.footer-widget h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.footer-widget ul li a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.social-links a:hover {
    background: var(--color-primary);
    color: var(--color-bg-darker);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-desc {
        max-width: 100%;
        margin: 0 auto 40px;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-social-proof {
        justify-content: center;
        margin-bottom: 60px;
    }
    .floating-card {
        display: none; /* Hide floating cards on smaller screens for cleaner look */
    }
    .pricing-grid, .testi-grid {
        grid-template-columns: 1fr;
    }
    .price-card.premium {
        transform: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cta-box {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    h2.section-title {
        font-size: 2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-bg-darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 100;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav a {
        font-size: 1.2rem;
        margin: 10px 0;
    }

    .header-actions {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
