/*
 * Professional Component Styles
 * Exact match to current app's auth page styling
 */

/* ===== PROFESSIONAL HEADER ===== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-50);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: var(--transition-all);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    transition: var(--transition-all);
}

.logo-container:hover {
    transform: translateY(-1px);
}

.logo-text {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--slate-900);
    margin: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--slate-600);
    text-decoration: none;
    transition: var(--transition-colors);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius);
}

.nav-link:hover {
    color: var(--slate-900);
    background-color: var(--slate-50);
}

@media (max-width: 768px) {
    .nav-links .nav-link {
        display: none;
    }
}

/* ===== PROFESSIONAL BUTTONS - EXACT MATCH TO AUTH PAGES ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: var(--transition-all);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    outline: none;
}

.btn:focus {
    outline: 2px solid var(--slate-900);
    outline-offset: 2px;
}

/* Primary Button - Exact match to auth pages */
.btn-primary {
    padding: var(--space-3) var(--space-4);
    background-color: var(--slate-900);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--slate-800);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* Secondary Button - Exact match to auth pages */
.btn-secondary {
    padding: var(--space-3) var(--space-4);
    background-color: transparent;
    color: var(--slate-900);
    border: 1px solid var(--slate-200);
}

.btn-secondary:hover {
    background-color: var(--slate-50);
    border-color: var(--slate-300);
    transform: translateY(-1px);
}

/* Large Button */
.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-xl);
}

/* Button Icons */
.btn-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition-transform);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: var(--transition-transform);
}

.btn:hover .btn-arrow {
    transform: translateX(2px);
}

/* ===== PROFESSIONAL HERO SECTION ===== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: var(--space-20);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Professional Badge - Clean styling */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-6);
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--slate-600);
    margin-bottom: var(--space-8);
    transition: var(--transition-all);
    cursor: pointer;
}

.hero-badge:hover {
    background-color: var(--slate-100);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.badge-icon {
    width: 8px;
    height: 8px;
    background-color: var(--green);
    border-radius: 50%;
    animation: badge-pulse 2s ease-in-out infinite;
}

.badge-text {
    color: var(--slate-900);
    font-weight: var(--font-medium);
}

.badge-arrow {
    width: 16px;
    height: 16px;
    color: var(--slate-400);
    transition: var(--transition-transform);
}

.hero-badge:hover .badge-arrow {
    transform: translateX(2px);
}

@keyframes badge-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Hero Title - Professional typography */
.hero-title {
    font-size: var(--text-6xl);
    font-weight: var(--font-light);
    line-height: var(--leading-tight);
    color: var(--slate-900);
    margin-bottom: var(--space-12);
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    margin-bottom: var(--space-2);
}

.title-main {
    color: var(--slate-900);
}

.title-accent {
    color: var(--blue);
    font-weight: var(--font-medium);
}

@media (min-width: 640px) {
    .hero-title {
        font-size: var(--text-7xl);
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: var(--text-8xl);
    }
}



/* Hero Subtitle - Creative Integration */
.hero-subtitle {
    font-size: var(--text-xl);
    font-weight: var(--font-light);
    line-height: var(--leading-relaxed);
    color: var(--slate-900);
    margin-bottom: var(--space-16);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    
    /* Creative gradient text effect */
    background: linear-gradient(135deg, 
        var(--slate-900) 0%, 
        var(--slate-800) 20%, 
        var(--slate-900) 40%, 
        var(--slate-700) 60%, 
        var(--slate-900) 80%, 
        var(--slate-800) 100%
    );
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 8s ease-in-out infinite;
    
    /* Subtle brightness boost */
    filter: brightness(1.08) contrast(1.04);
    
    /* Sophisticated text shadow for depth */
    filter: brightness(1.08) contrast(1.04)
           drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15))
           drop-shadow(0 4px 16px rgba(0, 0, 0, 0.1))
           drop-shadow(0 1px 2px rgba(255, 255, 255, 0.8));
    
    /* Subtle glow effect */
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -40px;
    right: -40px;
    bottom: -20px;
    background: 
        radial-gradient(ellipse at center, 
            rgba(255, 255, 255, 0.1) 0%, 
            rgba(255, 255, 255, 0.05) 30%, 
            transparent 70%
        );
    border-radius: 50%;
    z-index: -1;
    animation: pulse-glow 6s ease-in-out infinite;
}



@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }
}



@media (min-width: 768px) {
    .hero-subtitle {
        font-size: var(--text-2xl);
    }
}

/* Video Preview - Professional styling */
.video-preview-container {
    margin-bottom: var(--space-16);
    display: flex;
    justify-content: center;
}

.video-preview {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--slate-100), var(--slate-200));
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-all);
    cursor: pointer;
}

.video-preview:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.video-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-button {
    width: 64px;
    height: 64px;
    background: var(--slate-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-all);
    position: relative;
    z-index: 2;
}

.video-play-button:hover {
    transform: scale(1.1);
    background: var(--slate-800);
}

.video-overlay {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.video-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--white);
    align-self: flex-start;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: indicator-pulse 2s ease-in-out infinite;
}

@keyframes indicator-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.video-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    align-self: stretch;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    border-radius: var(--radius-full);
    width: 0%;
    animation: progress-fill 3s ease-in-out infinite;
}

@keyframes progress-fill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Hero CTA */
.hero-cta {
    margin-bottom: var(--space-20);
}

/* Hero Stats - Professional grid */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-8);
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-item {
    text-align: center;
    padding: var(--space-6);
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    transition: var(--transition-all);
}

.stat-item:hover {
    background: var(--slate-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--slate-900);
    margin-bottom: var(--space-2);
    line-height: var(--leading-none);
}

.stat-label {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--slate-600);
}

/* ===== PROFESSIONAL FEATURES SECTION ===== */

.features {
    padding: var(--space-32) 0;
    background: var(--slate-50);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-20);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-light);
    color: var(--slate-900);
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--text-6xl);
    }
}

.section-subtitle {
    font-size: var(--text-lg);
    font-weight: var(--font-light);
    line-height: var(--leading-relaxed);
    color: var(--slate-600);
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: var(--text-xl);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Feature Cards - Exact match to auth styling */
.feature-card {
    padding: var(--space-8);
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    transition: var(--transition-all);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: var(--slate-50);
    border-color: var(--slate-300);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    transition: var(--transition-all);
}

.feature-card:hover .feature-icon {
    background: var(--slate-200);
    transform: scale(1.05);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--slate-600);
}

.feature-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--slate-900);
    margin-bottom: var(--space-4);
    line-height: var(--leading-tight);
}

.feature-description {
    font-size: var(--text-sm);
    font-weight: var(--font-light);
    line-height: var(--leading-relaxed);
    color: var(--slate-600);
}

.feature-demo {
    margin-top: var(--space-6);
    height: 60px;
    background: var(--slate-100);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    position: relative;
    overflow: hidden;
}

/* ===== PROFESSIONAL CTA SECTION ===== */

.cta-section {
    padding: var(--space-32) 0;
    background: var(--white);
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-light);
    color: var(--slate-900);
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: var(--text-6xl);
    }
}

.cta-subtitle {
    font-size: var(--text-lg);
    font-weight: var(--font-light);
    line-height: var(--leading-relaxed);
    color: var(--slate-600);
    margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
    .cta-subtitle {
        font-size: var(--text-xl);
    }
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

/* ===== PROFESSIONAL FOOTER ===== */

.footer {
    padding: var(--space-16) 0 var(--space-8);
    background: var(--slate-900);
    color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: var(--space-6);
        text-align: center;
    }
}

.footer-logo .logo-container {
    margin-bottom: var(--space-3);
}

.logo-simple {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--slate-700), var(--slate-600));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-black);
    font-size: var(--text-base);
    color: var(--white);
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--slate-400);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--space-6);
}

.footer-links a {
    color: var(--slate-300);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    transition: var(--transition-colors);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--slate-800);
}

.footer-bottom p {
    font-size: var(--text-xs);
    color: var(--slate-500);
    margin: 0;
}

/* ===== PROFESSIONAL RESPONSIVE UTILITIES ===== */

@media (max-width: 640px) {
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .cta-title {
        font-size: var(--text-4xl);
    }
    
    .btn-large {
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-base);
    }
}

/* ===== PROFESSIONAL ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {
    .btn,
    .feature-card,
    .stat-item,
    .video-preview {
        transition: none;
    }
    
    .btn:hover,
    .feature-card:hover,
    .stat-item:hover,
    .video-preview:hover {
        transform: none;
    }
}