/* ==================== DESIGN SYSTEM 2.0 ==================== */
:root {
    /* Brand Colors - High Fidelity */
    --primary: #A7C7E7;
    --primary-dark: #3A8AAF;
    --primary-light: #E1EFFE;
    --primary-glow: rgba(75, 163, 195, 0.4);

    --secondary: #BEE3D8;
    --secondary-dark: #7ABEA9;
    --secondary-light: #F0F9F6;

    --accent: #D9C6F0;
    --accent-dark: #A586CC;

    /* Neutrals */
    --bg-main: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border-light: rgba(226, 232, 240, 0.8);

    /* Glassmorphism Refined */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);

    /* Elevation */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.15);

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-max: 1280px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

/* Mesh Gradient Background */
.mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #ffffff;
    background-image:
        radial-gradient(at 0% 0%, hsla(210, 100%, 95%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(160, 100%, 95%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(270, 100%, 95%, 1) 0, transparent 50%);
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
.font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ==================== LAYOUT ==================== */
section {
    padding: 100px 20px;
    position: relative;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ==================== HEADER ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--glass-shadow);
    padding: 15px 0;
}

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

.logo img {
    height: 45px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.btn-nav {
    background: var(--primary-dark);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(75, 163, 195, 0.3);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 163, 195, 0.4);
}

/* ==================== HERO SECTION REDESIGN ==================== */
.hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: visible;
}

.hero-content {
    text-align: left;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: slideDown 0.8s ease-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: var(--text-main);
    background: linear-gradient(to right, #0F172A, #3A8AAF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
}

.hero-image-wrapper {
    position: relative;
    perspective: 1000px;
}

.hero-image-container {
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: var(--shadow-lg);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.hero-image-container:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.hero-image-container img {
    width: 100%;
    display: block;
}

/* Decorative elements */
.hero-glow-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: -1;
    filter: blur(60px);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-hero {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-primary {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 10px 30px rgba(75, 163, 195, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(75, 163, 195, 0.4);
}

.btn-hero-outline {
    background: white;
    color: var(--primary-dark);
    border: 2px solid var(--primary-light);
}

.btn-hero-outline:hover {
    background: var(--bg-main);
    border-color: var(--primary-dark);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.hero-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 6s ease-in-out infinite;
}

.fc-1 {
    bottom: 40px;
    left: -30px;
}

.fc-2 {
    top: 40px;
    right: -30px;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ==================== FEATURES ==================== */
.section-tag {
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 12px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Feature Cards Refined */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 48px;
    border-radius: 32px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    background: var(--primary-light);
    border-radius: 20px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
}

.feature-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.feature-card p {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==================== PRICING ==================== */
.pricing {
    background: white;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--bg-main);
    padding: 50px 40px;
    border-radius: 32px;
    width: 380px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.pricing-card.popular {
    background: white;
    border-color: var(--primary-dark);
    box-shadow: 0 30px 60px rgba(75, 163, 195, 0.15);
    transform: scale(1.05);
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-dark);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price .currency {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--primary-dark);
}

.btn-pricing {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    font-weight: 700;
    text-align: center;
}

.btn-pricing-primary {
    background: var(--primary-dark);
    color: white;
}

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

/* ==================== FOOTER ==================== */
footer {
    background: var(--text-main);
    color: white;
    padding: 80px 20px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #bdc3c7;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .fc-2 {
        display: none;
    }
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 120px 20px;
    background: var(--bg-subtle);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: white !important;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    margin-top: 20px;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.contact-form-card {
    background: white;
    padding: 50px;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 2px solid var(--bg-subtle);
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background: var(--bg-subtle);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    background: var(--primary-dark);
    color: white;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #2e718f;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}