/* ==========================================================================
   Simples Marcar - Design System & Custom Styles (Premium SaaS Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette matching Logo (Blue + Emerald Green) */
    --color-primary: #0F172A;       /* Slate 900 - Text & Main */
    --color-primary-dark: #020617;  /* Slate 950 - Footer/Dark Mode */
    --color-blue-logo: #00509D;     /* Logo Blue */
    --color-green-logo: #10B981;    /* Logo Green */
    --color-blue-light: #E0F2FE;    /* Sky 100 */
    --color-green-light: #D1FAE5;   /* Emerald 100 */
    
    /* Semantic Colors */
    --color-text-dark: #1E293B;     /* Slate 800 */
    --color-text-light: #64748B;    /* Slate 500 */
    --color-bg-light: #F8FAFC;      /* Slate 50 */
    --color-white: #FFFFFF;
    
    /* Layout */
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Transitions & Shadows */
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 80, 157, 0.12);
}

/* ==========================================================================
   Resets & Base Typography
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Outfit', sans-serif;
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.75rem;
}

p {
    color: var(--color-text-light);
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

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

.text-center {
    text-align: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-blue-logo);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(0, 80, 157, 0.4);
}

.btn-primary:hover {
    background-color: #003F7D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 80, 157, 0.5);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-blue-logo);
    color: var(--color-blue-logo);
}

.btn-secondary:hover {
    background-color: var(--color-blue-logo);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--color-green-logo) 0%, #059669 100%);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-accent:hover {
    filter: brightness(105%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* ==========================================================================
   Header & Navigation (Glassmorphism)
   ========================================================================== */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-fast);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.logo-text span {
    color: var(--color-blue-logo);
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    align-items: center;
    list-style: none;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    position: relative;
    padding: 4px 0;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-blue-logo);
    transition: var(--transition-fast);
}

.nav-links a:not(.btn):hover {
    color: var(--color-blue-logo);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-links .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.875rem;
}

/* Mobile Menu Trigger */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section (Premium Visuals)
   ========================================================================== */
#hero {
    padding-top: 160px;
    padding-bottom: 7rem;
    background: radial-gradient(circle at 80% 20%, rgba(224, 242, 254, 0.6) 0%, rgba(255, 255, 255, 0) 50%),
                radial-gradient(circle at 10% 80%, rgba(209, 250, 229, 0.4) 0%, rgba(255, 255, 255, 0) 50%);
    position: relative;
}

#hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-blue-light);
    color: var(--color-blue-logo);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 80, 157, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 80, 157, 0.2); }
    70% { box-shadow: 0 0 0 10px rgba(0, 80, 157, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 80, 157, 0); }
}

.hero-content h1 span {
    color: var(--color-blue-logo);
    position: relative;
    display: inline-block;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--color-green-light);
    z-index: -1;
    border-radius: 4px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-light);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-placeholder-hero {
    width: 100%;
    border-radius: var(--border-radius-lg);
    background-color: var(--color-white);
    padding: 10px;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-8deg) rotateX(5deg) scale(1.02);
    transition: var(--transition-normal);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.img-placeholder-hero img {
    border-radius: var(--border-radius-md);
    width: 100%;
    height: auto;
    display: block;
}

.hero-image:hover .img-placeholder-hero {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

/* ==========================================================================
   Social Proof (Trusted By)
   ========================================================================== */
#trusted-by {
    padding: 3rem 0;
    background-color: var(--color-white);
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

#trusted-by p {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.logos-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.6;
}

.logo-placeholder {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-placeholder i {
    color: var(--color-blue-logo);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.section-header {
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
}

.section-header p {
    font-size: 1.15rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.feature-card {
    background-color: var(--color-white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    transition: var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 80, 157, 0.15);
}

.feature-card:hover::before {
    background-color: var(--color-blue-logo);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    background-color: var(--color-blue-light);
    color: var(--color-blue-logo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background-color: var(--color-blue-logo);
    color: var(--color-white);
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    font-size: 0.975rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
#testimonials {
    background: linear-gradient(180deg, var(--color-bg-light) 0%, #EFF6FF 100%);
}

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

.testimonial-card {
    background-color: var(--color-white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.4);
    position: relative;
    transition: var(--transition-normal);
}

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

.testimonial-card::after {
    content: "“";
    font-family: 'Outfit', sans-serif;
    font-size: 8rem;
    color: #E2E8F0;
    position: absolute;
    top: -20px;
    right: 30px;
    line-height: 1;
    z-index: 0;
    opacity: 0.7;
}

.testimonial-content {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    color: #334155;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.author-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--color-blue-logo);
    box-shadow: 0 4px 10px rgba(0, 80, 157, 0.15);
}

.author-info h4 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.author-info p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
#pricing {
    background-color: var(--color-white);
}

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

.pricing-card {
    background-color: var(--color-white);
    padding: 4rem 2.5rem 3.5rem 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.pricing-card.popular {
    border: 2px solid var(--color-blue-logo);
    box-shadow: var(--shadow-lg);
}

.popular-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-blue-logo) 0%, #1D4ED8 100%);
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 10px rgba(0, 80, 157, 0.3);
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price span {
    font-size: 1.125rem;
    color: var(--color-text-light);
    font-weight: 500;
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 3.5rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1.15rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #475569;
}

.pricing-features li i {
    color: var(--color-green-logo);
    font-size: 1.1rem;
    background-color: var(--color-green-light);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card .btn {
    width: 100%;
}

/* ==========================================================================
   Call to Action (CTA)
   ========================================================================== */
#cta-final {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    text-align: center;
}

#cta-final::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 80, 157, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

#cta-final .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

#cta-final h2 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

#cta-final p {
    color: #94A3B8;
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

#cta-final .btn {
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--color-primary-dark);
    color: #64748B;
    padding: 6rem 0 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-about .logo-text {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.75rem;
}

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

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: #94A3B8;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #475569;
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.footer-socials a:hover {
    background-color: var(--color-blue-logo);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    #hero .container { gap: 2rem; }
    .footer-grid { gap: 2.5rem; }
}

@media (max-width: 968px) {
    #hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .img-placeholder-hero {
        transform: none;
        max-width: 600px;
    }
    
    .hero-image:hover .img-placeholder-hero {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--color-white);
        width: 80%;
        height: 100vh;
        padding: 6rem 2rem 2rem 2rem;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
        align-items: flex-start;
        transition: var(--transition-normal);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a:not(.btn) {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #F1F5F9;
    }
    
    .nav-links .btn {
        margin-top: 1.5rem;
        width: 100%;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
}