/* Base styles */
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #16a34a;
    --secondary-hover: #15803d;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --bg-gradient-start: #f6f9fc;
    --bg-gradient-end: #eef2f7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Phone mockup styles */
.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #1a1a1a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Background gradients */
.gradient-bg {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

/* Feature cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

/* Navigation */
.nav-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Screenshot cards */
.screenshot-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Testimonial cards */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* FAQ section */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content.hidden {
    max-height: 0;
}

.faq-icon {
    transition: transform 0.3s ease;
}

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

.faq-button:hover .faq-icon {
    color: #2563eb;
}

/* Navigation */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
.mobile-menu {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.hidden {
    transform: translateX(-100%);
    opacity: 0;
}

/* Download buttons */
.download-button {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero section */
.hero-title {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero-description {
    animation: fadeIn 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    animation: fadeIn 1s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-image {
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .feature-card, .screenshot-card, .testimonial-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}

html {
    scroll-behavior: smooth;
} 