/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a2332;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5530 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #1e3a5f 0%, #2c5530 100%);
    z-index: -1;
    pointer-events: none;
}

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

/* Landing Page Styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 600px;
    padding: 40px 0;
}

.poker-icon {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

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

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #22c55e, #16a34a, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
}

/* Form Styles */
.cta-section {
    margin-bottom: 50px;
}

.email-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

input {
    flex: 1;
    min-width: 200px;
    padding: 18px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background: #ffffff;
    color: #1a2332;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #22c55e;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.2);
}

.cta-button {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 24px 20px;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 197, 94, 0.3);
    flex: 1;
    min-width: 160px;
    transition: transform 0.3s ease;
}

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

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #22c55e;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Preview Section */
.preview-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 100px 40px;
    text-align: center;
    position: relative;
}

.preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #22c55e, transparent);
}

.preview-section h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
    color: #1a2332;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.preview-section p {
    font-size: 1.3rem;
    color: #64748b;
    margin-bottom: 60px;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.preview-card {
    background: #ffffff;
    padding: 48px 36px;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.preview-card:hover::before {
    transform: scaleX(1);
}

.preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.2);
}

.preview-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    filter: grayscale(20%);
}

.preview-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: #1a2332;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.preview-card p {
    color: #64748b;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.7;
    font-weight: 500;
}

/* Apps Page Styles */
.apps-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5530 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.apps-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.back-link {
    position: absolute;
    top: 20px;
    left: 20px;
}

.back-link a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: white;
}

.apps-header h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.apps-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-top: 16px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.apps-content {
    background: white;
    min-height: 100vh;
}

.step-section {
    padding: 80px 40px;
    border-bottom: 1px solid #e5e7eb;
}

.step-section.advanced {
    background: #f8fafc;
}

.step-header {
    text-align: center;
    margin-bottom: 60px;
}

.step-header h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: #1a2332;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.step-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Trophy Podium */
.trophy-podium {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    margin: 70px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    align-items: end;
}

.trophy-app {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.trophy-app::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.trophy-app:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.trophy-app:hover::before {
    transform: scaleX(1);
}

.first-place {
    grid-column: 2;
    transform: scale(1.05);
    border-color: rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, #fffbf0 0%, #fef3c7 100%);
}

.first-place::before {
    background: linear-gradient(90deg, #ffd700, #ffed4e);
}

.second-place {
    grid-column: 1;
    border-color: rgba(192, 192, 192, 0.3);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.second-place::before {
    background: linear-gradient(90deg, #c0c0c0, #d6d6d6);
}

.third-place {
    grid-column: 3;
    border-color: rgba(205, 127, 50, 0.3);
    background: linear-gradient(135deg, #fef7ed 0%, #fed7aa 100%);
}

.third-place::before {
    background: linear-gradient(90deg, #cd7f32, #e2975a);
}

.trophy-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.trophy-app h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #1a2332;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.trophy-app p {
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
    font-weight: 500;
}

.earning-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}

.earning-badge.featured {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-color: #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.app-cta {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.app-cta.primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.app-cta.secondary {
    background: #f8fafc;
    color: #475569;
    border: 2px solid #e2e8f0;
}

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

.app-cta.primary:hover {
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.app-cta.secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 20px;
    border: 2px solid rgba(34, 197, 94, 0.2);
    position: relative;
    overflow: hidden;
}

.step-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.step-cta p {
    font-size: 1.2rem;
    color: #166534;
    margin: 0;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.app-card {
    background: #ffffff;
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.app-card:hover::before {
    transform: scaleX(1);
}

.app-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    filter: grayscale(10%);
}

.app-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #1a2332;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.app-card p {
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
    font-weight: 500;
}

.app-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.2px;
    border: 1px solid #e2e8f0;
}

/* Tip Card */
.tip-card {
    background: white;
    border-radius: 20px;
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 36px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 40px auto;
}

.tip-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.tip-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #1f2937;
}

.tip-content p {
    color: #6b7280;
    margin: 0;
}

/* Closing Section */
.closing-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5530 100%);
    color: white;
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.closing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.closing-content h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.closing-content p {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.urgency {
    color: #22c55e !important;
    font-weight: 700;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.final-cta {
    margin-top: 50px;
}

/* Footer */
.footer {
    background: #1a2332;
    color: #94a3b8;
    padding: 50px 40px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.footer a {
    color: #22c55e;
    text-decoration: none;
    margin-left: 24px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #16a34a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .preview-section {
        padding: 80px 20px;
    }
    
    .step-section {
        padding: 60px 20px;
    }
    
    .closing-section {
        padding: 80px 20px;
    }
    
    .footer {
        padding: 40px 20px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    input {
        min-width: unset;
    }
    
    .trust-indicators {
        flex-direction: column;
    }
    
    .trophy-podium {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 400px;
    }
    
    .first-place,
    .second-place,
    .third-place {
        grid-column: 1;
    }
    
    .first-place {
        transform: none;
        order: 1;
    }
    
    .second-place {
        order: 2;
    }
    
    .third-place {
        order: 3;
    }
    
    .tip-card {
        flex-direction: column;
        text-align: center;
    }
    
    .preview-grid,
    .apps-grid {
        grid-template-columns: 1fr;
    }
}

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

/* Loading animations */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Success message styles */
.success-message {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
