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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-25%);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes pulseBox {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 40px rgba(34, 197, 94, 0.5);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Base Styles */
body {
    font-family: 'Satoshi', sans-serif;
    background: #ffffff;
    color: #000000;
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 400;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.98);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    font-family: 'Satoshi', sans-serif;
}

.logo a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Satoshi', sans-serif;
}

.logo a:hover {
    color: inherit;
    text-decoration: none;
}

.logo:hover {
    color: #9FD73A;
}

/* Main Content */
.main-content {
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    animation: fadeInUp 1s ease-out;
}

.hero-background {
    position: absolute;
    top: 0;
    left: -50vw;
    right: -50vw;
    bottom: 0;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
    width: 200vw;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 800px;
    padding: 0 2rem;
}

.title-box {
    border: 0px solid #9FD73A;
    border-radius: 20px;
    padding: 2rem 3rem;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    width: 800px;
    height: 200px;
    max-width: 90vw;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 50px;
}

.title-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #9FD73A, #82b02b, #658e19, #89d104);
    background-size: 400% 400%;
    border-radius: 20px;
    z-index: -1;
    animation: gradientMove 4s ease infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff !important;
    line-height: 1.1;
    font-family: 'Satoshi', sans-serif;
    letter-spacing: -0.03em;
    opacity: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    overflow: visible;
    white-space: normal;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
}

.hero-title .highlight {
    color: #9FD73A;
    position: relative;
    text-shadow: 0 0 10px rgba(113, 197, 34, 0.5);
}

.join-pack-btn-hero {
    display: inline-flex;
    align-items: center;
    background: #9FD73A;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Satoshi', sans-serif;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.25);
}

.join-pack-btn-hero:hover {
    background: #9FD73A;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
}


/* Background Elements */
.clothing-photos {
    position: relative;
    width: 300%;
    height: 100%;
    display: flex;
    align-items: center;
    animation: scrollLeft 30s linear infinite;
}

.clothing-photo {
    flex-shrink: 0;
    width: 250px;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    opacity: 0.7;
    filter: blur(0.3px) brightness(0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-right: 1rem;
}

.clothing-photo-1 {
    background-image: url('How-to-Style-a-Clothing-Rack-6.jpg');
}

.clothing-photo-2 {
    background-image: url('woman-blouse-summer-cotton-on-600nw-2185513905.webp');
}

.clothing-photo-3 {
    background-image: url('5e21de51b6d52d4b4c6e7055.webp');
}

.clothing-photo-4 {
    background-image: url('do-you-sell-clothes-with-the-downtown-girl-aesthetic-or-do-v0-8ijvxjtngvg91.jpg');
}

.clothing-photo-5 {
    background-image: url('7_cb9a6f4b-6972-49d3-bcde-a99f932e326f_800x.webp');
}

.clothing-photo-6 {
    background-image: url('neutral-flat-lay-summer-accessories-600nw-2520496951.webp');
}

.clothing-photo-7 {
    background-image: url('DSC_3528.webp');
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    font-size: 2.5rem;
    animation: twinkle 2s ease-in-out infinite, float 6s ease-in-out infinite;
}

.star-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s, 0s;
}

.star-2 {
    top: 80%;
    left: 25%;
    animation-delay: 0.5s, 1s;
}

.star-3 {
    top: 40%;
    right: 20%;
    animation-delay: 1s, 2s;
}

.star-4 {
    top: 70%;
    right: 40%;
    animation-delay: 1.5s, 3s;
}

.star-5 {
    top: 10%;
    left: 60%;
    animation-delay: 2s, 4s;
}

.star-6 {
    top: 90%;
    right: 15%;
    animation-delay: 2.5s, 5s;
}

.star-7 {
    top: 30%;
    left: 80%;
    animation-delay: 3s, 0.5s;
}

.star-8 {
    top: 60%;
    left: 5%;
    animation-delay: 3.5s, 1.5s;
}

/* Simple CTA Section */
.simple-cta {
    background: #fafafa;
    padding: 3rem 0;
    text-align: center;
    margin: 2rem 0;
    border-radius: 16px;
}

.simple-cta-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 2rem;
}

.simple-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000;
    font-family: 'Satoshi', sans-serif;
}

.simple-cta p {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 2rem;
    font-family: 'Satoshi', sans-serif;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #000000;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Satoshi', sans-serif;
    border: none;
}

.apple-logo {
    fill: currentColor;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 3rem 0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    background: transparent;
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.8s; }
.stat-item:nth-child(2) { animation-delay: 1s; }
.stat-item:nth-child(3) { animation-delay: 1.2s; }

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #9FD73A;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Satoshi', sans-serif;
}

.stat-item:hover .stat-number {
    transform: scale(1.05);
    color: #9FD73A;
}

.stat-label {
    color: #334d03;
}

/* How It Works Section */
.how-it-works {
    padding: 3rem 0;
    background: transparent;
    margin: 1rem 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #000000;
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section-title.animate-in {
    animation: fadeInUp 0.8s ease-out both;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid #e2e8f0;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.process-step.animate-in {
    animation: slideInFromBottom 0.8s ease-out both;
}

.process-step:nth-child(1).animate-in {
    animation-delay: 0.1s;
}

.process-step:nth-child(2).animate-in {
    animation-delay: 0.3s;
}

.process-step:nth-child(3).animate-in {
    animation-delay: 0.5s;
}

.process-step:nth-child(4).animate-in {
    animation-delay: 0.7s;
}

.process-step:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.15);
    border-color: #9FD73A;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    transition: left 0.5s ease;
}

.process-step:hover::before {
    left: 100%;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000000;
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, #9FD73A, #709c1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-step p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1.5rem;
    font-family: 'Satoshi', sans-serif;
}

.step-details {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.process-step.animate-in .step-details {
    animation: fadeInScale 0.6s ease-out 0.4s both;
}

.detail-tag {
    background: rgba(97, 188, 33, 0.1);
    color: #334d03;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Satoshi', sans-serif;
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: all 0.3s ease;
    transform: scale(1);
}

.detail-tag:hover {
    background: rgba(34, 197, 94, 0.2);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.process-step:hover .detail-tag {
    animation: pulse 2s infinite;
}

/* Final CTA Section */
.final-cta {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(159, 215, 58, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    margin-top: 4rem;
}

.final-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-title {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Satoshi', sans-serif;
    color: #000000;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #9FD73A, #709c1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.final-cta-subtitle {
    font-size: 1.25rem;
    color: #334d03;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-family: 'Satoshi', sans-serif;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.final-cta .join-pack-btn-hero {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@media (max-width: 1024px) {
    .final-cta-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .final-cta-title {
        font-size: 2rem;
    }
    
    .final-cta-subtitle {
        font-size: 1.1rem;
    }
}

/* Email Confirmation Page */
.confirmation-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: radial-gradient(circle at center, rgba(139, 69, 19, 0.1) 0%, transparent 70%);
}

.confirmation-content {
    text-align: center;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
}

.confirmation-icon {
    font-size: 80px;    
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

.confirmation-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #9FD73A;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.confirmation-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #334d03;
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.4;
}

.confirmation-message {
    font-size: 1.1rem;
    color: #334d03;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Legal Pages Styling */
.legal-content h1 {
    color: #9FD73A !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Satoshi', sans-serif;
}

.legal-content h2 {
    color: #9FD73A !important;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Satoshi', sans-serif;
}

.legal-content h3 {
    color: #9FD73A !important;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Satoshi', sans-serif;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.6;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #333;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #333;
}

.back-link {
    display: inline-block;
    color: #9FD73A !important;
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 600;
    transition: color 0.15s ease;
}

.back-link:hover {
    color: #82b02b;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    margin-top: 6rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #9FD73A;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #9FD73A;
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.9rem;
}

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

* {
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.preload * {
    transition: none !important;
}

/* Scroll reveal animations */
.animate-in {
    animation: fadeInUp 0.8s ease-out forwards !important;
    opacity: 1 !important;
}

/* Responsive Design */
/* Medium screens */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .title-box {
        padding: 3rem 3rem;
    }
}

/* Tablet screens */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-step {
        padding: 2rem 1.5rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .app-store-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}