/* Modern Dating Landing Page CSS */
/* Kolory: Indigo, Cyan, Magenta */

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

:root {
    --primary-indigo: #4f46e5;
    --primary-cyan: #06b6d4;
    --primary-magenta: #ec4899;
    --dark-indigo: #3730a3;
    --dark-cyan: #0891b2;
    --dark-magenta: #be185d;
    --light-indigo: #a5b4fc;
    --light-cyan: #67e8f9;
    --light-magenta: #f9a8d4;
    --gradient-primary: linear-gradient(135deg, var(--primary-indigo) 0%, var(--primary-cyan) 50%, var(--primary-magenta) 100%);
    --gradient-secondary: linear-gradient(45deg, var(--dark-indigo) 0%, var(--dark-cyan) 100%);
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 25px 50px rgba(0, 0, 0, 0.25);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.home {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 30%, #4c1d95 70%, #be185d 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Header */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-indigo);
}

.brand-icon {
    font-size: 1.75rem;
    color: var(--primary-magenta);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-item:hover {
    background: var(--primary-indigo);
    color: white;
    transform: translateY(-2px);
}

.nav-item.active {
    background: var(--primary-indigo);
    color: white;
}

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

.btn-login {
    background: transparent;
    border: 2px solid var(--primary-indigo);
    color: var(--primary-indigo);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--primary-indigo);
    color: white;
}

.btn-register {
    background: var(--primary-indigo);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Hero Section */
.hero-section {
    padding: 120px 2rem 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 2rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-cyan);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-indigo);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.dating-illustration {
    position: relative;
    width: 400px;
    height: 400px;
}

.couple-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--shadow-heavy);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
}

.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.pic1 {
    background: var(--gradient-primary);
}

.pic2 {
    background: var(--gradient-secondary);
}

.heart-connect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-magenta);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: heartbeat 2s infinite;
}

.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-hearts i {
    position: absolute;
    color: var(--primary-magenta);
    animation: float 3s infinite ease-in-out;
}

.heart1 {
    top: 20%;
    left: 10%;
    font-size: 1.5rem;
    animation-delay: 0s;
}

.heart2 {
    top: 60%;
    right: 15%;
    font-size: 1.2rem;
    animation-delay: 1s;
}

.heart3 {
    bottom: 30%;
    left: 20%;
    font-size: 1rem;
    animation-delay: 2s;
}

@keyframes heartbeat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(10deg); opacity: 1; }
}

/* Features Section */
.features-section {
    padding: 100px 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-heavy);
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    max-width: 400px;
    width: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.modern-footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(30px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 300px;
}

.app-download img {
    height: 50px;
    transition: var(--transition);
}

.app-download:hover img {
    transform: scale(1.05);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary-cyan);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        gap: 1rem;
    }
    
    .hero-section {
        padding: 100px 1rem 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .dating-illustration {
        width: 300px;
        height: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Login & Signup Forms */
.content-page {
    display: none;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    min-height: 100vh;
    padding: 120px 0 60px;
}

.content-page.show {
    display: block;
}

/* Signup page specific styles */
body#signup-page .content-page {
    display: block;
}

/* Phone login page specific styles */
body#phone-page .content-page {
    display: block;
}

.limiter {
    width: 100%;
    margin: 0 auto;
}

.container-login100 {
    width: 100%;
    min-height: calc(100vh - 180px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.wrap-login100 {
    width: 1000px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: var(--shadow-heavy);
    position: relative;
    border: 1px solid #e5e7eb;
}

.login100-form {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    padding: 60px 55px 55px 55px;
    background: var(--white);
}

.login100-form-title {
    font-size: 2rem;
    color: var(--text-dark);
    line-height: 1.2;
    text-align: center;
    width: 100%;
    display: block;
    padding-bottom: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #06b6d4, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login100-form input[type="text"],
.login100-form input[type="password"],
.login100-form input[type="email"] {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: var(--transition);
    background: #f9fafb;
}

.login100-form input[type="text"]:focus,
.login100-form input[type="password"]:focus,
.login100-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-indigo);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.submit-button {
    width: 100%;
    padding: 15px 30px;
    background: var(--primary-indigo);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.22);
}

.btn-social {
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    background: var(--white);
}

.btn-facebook {
    color: #1877f2;
    border-color: #1877f2;
}

.btn-facebook:hover {
    background: #1877f2;
    color: white;
}

.btn-google {
    color: #db4437;
    border-color: #db4437;
}

.btn-google:hover {
    background: #db4437;
    color: white;
}

.btn-phone {
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
}

.btn-phone:hover {
    background: var(--primary-cyan);
    color: white;
}

.login100-more {
    width: 50%;
    background: linear-gradient(135deg, #e0f2fe 0%, #fce7f3 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login100-more::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(closest-side, rgba(99,102,241,0.25), rgba(99,102,241,0) 70%);
    top: -120px;
    left: -120px;
    filter: blur(0.2px);
}

.login100-more::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    background: radial-gradient(closest-side, rgba(6,182,212,0.22), rgba(6,182,212,0) 70%);
    bottom: -160px;
    right: -160px;
    filter: blur(0.2px);
}

.login100_content {
    padding: 40px;
    color: #0f172a; /* slate-900 */
    text-align: center;
}

.login100_content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.login100_content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.alert {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
}

.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.help {
    color: var(--primary-indigo);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.help:hover {
    color: var(--dark-indigo);
}

.login-button {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Responsive dla formularzy */
@media (max-width: 992px) {
    .wrap-login100 {
        width: 90%;
    }
    
    .login100-form {
        width: 60%;
        padding: 40px 30px;
    }
    
    .login100-more {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .login100-form {
        width: 100%;
        padding: 40px 20px;
    }
    
    .login100-more {
        display: none;
    }
    
    .wrap-login100 {
        width: 95%;
        border-radius: 16px;
    }
}

@media (max-width: 576px) {
    .login100-form {
        padding: 30px 15px;
    }
    
    .login100-form-title {
        font-size: 1.5rem;
        padding-bottom: 30px;
    }
}