/* Cassio Agency - Modern Web Design */
:root {
    --primary-color: #0F172A;
    /* Deep Blue-Black */
    --secondary-color: #475569;
    /* Blue-Grey */
    --accent-color: #3B82F6;
    /* Vibrant Blue */
    --secondary-accent: #8B5CF6;
    /* Vibrant Violet */
    --accent-hover: #2563EB;

    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --gradient-hover: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    --gradient-text: linear-gradient(to right, #2563EB, #9333EA);
    --gradient-border: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.5));

    --bg-white: #FFFFFF;
    --bg-light: #F0F9FF;
    /* Very pale blue */
    --bg-gradient-soft: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 100%);
    --bg-gradient-warm: linear-gradient(135deg, #FFF1F2 0%, #FFF7ED 100%);
    /* Subtle warm tint for variety */

    --text-light: #FFFFFF;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 4px 6px -1px rgba(59, 130, 246, 0.1), 0 2px 4px -1px rgba(59, 130, 246, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(59, 130, 246, 0.1), 0 4px 6px -2px rgba(59, 130, 246, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(139, 92, 246, 0.15), 0 10px 10px -5px rgba(139, 92, 246, 0.1);
    --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.5);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--primary-color);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    /* Pillow shape for modern look */
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--secondary-color);
    font-size: 1.125rem;
}

/* --- Components & Sections --- */

/* 1. Promotional Banner */
.promo-banner {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 0;
    position: relative;
    z-index: 100;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-badge {
    background: var(--accent-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
}

.promo-text strong {
    font-weight: 700;
    margin-right: 0.5rem;
}

.promo-sub {
    color: #ccc;
    font-size: 0.85rem;
    margin-right: 1rem;
}

.promo-btn {
    background: white;
    color: black;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    /* Small pill */
    font-weight: 700;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.promo-btn:hover {
    background: #e2e2e2;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 90;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.logo span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent-color);
    /* Fallback */
}



.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
}

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

/* 2. Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 6rem 0;
    background: url('assets/hero-bg.png') no-repeat center center/cover;
    /* Fallback if image fails or for overlay */
    background-color: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.03em;
    background: linear-gradient(to right, #111 20%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
}

/* 3. Services (Simplified) */
.services {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: #e2e8f0;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: visible;
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        0 4px 6px -2px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.service-card:hover {
    transform: translateY(-10px);
    background: #cbd5e1;
    box-shadow:
        0 25px 30px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(59, 130, 246, 0.1);
}

.service-card::before {
    display: none;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--secondary-color);
    font-size: 0.95rem;
}


/* 4. Packages (Pricing CSS) */
.packages {
    background: var(--bg-gradient-soft);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

/* Highlighted Promo Card */
.pricing-card.promo {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.promo-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    box-shadow: var(--shadow-glow);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.price .old-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: var(--secondary-color);
    margin-left: 0.5rem;
    font-weight: 400;
}

.features-list {
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.features-list li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.8rem;
}

/* 5. Portfolio */
.portfolio {
    background: var(--bg-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1rem;
    color: white;
    transform: translateY(0);
    transition: var(--transition);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
}

.portfolio-text {
    flex: 1;
}

.portfolio-text h4 {
    margin: 0 0 0.25rem 0;
}

.portfolio-text p {
    margin: 0;
}

.portfolio-btn {
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.portfolio-btn:hover {
    background: var(--secondary-accent);
    transform: translateY(-2px);
}

/* 6. Testimonials */
.testimonials {
    background: var(--bg-gradient-warm);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    font-style: italic;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.client-name {
    font-weight: 700;
    color: var(--primary-color);
    font-style: normal;
}

/* 7. Footer CTA */
.final-cta {
    background: #000;
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.final-cta h2 {
    color: white;
    margin-bottom: 2rem;
}

.footer {
    background: #000;
    color: #666;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #222;
    font-size: 0.9rem;
}

/* Fixed WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
    opacity: 0;
    transform: scale(0);
}

.whatsapp-float.show {
    opacity: 1;
    transform: scale(1);
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-float i {
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: var(--font-body);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: white;
}

.whatsapp-float.show-tooltip .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 55px;
        height: 55px;
        font-size: 1.75rem;
    }

    .whatsapp-tooltip {
        right: 65px;
        font-size: 0.8rem;
        padding: 0.6rem 0.85rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .promo-banner {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .pricing-card.promo {
        transform: scale(1);
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: var(--shadow-sm);
    }

    .pricing-card.promo .promo-tag {
        top: -10px;
    }

    .nav-menu {
        /* Simple hide for now or stack */
        display: none;
        /* In a real app we'd do a hamburger, but keeping it simple for this "simple site" prompt unless requested */
    }

    /* Let's make a simple mobile nav fix */
    .nav-container {
        flex-wrap: wrap;
    }
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.why-us-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}


/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: white;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--secondary-color);
    line-height: 1.6;

    margin: 0;
}

@media (max-width: 768px) {
    .pricing-grid {
        display: flex;
        flex-direction: column;
    }

    .pricing-card.promo {
        order: -1;
        transform: scale(1);
    }
}