/* ===== DESIGN SYSTEM & RESET ===== */
:root {
    /* Colors */
    --primary: #0B213E;
    /* Azul Profundo (OSG) */
    --secondary: #FF6B00;
    /* Laranja Vibrante (Destaque) */
    --accent: #7C3AED;
    /* Roxo (Novo Branding) */
    --text-dark: #1e293b;
    --text-gray: #475569;
    /* Slightly darker gray for better readability */
    --bg-light: #F0F2F5;
    /* Darker clean gray */
    --bg-white: #FFFFFF;

    /* Fonts */
    --font-main: 'Inter', sans-serif;
    --font-display: 'Montserrat', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media (prefers-color-scheme: dark) {
    :root {
        /* Colors */
        --primary: #38bdf8;
        /* Lighter Blue for Dark Mode */
        --text-dark: #f1f5f9;
        /* White-ish */
        --text-gray: #94a3b8;
        /* Light Gray */
        --bg-light: #0f172a;
        /* Dark Blue/Gray Background */
        --bg-white: #1e293b;
        /* Card Background (Slate-800) */

        /* Adjust Shadows for Dark Mode to be more subtle or invisible */
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* Set HTML background to footer color to hide any bottom whitespace */
html {
    background-color: #0B213E;
    /* Matches Footer Color */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #fff;
    /* Ensure white bg for main content */
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== COMPONENTS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(255, 107, 0, 0.39);
}

.btn-primary:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.23);
}

.btn-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.39);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.23);
    color: white;
}

.btn-telegram {
    background: #0088cc;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0, 136, 204, 0.39);
}

.btn-telegram:hover {
    background: #006699;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.23);
    color: white;
}

.section-padding {
    padding: 40px 0;
    /* Reduced from 60px */
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    /* Reduced from 50px */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header span {
    display: block;
    margin-bottom: 10px;
}

.text-center {
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== UTILITIES ===== */
.text-orange {
    color: var(--secondary);
}

.text-blue {
    color: var(--primary);
}

.bg-light {
    background-color: var(--bg-light);
}

/* Purple Utilities */
.text-purple {
    color: var(--accent);
}

.bg-purple-light {
    background-color: #F3E8FF;
    /* Light purple for badges/bg */
}

.border-purple {
    border-color: var(--accent) !important;
}

.btn-purple {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(124, 58, 237, 0.39);
}

.btn-purple:hover {
    background: #6D28D9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.23);
    color: white;
}

/* ===== HEADER ===== */
.header {
    background-color: var(--bg-white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-list a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--secondary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, rgba(11, 33, 62, 0.92) 0%, rgba(11, 33, 62, 0.88) 100%),
        url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    /* Reduced vertical padding */
    position: relative;
    overflow: hidden;
    text-align: center;
    /* Center alignment */
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    /* Center the container */
    position: relative;
    z-index: 2;
}

.hero-tag {
    background: rgba(255, 107, 0, 0.15);
    color: var(--secondary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 107, 0, 0.4);
}

.hero-title {
    font-size: 4rem;
    /* Increased size */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.hero-description {
    font-size: 1.3rem;
    /* Slightly larger */
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 40px;
    /* Center with margin */
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    /* Center buttons */
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
    /* Center stats */
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1.1rem;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--secondary);
}

.service-card.featured {
    /* border-top-color removed to prevent fixed color */
    box-shadow: var(--shadow-lg);
}

/* Specific Hover for Purple Cards */
.service-card.border-purple {
    border-color: transparent !important;
    /* Reset to transparent initially */
    border-top: 4px solid transparent;
}

.service-card.border-purple:hover {
    border-top-color: var(--accent) !important;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover .card-icon {
    background: var(--secondary);
    color: white;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.card-list {
    margin-bottom: 30px;
}

.card-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.card-list i {
    font-size: 0.8rem;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.card-link:hover {
    color: var(--secondary);
    gap: 12px;
}

/* ===== ABOUT SECTION ===== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-unique, 20px 20px 0px rgba(11, 33, 62, 0.1));
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--secondary);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    line-height: 1;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.feature-box i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feature-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ===== CTA SECTION ===== */
.cta {
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
}

.cta-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-family: var(--font-display);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.cta-form {
    color: var(--text-dark);
}

.cta-form h3 {
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-footer {
    color: white;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a:hover {
    color: var(--secondary);
}

.footer-col p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .mobile-hidden {
        display: none !important;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--bg-white);
        padding: 20px;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-container,
    .about-container,
    .cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .experience-badge {
        right: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* ===== CLIENTS SECTION (Fading Grid) ===== */
.clients {
    background: var(--bg-light);
    /* Light subtle background for depth */
    position: relative;
    z-index: 1;
    padding: 60px 0;
    /* Restored padding */
}

.clients-fade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    /* Slightly larger cards */
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
    padding: 20px;
}

.client-logo-item {
    width: 160px;
    height: 100px;
    /* Taller card */
    background: var(--bg-white);
    border-radius: 12px;
    /* Soft corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    /* Depth shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;

    /* Animation Props */
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy "Pop" effect */
    transform: scale(1) translateY(0);
    opacity: 1;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.client-logo-item:hover {
    transform: translateY(-5px);
    /* Lift on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.client-logo-item:hover img,
.client-logo-item.highlight img {
    /* Add highlight support */
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
    /* Slight pop when new */
}

/* Fading/Zoom Out State */
.client-logo-item.fading {
    transform: scale(0.5) translateY(10px);
    /* Zoom out and drop slightly */
    opacity: 0;
}

/* Carousel Navigation Hover */
.carousel-btn:hover {
    background: #FF6B00 !important;
    color: white !important;
    transform: translateY(-50%) scale(1.1) !important;
    border-color: #FF6B00 !important;
}

.client-logo-item img {
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    /* Force grayscale default */
    opacity: 0.6;
    transition: all 0.4s ease;
}

.client-logo-item:hover img,
.client-logo-item.highlight img {
    filter: grayscale(0);
    /* Remove grayscale on hover/highlight */
    opacity: 1;
}

@media (prefers-color-scheme: dark) {

    /* In dark mode, logos need a light background to maintain correct colors */
    .client-logo-item {
        background: white !important;
        opacity: 0.9;
        /* Slight dim to reduce glare */
    }

    .client-logo-item img {
        filter: grayscale(100%);
        /* Standard grayscale */
        opacity: 0.7;
    }

    .client-logo-item:hover {
        opacity: 1;
        /* Brighten on hover */
    }

    .client-logo-item:hover img,
    .client-logo-item.highlight img {
        filter: grayscale(0);
        /* Reveal original colors correctly */
        opacity: 1;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== NEW SECTIONS: PORTFOLIO GRID & MODAL ===== */
.portfolio-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.portfolio-thumb {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-thumb img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.portfolio-link {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 33, 62, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-white);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 12px;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--secondary);
    color: white;
}

.modal-body {
    padding: 0;
}

.modal-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.modal-details {
    padding: 30px;
}

.full-img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    background-color: #0d0d0d;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #333;
}

.modal-details h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-family: var(--font-display);
}

.modal-details p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* Modal Gallery */
.modal-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .modal-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.modal-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-gallery img:hover {
    transform: scale(1.05);
}

/* ===== NEW SECTIONS: DOWNLOADS ===== */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: center;
}

.download-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.download-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.download-title {
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.download-meta {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    display: block;
}

.btn-download {
    width: 100%;
    padding: 8px;
    font-size: 0.85rem;
}

/* ===== NEW SECTIONS: SUPPORT PROCESS & PLANS ===== */

/* Process Timeline (Como Funciona) */
.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1100px;
    margin: 50px auto 0;
    gap: 20px;
    flex-wrap: wrap;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: #e2e8f0;
    z-index: 0;
    display: block;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    min-width: 180px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-white);
    border: 3px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    background: var(--secondary);
    color: white;
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* Support Plans (Pricing) */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary);
}

.plan-card.featured-plan {
    border: 2px solid var(--secondary);
    background: var(--bg-white);
    transform: scale(1.03);
}

.plan-card.featured-plan:hover {
    transform: scale(1.05);
}

.plan-tag {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--secondary);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.plan-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 800;
}

.plan-header p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    height: 40px;
    /* Aligns heights */
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    flex-grow: 1;
    /* Pushes button down */
    text-align: left;
}

.plan-features li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.plan-features li i {
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

.plan-features li i.fa-times {
    color: #ccc;
}

.btn-plan {
    width: 100%;
}

@media (max-width: 768px) {
    .process-timeline::before {
        display: none;
    }

    .process-timeline {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }

    .plan-card.featured-plan {
        transform: scale(1);
    }
}