:root {
    --bg-color: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-1: #3b82f6; /* Blue */
    --accent-2: #8b5cf6; /* Purple */
    --accent-3: #ec4899; /* Pink */
    
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Dynamic Background Shapes */
.bg-shapes {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 20s infinite alternate;
}

.shape-1 { width: 50vw; height: 50vw; background: rgba(59, 130, 246, 0.2); top: -20%; left: -10%; animation-delay: 0s; }
.shape-2 { width: 40vw; height: 40vw; background: rgba(139, 92, 246, 0.2); bottom: -10%; right: -10%; animation-delay: -5s; }
.shape-3 { width: 30vw; height: 30vw; background: rgba(236, 72, 153, 0.2); top: 30%; left: 40%; animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(10%, 10%) rotate(10deg); }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo .icon {
    -webkit-text-fill-color: initial;
}

nav { display: flex; gap: 2rem; align-items: center; }
nav a { color: var(--text-primary); text-decoration: none; font-weight: 500; transition: color 0.3s; }
nav a:hover { color: var(--accent-1); }

.nav-link-portal {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}
.nav-link-portal:hover { background: rgba(255,255,255,0.1); color: white; }

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 3rem;
    border-radius: 24px;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.btn-primary, .btn-secondary, .btn-primary-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.5);
}

.btn-primary:hover, .btn-primary-sm:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.6);
}

/* Sections */
.section {
    padding: 6rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.feature-card {
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.feature-card p { color: var(--text-secondary); line-height: 1.6; }

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

.pricing-card {
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-card.featured {
    border: 2px solid var(--accent-1);
    transform: scale(1.05);
    z-index: 2;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-1);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
}

.price span { font-size: 1rem; color: var(--text-secondary); }

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pricing-card ul li::before {
    content: '✓';
    color: var(--accent-1);
    margin-right: 0.8rem;
    font-weight: 800;
}

/* Footer */
.footer {
    padding: 4rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.animate-pulse {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(139, 92, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
}
.btn-secondary:hover { background: rgba(255,255,255,0.05); }

.features-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.check {
    color: var(--accent-1);
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Visualization */
.hero-image-placeholder {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    animation: fadeIn 1.5s ease;
}

.glass-orb {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.01));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 50px rgba(255,255,255,0.1);
    position: relative;
    animation: orbFloat 6s ease-in-out infinite alternate;
}

.glass-orb::after {
    content: '🚀';
    font-size: 6rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.2));
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes orbFloat {
    from { transform: translateY(-15px); }
    to { transform: translateY(15px); }
}

@media (max-width: 900px) {
    .hero { flex-direction: column; padding: 2rem; justify-content: center; gap: 4rem; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .glass-orb { width: 250px; height: 250px; }
    .navbar { padding: 1.5rem; flex-direction: column; gap: 1rem; }
    .section { padding: 4rem 2rem; }
    .pricing-card.featured { transform: none; }
}
