/* ========================================
   GOODBYEDPI - Professional Landing Page
   ======================================== */

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

:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #151932;
    --bg-tertiary: #1e2442;
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-secondary: #ec4899;
    --accent-tertiary: #8b5cf6;
    --text-primary: #ffffff;
    --text-secondary: #a1a9c3;
    --text-muted: #6b7280;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 99%);
    --gradient-2: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #8b5cf6 100%);
    --gradient-3: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-hover: 0 20px 60px rgba(99, 102, 241, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

/* ========================================
   Animated Background Layers
   ======================================== */

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-animation::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: -400px;
    left: -400px;
    animation: float-1 25s ease-in-out infinite;
    filter: blur(60px);
}

.bg-animation::after {
    content: '';
    position: absolute;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -500px;
    right: -500px;
    animation: float-2 30s ease-in-out infinite reverse;
    filter: blur(80px);
}

@keyframes float-1 {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1); 
        opacity: 0.6;
    }
    25% { 
        transform: translate(100px, -50px) rotate(90deg) scale(1.1); 
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50px, 100px) rotate(180deg) scale(0.9); 
        opacity: 0.7;
    }
    75% { 
        transform: translate(50px, 50px) rotate(270deg) scale(1.05); 
        opacity: 0.75;
    }
}

@keyframes float-2 {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1); 
        opacity: 0.5;
    }
    33% { 
        transform: translate(-80px, 80px) rotate(120deg) scale(1.2); 
        opacity: 0.7;
    }
    66% { 
        transform: translate(60px, -60px) rotate(240deg) scale(0.8); 
        opacity: 0.6;
    }
}

/* Additional gradient layers */
.bg-gradients {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.bg-gradients::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: var(--gradient-1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 15s ease-in-out infinite;
    filter: blur(100px);
}

.bg-gradients::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: var(--gradient-2);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 20s ease-in-out infinite reverse;
    filter: blur(120px);
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: rotate(90deg);
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: rotate(180deg);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
        transform: rotate(270deg);
    }
}

/* ========================================
   Particle Canvas
   ======================================== */

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

/* ========================================
   Grid Pattern Overlay
   ======================================== */

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* ========================================
   Main Container
   ======================================== */

.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    text-align: center;
    padding: 4rem 0 6rem;
    width: 100%;
    animation: fade-in-up 1s ease-out;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: clamp(3.5rem, 11vw, 7rem);
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    line-height: 1.1;
    animation: logo-entrance 1.2s ease-out;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

@keyframes logo-entrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: none;
    }
}

/* Glow effects removed */

.subtitle {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2.2vw, 1.3rem);
    color: var(--accent-hover);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: fade-in-delay 1.2s ease-out;
    opacity: 0.95;
    font-feature-settings: 'liga' off;
}

@keyframes fade-in-delay {
    0%, 40% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 0.9; transform: translateY(0); }
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.25rem, 3.5vw, 2rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.6;
    animation: fade-in-delay-2 1.4s ease-out;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fade-in-delay-2 {
    0%, 50% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

.tagline strong {
    color: var(--text-primary);
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: -0.02em;
}

.highlight-text {
    font-family: 'Manrope', 'Inter', sans-serif;
    display: inline-block;
    padding: 0.25rem 0.85rem;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    margin: 0 0.3rem;
    animation: highlight-pulse 2s ease-in-out infinite;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@keyframes highlight-pulse {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
        transform: scale(1.05);
    }
}

/* ========================================
   CTA Buttons
   ======================================== */

.cta-primary {
    font-family: 'Manrope', 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.6rem 4.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--gradient-1);
    border-radius: 60px;
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.4), 0 0 0 0 rgba(99, 102, 241, 0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    animation: cta-entrance 1.6s ease-out, cta-pulse 3s ease-in-out infinite;
    border: 2px solid transparent;
    font-feature-settings: 'liga' off;
}

@keyframes cta-entrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cta-pulse {
    0%, 100% {
        box-shadow: 0 15px 50px rgba(99, 102, 241, 0.4), 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    50% {
        box-shadow: 0 20px 60px rgba(99, 102, 241, 0.6), 0 0 0 10px rgba(99, 102, 241, 0);
    }
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-primary:hover::before {
    width: 400px;
    height: 400px;
}

.cta-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.6), 0 0 0 0 rgba(99, 102, 241, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-primary:active {
    transform: translateY(-2px) scale(1.02);
}

.cta-primary span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-primary .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 1.2em;
}

.cta-primary:hover .arrow {
    transform: translateX(5px);
}

.cta-secondary {
    font-family: 'Manrope', 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.2rem 3rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    overflow: hidden;
    font-feature-settings: 'liga' off;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transition: left 0.5s ease;
    z-index: -1;
}

.cta-secondary:hover::before {
    left: 0;
}

.cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
    border-color: var(--accent-hover);
    color: var(--text-primary);
}

/* ========================================
   Features Grid
   ======================================== */

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin: 6rem 0;
    width: 100%;
    padding: 0 1rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.feature:nth-child(5),
.feature:nth-child(6) {
    grid-column: span 1;
}

.feature:nth-child(5) {
    grid-column-start: 2;
}

.feature:nth-child(6) {
    grid-column-start: 3;
}

.feature {
    background: rgba(21, 25, 50, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: feature-fade-in 0.8s ease-out forwards;
}

.feature:nth-child(1) { animation-delay: 0.1s; }
.feature:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3) { animation-delay: 0.3s; }
.feature:nth-child(4) { animation-delay: 0.4s; }
.feature:nth-child(5) { animation-delay: 0.5s; }
.feature:nth-child(6) { animation-delay: 0.6s; }

@keyframes feature-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.15), transparent);
    transition: left 0.6s ease;
}

.feature:hover::before {
    left: 100%;
}

.feature::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature:hover::after {
    opacity: 1;
}

.feature:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.4), inset 0 0 60px rgba(99, 102, 241, 0.1);
    background: rgba(21, 25, 50, 0.9);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.feature:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-title {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.feature-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* ========================================
   Stats Section
   ======================================== */

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 5rem 0;
    flex-wrap: wrap;
    padding: 3rem 2rem;
    background: rgba(21, 25, 50, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    width: 100%;
    max-width: 1000px;
}

.stat {
    text-align: center;
    position: relative;
    padding: 1rem;
    opacity: 0;
    animation: stat-fade-in 1s ease-out forwards;
}

.stat:nth-child(1) { animation-delay: 0.2s; }
.stat:nth-child(2) { animation-delay: 0.4s; }
.stat:nth-child(3) { animation-delay: 0.6s; }

@keyframes stat-fade-in {
    to {
        opacity: 1;
    }
}

.stat-number {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.03em;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    opacity: 0.5;
}

.stat-label {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    font-feature-settings: 'liga' off;
}

/* ========================================
   Trust Badges
   ======================================== */

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    opacity: 0;
    animation: fade-in 1s ease-out 1.5s forwards;
}

@keyframes fade-in {
    to { opacity: 1; }
}

.badge {
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

.badge:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.badge-icon {
    font-size: 1.2rem;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    font-family: 'Inter', sans-serif;
    margin-top: 6rem;
    padding: 3rem 0 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 400;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    width: 100%;
    opacity: 0.7;
    letter-spacing: -0.005em;
    line-height: 1.6;
}

/* Additional CTA Section Styles */
.cta-section-title {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.cta-section-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.cta-section-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.cta-section-text .cta-accent {
    color: var(--accent-hover);
    font-weight: 600;
}

.cta-section-btn {
    font-size: 1rem !important;
    padding: 1.3rem 3.5rem !important;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1200px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature:nth-child(5),
    .feature:nth-child(6) {
        grid-column: span 1;
    }
    
    .feature:nth-child(5) {
        grid-column-start: auto;
    }
    
    .feature:nth-child(6) {
        grid-column-start: auto;
    }
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    
    .feature:nth-child(5),
    .feature:nth-child(6) {
        grid-column: span 1;
        grid-column-start: auto;
    }
    
    .stats {
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-primary, .cta-secondary {
        display: flex;
        margin: 0.5rem auto;
        width: 100%;
        max-width: 320px;
        padding: 1.4rem 2rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0 4rem;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .feature {
        padding: 2rem 1.5rem;
    }
}

/* ========================================
   Performance Optimizations
   ======================================== */

.container, .hero, .features, .stats {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   Loading States
   ======================================== */

.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

