/* ==========================================================================
   CONCEPTUM - Premium Business Partner
   ========================================================================== */

/* --- 1. CSS Variables & Theme --- */
:root {
    /* Colors */
    --bg-main: #0a0a0a;
    --bg-secondary: #121212;
    --bg-card: rgba(30, 30, 30, 0.6);
    --bg-card-hover: rgba(45, 45, 45, 0.8);

    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #1a1a1a;

    /* Accents: Soft Premium Gold / Amber */
    --accent-color: #d4af37;
    --accent-hover: #e5b869;
    --accent-glow: rgba(212, 175, 55, 0.3);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. Reset & Base Styles --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: var(--space-xl) 0;
}

.dark-section {
    background-color: var(--bg-secondary);
}

/* --- 3. Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.accent-text {
    color: var(--accent-color);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: var(--text-muted);
}

/* --- 4. Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.btn-link i {
    transition: transform 0.3s;
}

.btn-link:hover {
    color: var(--accent-color);
}

.btn-link:hover i {
    transform: translateX(5px);
}

/* --- 5. Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-normal);
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
    z-index: 1001;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    opacity: 0.8;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

/* --- 6. Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.8) 100%);
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 5.5rem);
    margin-bottom: 1.5rem;
    animation: fadeUp 1s ease 0.2s both;
    word-break: break-word;
    /* Prevents long words like "Transformamos" from overflowing */
}

.hero-subtitle {
    font-size: clamp(1.2rem, 1.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    animation: fadeUp 1s ease 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    animation: fadeUp 1s ease 0.6s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeUp 1s ease 1s both;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 4px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* --- 7. Layout Grids & Cards --- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--glass-shadow);
}

/* --- 8. Universo Conceptum (Services) --- */
.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    transition: var(--transition-fast);
}

.glass-card:hover .card-image {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.service-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.service-features {
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-features i {
    color: var(--accent-color);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* --- 9. Credibility & Stats --- */
.credibility-header {
    text-align: center;
    margin-bottom: 4rem;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 6rem;
    opacity: 0.7;
}

.brand-item {
    text-align: center;
    padding: 1rem 2rem;
    filter: grayscale(100%);
    transition: var(--transition-normal);
}

.brand-item:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.brand-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number,
.stat-plus {
    font-size: 4rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* --- 10. Portfolio --- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    padding: 8px 24px;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-body);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--text-main);
    color: var(--text-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.portfolio-overlay p {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    transform: translateY(20px);
    transition: var(--transition-normal);
    transition-delay: 0.1s;
}

.btn-icon {
    background: var(--accent-color);
    color: var(--text-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    transform: translateY(20px) scale(0.8);
    transition: var(--transition-normal);
    transition-delay: 0.2s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .btn-icon {
    transform: translateY(0) scale(1);
}

/* --- 11. Plans / Pricing --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    position: relative;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.recommended {
    background: linear-gradient(145deg, rgba(45, 45, 45, 0.9), rgba(20, 20, 20, 0.9));
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.1);
    z-index: 2;
}

.pricing-card.recommended:hover {
    transform: scale(1.05) translateY(-10px);
}

.recommended-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 6px 20px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
    display: block;
}

.current-price {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.period {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-muted);
}

.tag {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-features {
    margin-bottom: 3rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.pricing-features i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

/* --- 12. Process / Timeline --- */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 4rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    background: var(--bg-main);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    z-index: 1;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.timeline-content {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: var(--glass-border);
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 30px;
    border-width: 15px 15px 15px 0;
    border-style: solid;
    border-color: transparent var(--bg-card) transparent transparent;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-muted);
}

/* --- 13. CTA Banner --- */
.cta-banner {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?q=80&w=2000&auto=format&fit=crop') center/cover fixed;
}

.cta-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* --- 14. Team --- */
.team-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: var(--glass-border);
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img-wrapper {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
    filter: grayscale(80%);
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    transition: var(--transition-normal);
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.team-social a:hover {
    background: white;
    transform: scale(1.1);
}

.team-info {
    padding: 2rem;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.team-role {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.team-short {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* --- 15. Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.detail-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.detail-item p,
.detail-item a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.detail-item a:hover {
    color: var(--accent-color);
}

.glass-panel {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    backdrop-filter: blur(20px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-wrap label,
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

input,
textarea {
    width: 100%;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.5);
}

.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.btn-submit {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--text-dark);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: var(--radius-sm);
    display: none;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(37, 211, 102, 0.2);
    color: #25D366;
    border: 1px solid #25D366;
}

.form-message.error {
    background: rgba(255, 87, 34, 0.2);
    color: #FF5722;
    border: 1px solid #FF5722;
}

/* --- 16. Footer --- */
.footer {
    background: #050505;
    padding-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 350px;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-color);
    color: var(--text-dark);
    border-color: var(--accent-color);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a:hover {
    color: white;
}

/* --- 17. Animations & Modals --- */
.animate-on-scroll {
    opacity: 0;
    transition: var(--transition-slow);
}

.fade-up {
    transform: translateY(40px);
}

.fade-in {
    opacity: 0;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-up>* {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.stagger-up.is-visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal-body-inner img.modal-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.modal-body-inner h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.modal-body-inner h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.modal-body-inner p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.modal-ul {
    padding-left: 20px;
    list-style: disc;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.modal-ul li {
    margin-bottom: 0.5rem;
}

/* --- 18. Responsive Design --- */
@media (max-width: 1200px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .pricing-card.recommended {
        transform: scale(1);
    }

    .pricing-card.recommended:hover {
        transform: translateY(-10px);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        transition: var(--transition-normal);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav.nav-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .nav-btn {
        margin-top: 2rem;
        width: 100%;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-content::after {
        top: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--space-lg) 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .form-group.row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .portfolio-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        text-align: center;
    }
}