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

:root {
    --primary-color: #FA907C;
    --text-color: #FEF3D5;
    --dark-bg: #2C1810;
    --light-bg: #FFF8F0;
    --accent-color: #FF6B47;
    --secondary-text: #8B4513;
    --border-color: #E8D5B7;
    --shadow: rgba(250, 144, 124, 0.3);
}

body {
    font-family: 'Fredoka', sans-serif;
    line-height: 1.6;
    color: var(--secondary-text);
    background: linear-gradient(135deg, var(--light-bg) 0%, #FFF5E6 100%);
    overflow-x: hidden;
}

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

/* Typography */
.logo {
    font-family: 'Pacifico', cursive;
    color: var(--primary-color);
    font-size: 2rem;
    text-decoration: none;
}

h1, h2, h3 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--secondary-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--text-color);
    box-shadow: 0 4px 20px var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFF5E6 50%, #FFE4E1 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(250, 144, 124, 0.3));
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(250, 144, 124, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

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

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-color);
}

.how-it-works h2 {
    color: var(--text-color);
}

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

.step {
    text-align: center;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--text-color);
    color: var(--primary-color);
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Gallery Section */
.gallery-preview {
    padding: 6rem 0;
    background: var(--light-bg);
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 3rem;
}

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

.gallery-item {
    display: flex;
    justify-content: center;
}

.instax-sample-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.instax-sample-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(250, 144, 124, 0.25);
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: var(--accent-color);
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

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

/* Download Section */
.download {
    padding: 6rem 0;
    background: var(--dark-bg);
    color: var(--text-color);
}

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

.download h2 {
    color: var(--text-color);
}

.download p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.app-store-button {
    display: inline-block;
    margin-bottom: 3rem;
    transition: transform 0.3s ease;
}

.app-store-button:hover {
    transform: translateY(-3px);
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}

.stat span {
    font-size: 1rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background: #1A0F08;
    color: var(--text-color);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    font-family: 'Pacifico', cursive;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(254, 243, 213, 0.2);
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-stats {
        gap: 2rem;
    }
    
    .hero-image img {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image img {
        max-width: 250px;
    }
}

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

.hero-text, .feature, .step {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Loading states and performance optimizations */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* Navigation Active State */
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Page Styles */
.contact-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFF5E6 50%, #FFE4E1 100%);
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-form-section {
    padding: 80px 0;
    background: var(--light-bg);
}

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

/* Contact Info */
.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: left;
    font-size: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(250, 144, 124, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-item p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.review-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.review-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(250, 144, 124, 0.15);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary-text);
}

.required {
    color: var(--accent-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Fredoka', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #FEFEFE;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(250, 144, 124, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-loading {
    display: none;
}

/* Thank You Message */
.thank-you-message {
    text-align: center;
    padding: 3rem 2rem;
}

.thank-you-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.thank-you-message h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.thank-you-message p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--secondary-text);
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 100px 0 60px;
    }
    
    .contact-hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .thank-you-message {
        padding: 2rem 1rem;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 120px 0 80px;
    background: var(--light-bg);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(250, 144, 124, 0.1);
}

.legal-content h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.legal-updated {
    text-align: center;
    color: var(--secondary-text);
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    color: var(--secondary-text);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--secondary-text);
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--secondary-text);
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .legal-content h1 {
        font-size: 2.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 100px 0 60px;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-section ul {
        padding-left: 1.5rem;
    }
}