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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

body.loaded {
    opacity: 1;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.btn-secondary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-full {
    width: 100%;
    font-size: 18px;
    padding: 16px 24px;
}

/* Language Selector */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.5);
}

.lang-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
    .language-selector {
        top: 15px;
        right: 15px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 14px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(240, 147, 251, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(118, 75, 162, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

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

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.logo-text {
    color: white;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.brand-name {
    color: white;
    margin: 0;
    font-size: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tagline {
    color: white;
    margin: 20px 0;
    font-size: 1.5rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .logo-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .brand-name {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 280px;
    }
}

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Problem Solution Section */
.problem-solution {
    padding: 80px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
    position: relative;
    z-index: 2;
    margin-top: -50px;
    border-radius: 50px 50px 0 0;
}

.problem-solution .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.problem-card, .solution-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
}

.problem-card h3, .solution-card h3 {
    color: #2d3748;
    margin-bottom: 15px;
}

.problem-card p, .solution-card p {
    color: #4a5568;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .problem-solution .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .problem-card, .solution-card {
        padding: 30px 20px;
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #a8edea 100%);
    position: relative;
    z-index: 3;
    margin-top: -50px;
    border-radius: 50px 50px 0 0;
}

.section-title {
    text-align: center;
    color: white;
    margin-bottom: 60px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.features-visual {
    text-align: center;
    margin-bottom: 50px;
}

.functions-graphic {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    color: #2d3748;
    margin-bottom: 15px;
}

.feature-card p {
    color: #4a5568;
    font-size: 1rem;
}

/* Trust Section */
.trust {
    padding: 80px 0;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 50%, #f093fb 100%);
    position: relative;
    z-index: 4;
    margin-top: -50px;
    border-radius: 50px 50px 0 0;
}

.trust-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
}

.trust-content h3 {
    color: #2d3748;
    margin-bottom: 40px;
    font-size: 2rem;
}

.trust-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.trust-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.trust-item p {
    color: #4a5568;
    font-size: 1.1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .trust-content {
        padding: 30px 20px;
    }
    
    .trust-points {
        grid-template-columns: 1fr;
    }
    
    .trust-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Beta Signup Section */
.beta-signup {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    z-index: 5;
    margin-top: -50px;
    border-radius: 50px 50px 0 0;
}

.form-content {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
}

.form-content h2 {
    color: #2d3748;
    margin-bottom: 25px;
}

.benefits-list {
    text-align: left;
    margin: 25px 0 35px 0;
    color: #4a5568;
}

.benefits-list p {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.beta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    font-size: 16px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

@media (max-width: 768px) {
    .form-content {
        padding: 30px 20px;
        margin: 0 20px;
    }
}

/* Footer */
.footer {
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 6;
    margin-top: -50px;
    border-radius: 50px 50px 0 0;
}

.footer-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-logo .logo {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 600;
}

.footer p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

/* Custom smooth scrolling with CSS */
* {
    scroll-behavior: smooth;
}

/* Improve scroll performance */
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Elements that will animate on scroll start hidden */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Loading Animation for Form */
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}