* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0e1a;
    --bg-card: #1a1f35;
    --text-light: #f8fafc;
    --text-gray: #cbd5e1;
    --text-muted: #64748b;
    --accent: #f97316;
    --accent-light: #fb923c;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1235 25%, #0f1729 50%, #1a1235 75%, #0a0e1a 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.06) 0%, transparent 40%);
    animation: floatBackground 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes floatBackground {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, -2%) rotate(1deg); }
    66% { transform: translate(-2%, 2%) rotate(-1deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.98) 0%, rgba(26, 18, 53, 0.98) 100%);
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
    padding: 20px 0;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 12px;
}

.nav a {
    color: var(--text-gray);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav a:hover {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(168, 85, 247, 0.2));
    border-color: rgba(249, 115, 22, 0.5);
    color: var(--accent-light);
}

.btn-login {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent-purple) 100%);
    color: white !important;
    border: none !important;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(249, 115, 22, 0.2) 0%, transparent 30%),
                radial-gradient(circle at 70% 60%, rgba(168, 85, 247, 0.15) 0%, transparent 30%);
    animation: heroGlow 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, var(--accent-light) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-gray);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-price {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent);
    margin: 30px 0;
}

.hero-details {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 18px 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent-purple) 100%);
    background-size: 200% 200%;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
    animation: buttonGradient 3s ease infinite;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.6);
}

@keyframes buttonGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 60px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.8), rgba(26, 31, 53, 0.4));
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(249, 115, 22, 0.2);
    transition: all 0.5s;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: 0 20px 60px rgba(249, 115, 22, 0.3);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-light);
}

.feature-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.98) 0%, rgba(26, 18, 53, 0.98) 100%);
    border-top: 1px solid rgba(249, 115, 22, 0.3);
    padding: 60px 0 40px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.company-info {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 2;
}

/* Login/Register Form */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-box {
    max-width: 500px;
    width: 100%;
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.95), rgba(15, 23, 42, 0.95));
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    border: 1px solid rgba(249, 115, 22, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.auth-box h2 {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-gray);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(249, 115, 22, 0.05);
}

.form-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    font-size: 14px;
}

.form-links a {
    color: var(--accent-light);
    text-decoration: none;
    transition: all 0.3s;
}

.form-links a:hover {
    color: var(--accent);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-price {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .nav {
        flex-direction: column;
        gap: 8px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .auth-box {
        padding: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}
