:root {
    --accent: #6c5ce7;
    --accent-dark: #5a4bd1;
    --accent-light: #a29bfe;
}

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

/* Navbar */
#mainNav {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: background 0.3s;
}

#mainNav.scrolled {
    background: rgba(0, 0, 0, 0.95);
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-light) !important;
}

/* Hero */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero-title {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Buttons */
.btn-accent {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.4);
}

.btn-outline-accent {
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* Section titles */
.section-title {
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card.popular {
    border: 2px solid var(--accent);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.service-icon {
    color: var(--accent);
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.features-list li {
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.features-list li:last-child {
    border-bottom: none;
}

/* Case Cards */
.case-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

.metric-value {
    font-size: 1.5rem;
}

.text-accent {
    color: var(--accent) !important;
}

/* Testimonials */
.testimonial-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.testimonial-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-photo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* FAQ */
.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion-button {
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: var(--accent);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.contact-form .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(108, 92, 231, 0.25);
}

/* Footer */
footer {
    background: #1a1a2e !important;
}

.social-links a {
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.7;
}

/* Image Generator */
.imagegen-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.imagegen-card .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(108, 92, 231, 0.25);
}

.spinner-border.text-accent {
    color: var(--accent) !important;
}

#genImage {
    max-width: 100%;
    border-radius: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .contact-form {
        padding: 25px;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

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

.service-card, .case-card, .testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}
