/* Parafix Landing Page Styles */

/* General Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --warning-color: #ffc107;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.3s ease;
}

.navbar-brand .logo {
    width: 40px;
    height: 40px;
}

.navbar-scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero-section {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-image img,
.hero-illustration {
    max-width: 90%;
    height: auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover,
.hero-illustration:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-illustration svg {
    filter: drop-shadow(0 20px 40px rgba(102, 126, 234, 0.2));
}

/* Features Section */
#features {
    padding-top: 120px !important;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.feature-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Steps */
.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    opacity: 0.3;
    z-index: -1;
}

@media (max-width: 767px) {
    .step-number::after {
        display: none;
    }
}

/* CTA Section */
.bg-primary {
    background: var(--primary-gradient) !important;
}

/* Footer */
footer .logo {
    width: 40px;
    height: 40px;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--warning-color) !important;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
    }
    
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
}

/* Loading Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Smooth Scroll */
html {
    scroll-padding-top: 120px;
}

/* Section spacing */
section[id] {
    scroll-margin-top: 120px;
}

#how-it-works {
    padding-top: 100px !important;
}

#contact {
    padding-top: 100px !important;
}

/* Custom Button Styles */
.btn-warning {
    background: var(--warning-color);
    border: none;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Navbar Scroll Effect */
.navbar:not(.navbar-scrolled) {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar:not(.navbar-scrolled) .nav-link {
    color: #333 !important;
    font-weight: 500;
}

.navbar:not(.navbar-scrolled) .navbar-brand {
    color: #667eea !important;
}

.navbar:not(.navbar-scrolled) .btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
    font-weight: 500;
}

.navbar:not(.navbar-scrolled) .btn-outline-primary:hover {
    background-color: #667eea;
    color: white;
}

.navbar:not(.navbar-scrolled) .btn-primary {
    background-color: #667eea;
    border-color: #667eea;
    color: white;
    font-weight: 500;
}

.navbar:not(.navbar-scrolled) .btn-primary:hover {
    background-color: #5a6fd8;
    color: white;
}
