/* ===================================
   EXKALIBURE - Anti-Gravity Floating UI
   =================================== */

/* CSS Variables */
:root {
    --bg-primary: #0A0F1C;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --accent-orange: #F97316;
    --accent-blue: #3B82F6;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --gradient-primary: linear-gradient(135deg, #F97316 0%, #3B82F6 100%);
    --gradient-glow: linear-gradient(135deg, rgba(249, 115, 22, 0.3) 0%, rgba(59, 130, 246, 0.3) 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-float: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(249, 115, 22, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(249, 115, 22, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(59, 130, 246, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(249, 115, 22, 0.2), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(59, 130, 246, 0.3), transparent);
    background-size: 200px 200px;
    animation: particlesFloat 20s linear infinite;
}

@keyframes particlesFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   NAVIGATION
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-login {
    color: var(--text-primary) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

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

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 18px;
    border-radius: var(--radius-lg);
}

.btn-full {
    width: 100%;
}

.btn-glow {
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
}

.btn-glow:hover {
    box-shadow: 0 0 50px rgba(249, 115, 22, 0.6);
}

/* ===================================
   FLOATING CARDS
   =================================== */
.floating-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    transition: all 0.4s ease;
}

.floating-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.6);
    border-color: rgba(249, 115, 22, 0.3);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    position: relative;
}

.pulse {
    position: absolute;
    left: 8px;
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    max-width: 520px;
}

.hero-highlight {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 32px;
}

.hero-input-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.3s ease;
}

.hero-input:focus {
    border-color: var(--accent-orange);
}

.hero-input::placeholder {
    color: var(--text-muted);
}

.hero-badges {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.lead-card {
    position: absolute;
    padding: 20px;
    width: 280px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.lead-card.card-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.lead-card.card-2 {
    top: 45%;
    right: 25%;
    animation-delay: 1s;
}

.lead-card.card-3 {
    top: 70%;
    right: 5%;
    animation-delay: 2s;
}

.lead-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.lead-name {
    font-weight: 600;
    font-size: 15px;
}

.lead-title {
    font-size: 13px;
    color: var(--text-secondary);
}

.lead-email {
    font-size: 12px;
    color: #22C55E;
    margin-top: 4px;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-orange);
    top: 10%;
    right: 20%;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-blue);
    bottom: 20%;
    right: 40%;
}

/* ===================================
   LOGOS SECTION
   =================================== */
.logos-section {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.logos-text {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.logo-item {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
    color: var(--text-primary);
}

/* ===================================
   PROBLEM SECTION
   =================================== */
.problem-section {
    padding: 100px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    padding: 40px;
    border-radius: var(--radius-lg);
}

.comparison-card.before {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.comparison-card.after {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.comparison-header {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.comparison-list li:last-child {
    border-bottom: none;
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */
.how-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
}

.step {
    flex: 1;
    max-width: 320px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-example {
    font-size: 14px;
    color: var(--accent-orange);
    font-style: italic;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.step-list {
    list-style: none;
    text-align: left;
}

.step-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
}

.step-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
}

.step-columns {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
}

.step-arrow {
    display: flex;
    align-items: center;
    font-size: 32px;
    color: var(--accent-orange);
    font-weight: 300;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 40px 32px;
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   PRICING SECTION
   =================================== */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 15px;
    color: var(--text-secondary);
}

.toggle-badge {
    background: rgba(34, 197, 94, 0.2);
    color: #22C55E;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 26px;
    transition: 0.3s;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(249, 115, 22, 0.3);
}

.pricing-card.popular {
    border-color: var(--accent-orange);
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.pricing-price {
    margin-bottom: 8px;
}

.price-amount {
    font-size: 36px;
    font-weight: 800;
}

.price-period {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-leads {
    font-size: 14px;
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
    text-align: left;
}

.pricing-features li {
    font-size: 14px;
    padding: 8px 0;
}

.pricing-features li.included {
    color: var(--text-secondary);
}

.pricing-features li.excluded {
    color: var(--text-muted);
    opacity: 0.5;
}

.pricing-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 40px;
}

/* ===================================
   STATS SECTION
   =================================== */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-glow);
    position: relative;
}

.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bg-primary);
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

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

.stat-number {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
}

.testimonial-stars {
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.author-name {
    font-weight: 600;
    font-size: 15px;
}

.author-title {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 24px;
    color: var(--accent-orange);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 24px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 120px 0;
    background: var(--gradient-glow);
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bg-primary);
    opacity: 0.85;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 16px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 24px;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-card:nth-child(4),
    .pricing-card:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-input-wrapper {
        flex-direction: column;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        padding: 20px 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
