/* ===================================
   LocalizeFlow AI - Liquid Glass Design System
   ================================== */

:root {
    /* Color Palette */
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --secondary-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --accent-gradient: linear-gradient(135deg, #ec4899 0%, #f59e0b 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius - Only two values */
    --radius-lg: 1rem; /* rounded-2xl */
    --radius-full: 9999px; /* rounded-full */
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glass Effect Utility */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-effect:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ===================================
   NAVIGATION
   ================================== */

.navbar {
    position: fixed;
    top: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 1200px;
    padding: var(--spacing-sm) var(--spacing-lg);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    opacity: 0.8;
}

.cta-button {
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-lg);
}

/* ===================================
   HERO SECTION
   ================================== */

.hero-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--spacing-2xl) var(--spacing-md);
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 10;
    margin-top: var(--spacing-2xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    font-weight: 600;
    position: relative;
}

.badge-glow {
    width: 8px;
    height: 8px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
}

.primary-button,
.secondary-button {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-button {
    background: var(--primary-gradient);
}

.primary-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
}

.secondary-button {
    background: transparent;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    padding: var(--spacing-md);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-card {
    position: absolute;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.card-icon {
    font-size: 1.5rem;
}

.float-1 {
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    top: 60%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 1s;
}

.float-3 {
    bottom: 20%;
    left: 15%;
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===================================
   FEATURES SECTION
   ================================== */

.features-section {
    padding: var(--spacing-2xl) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-description {
    opacity: 0.9;
    line-height: 1.7;
}

.feature-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.tag {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* ===================================
   WORKFLOW SECTION
   ================================== */

.workflow-section {
    padding: var(--spacing-2xl) var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.workflow-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.workflow-step {
    padding: var(--spacing-xl);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--spacing-lg);
    align-items: center;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.step-description {
    opacity: 0.9;
    line-height: 1.7;
}

.step-visual {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-orb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    animation: rotate 4s linear infinite;
}

.orb-1 { background: var(--primary-gradient); }
.orb-2 { background: var(--secondary-gradient); }
.orb-3 { background: var(--accent-gradient); }
.orb-4 { background: var(--success-gradient); }

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.workflow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: var(--spacing-sm) 0;
}

.connector-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
}

.connector-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    margin-top: -6px;
}

/* ===================================
   CTA SECTION
   ================================== */

.cta-section {
    padding: var(--spacing-2xl) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.cta-container {
    padding: var(--spacing-2xl);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--spacing-2xl);
    align-items: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.visual-sphere {
    width: 200px;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
}

.sphere-ring {
    position: absolute;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation: spin 10s linear infinite;
}

.ring-2 {
    width: 80%;
    height: 80%;
    animation: spin 15s linear infinite reverse;
}

.ring-3 {
    width: 60%;
    height: 60%;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===================================
   FOOTER
   ================================== */

.footer {
    padding: var(--spacing-2xl) var(--spacing-md);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-tagline {
    opacity: 0.8;
    margin-top: var(--spacing-sm);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.link-group h4 {
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-group a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-legal a:hover {
    color: white;
}

/* ===================================
   RESPONSIVE
   ================================== */

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        padding: var(--spacing-sm);
    }
    
    .nav-links {
        gap: var(--spacing-sm);
    }
    
    .nav-links a:not(.cta-button) {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .workflow-step {
        grid-template-columns: auto 1fr;
        gap: var(--spacing-md);
    }
    
    .step-visual {
        grid-column: 1 / -1;
        justify-self: center;
    }
    
    .cta-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .visual-sphere {
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .floating-elements .float-card {
        display: none;
    }
}
