/* MakeMy.Photos - Main Stylesheet */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

.bg-gradient {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2) 0%, rgba(0, 0, 0, 1) 50%, rgba(6, 182, 212, 0.2) 100%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(90deg, #22d3ee, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.logo svg {
    width: 32px;
    height: 32px;
    color: #22d3ee;
}

.btn-primary {
    padding: 12px 24px;
    background: linear-gradient(90deg, #06b6d4, #9333ea);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    box-shadow: 0 10px 40px rgba(34, 211, 238, 0.5);
    transform: scale(1.05);
}

.btn-secondary {
    padding: 16px 32px;
    background: transparent;
    border: 2px solid rgba(168, 85, 247, 0.5);
    border-radius: 50px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(168, 85, 247, 0.1);
}

.btn-secondary svg {
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    color: #22d3ee;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 32px;
}

.gradient-text {
    background: linear-gradient(90deg, #22d3ee, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero p {
    font-size: clamp(18px, 2vw, 24px);
    color: #9ca3af;
    max-width: 800px;
    margin: 0 auto 32px;
}

.hero .highlight {
    color: #22d3ee;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.btn-large {
    padding: 16px 32px;
    background: linear-gradient(90deg, #06b6d4, #9333ea);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-large:hover {
    box-shadow: 0 20px 60px rgba(34, 211, 238, 0.5);
    transform: scale(1.05);
}

/* Stats */
.stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 64px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 8px;
}

.stat-number.cyan { color: #22d3ee; }
.stat-number.purple { color: #a855f7; }
.stat-number.pink { color: #ec4899; }

.stat-label {
    color: #6b7280;
    font-size: 14px;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: bold;
    text-align: center;
    margin-bottom: 64px;
}

.section-title .muted {
    color: #9ca3af;
}

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

.step-card {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, transparent 100%);
    transition: all 0.3s;
}

.step-card:nth-child(2) {
    border-color: rgba(168, 85, 247, 0.3);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, transparent 100%);
}

.step-card:nth-child(3) {
    border-color: rgba(236, 72, 153, 0.3);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, transparent 100%);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(34, 211, 238, 0.2);
}

.step-card:nth-child(2):hover {
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

.step-card:nth-child(3):hover {
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.2);
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

.step-card:nth-child(1) .step-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.step-card:nth-child(2) .step-icon {
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.step-card:nth-child(3) .step-icon {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.step-label {
    color: #22d3ee;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 8px;
}

.step-card:nth-child(2) .step-label { color: #a855f7; }
.step-card:nth-child(3) .step-label { color: #ec4899; }

.step-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.step-card p {
    color: #9ca3af;
    line-height: 1.6;
}

/* Styles Preview */
.styles-preview {
    padding: 80px 0;
}

.styles-intro {
    text-align: center;
    margin-bottom: 64px;
}

.styles-intro p {
    color: #9ca3af;
    font-size: 20px;
    margin-top: 16px;
}

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

.style-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    background-color: #1e293b;
}

.style-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
}

.image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.style-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.img-original {
    z-index: 1;
    opacity: 1;
}

.img-styled {
    z-index: 2;
    opacity: 1;
}

.style-card:hover .img-styled {
    opacity: 0;
    transform: scale(1.05);
}

.style-card:hover .img-original {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 100%);
    z-index: 3;
    pointer-events: none;
}

.card-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 4;
    width: calc(100% - 48px);
    pointer-events: none;
}

.hover-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 4;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.style-card:hover .hover-badge {
    opacity: 0;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.card-subtitle {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.4;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.style-card:hover .card-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.view-all {
    text-align: center;
    margin-top: 48px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.2), rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 64px 48px;
    overflow: hidden;
    text-align: center;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.05), rgba(168, 85, 247, 0.05));
    animation: pulse 2s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 20px;
    color: #d1d5db;
    max-width: 700px;
    margin: 0 auto 32px;
}

.btn-cta {
    padding: 20px 48px;
    background: linear-gradient(90deg, #06b6d4, #9333ea);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.btn-cta:hover {
    box-shadow: 0 20px 60px rgba(34, 211, 238, 0.5);
    transform: scale(1.05);
}

/* Login Page Styles */
.login-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    min-height: calc(100vh - 200px);
}

.login-box {
    width: 100%;
    max-width: 480px;
    padding: 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.login-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.05), rgba(168, 85, 247, 0.05));
    animation: pulse 2s ease-in-out infinite;
    pointer-events: none;
}

.login-content {
    position: relative;
    z-index: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: bold;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #22d3ee, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-header p {
    color: #9ca3af;
    font-size: 18px;
}

.error-message {
    padding: 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    color: #fca5a5;
    margin-bottom: 24px;
    text-align: center;
}

.btn-google {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(90deg, #06b6d4, #9333ea);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
}

.btn-google:hover {
    box-shadow: 0 20px 60px rgba(34, 211, 238, 0.5);
    transform: scale(1.02);
}

.btn-google svg {
    width: 24px;
    height: 24px;
}

.back-link {
    text-align: center;
    margin-top: 24px;
}

.back-link a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.back-link a:hover {
    color: #22d3ee;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Header - Hide button and center logo */
    header {
        justify-content: center;
    }

    header .btn-primary {
        display: none;
    }

    /* Hero - Reduce top padding */
    .hero {
        padding-top: 40px;
        padding-bottom: 80px;
    }

    .stats {
        gap: 32px;
    }

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

    .style-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .view-all {
        margin-top: 32px;
        padding: 0 16px;
    }

    .view-all .btn-secondary {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .view-all .btn-secondary svg {
        margin-left: 0;
        flex-shrink: 0;
    }

    .cta-box {
        padding: 32px 16px;
    }

    .cta-content h2 {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 16px;
    }

    .cta-content p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .btn-cta {
        padding: 14px 24px;
        font-size: 16px;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .btn-cta svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .login-box {
        padding: 32px 24px;
    }
}
