/* Ekual Landing Page Styles */

/* Page Layout Improvements */
.main-content {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

/* Enhanced contrast for better readability */
.landing-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: -0.02em;
}

.landing-hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Landing Hero Section */
.landing-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
    color: white;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 15px 40px rgba(4, 120, 87, 0.4);
    border: 3px solid #10b981;
}

/* Removed duplicate - using enhanced version above */

/* Removed duplicate - using enhanced version above */

.landing-hero .cta {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    background: white;
    color: #064e3b;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid white;
    margin: 0 0.5rem;
}

.landing-hero .cta.secondary {
    background: transparent;
    color: white;
    border: 3px solid #10b981;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.landing-hero .cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: #f0fdf4;
    color: #064e3b;
}

.landing-hero .cta.secondary:hover {
    background: #10b981;
    color: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(4, 120, 87, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #d1fae5;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(4, 120, 87, 0.2);
    border-color: #10b981;
    background: #f0fdf4;
}

.feature-card i {
    font-size: 3rem;
    color: #047857;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    color: #10b981;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
    font-weight: 700;
}

.feature-card p {
    color: #2d3748;
    line-height: 1.6;
    font-weight: 500;
}

/* Split Types Section */
.split-types {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    border: 2px solid #bbf7d0;
}

.split-types h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #064e3b;
    font-weight: 700;
}

.split-type {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #047857;
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #d1fae5;
}

.split-type:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 16px rgba(4, 120, 87, 0.15);
    border-color: #10b981;
}

.split-type h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #047857;
    font-weight: 600;
}

.split-type p {
    color: #374151;
    line-height: 1.6;
    font-weight: 500;
}

.split-type.featured {
    border-left-color: #10b981;
    background: linear-gradient(to right, #f0fdf4, white);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.split-type.featured h4 {
    color: #10b981;
}

/* Social Proof Section */
.social-proof {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border-radius: 15px;
    margin: 2rem 0;
    border: 2px solid #bbf7d0;
}

.social-proof h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #064e3b;
    font-weight: 700;
}

.brand-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.brand-message {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.1);
    color: #374151;
    font-size: 1.1rem;
    font-style: italic;
    border: 1px solid #d1fae5;
    transition: all 0.3s ease;
}

.brand-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(4, 120, 87, 0.15);
    border-color: #10b981;
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-hero h1 {
        font-size: 2.5rem;
    }
    
    .landing-hero .tagline {
        font-size: 1.2rem;
    }
    
    .landing-hero .cta {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .split-types {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
    
    .split-types h2 {
        font-size: 2rem;
    }
    
    .social-proof {
        padding: 2rem 0;
    }
    
    .social-proof h3 {
        font-size: 1.5rem;
    }
}

/* Clerk UI Components Styling */
#clerk-sign-in,
#clerk-sign-up {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#clerk-sign-in > div,
#clerk-sign-up > div {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Close button for modals */
#clerk-sign-in::before,
#clerk-sign-up::before {
    content: '×';
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

/* Click outside to close */
#clerk-sign-in::after,
#clerk-sign-up::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Mobile responsiveness for Clerk components */
@media (max-width: 768px) {
    #clerk-sign-in,
    #clerk-sign-up {
        padding: 1rem;
    }
    
    #clerk-sign-in > div,
    #clerk-sign-up > div {
        padding: 1.5rem;
        max-width: 100%;
    }
}
