:root {
    --primary-color: #0d1b2a;
    --primary-light: #1b263b;
    --secondary-color: #e0e1dd;
    --accent-color: #f7b731;
    --text-color: #415a77;
    --text-dark: #1b263b;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
}

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

/* Navbar */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color) !important;
    letter-spacing: -1px;
}

.navbar-brand span {
    color: var(--accent-color);
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: radial-gradient(circle at top right, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

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

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.hero-image-container {
    margin-top: 3rem;
    perspective: 1000px;
}

.hero-image {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 5px solid var(--white);
}

.hero-image:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* Generic Section */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

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

/* Pricing Section */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    width: 340px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: var(--transition);
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--accent-color);
    background: var(--primary-color);
    color: var(--white);
}

.pricing-card.popular h3, 
.pricing-card.popular .price, 
.pricing-card.popular .description {
    color: var(--white);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Social Section */
.social-section {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.social-section h2 {
    color: var(--white);
}

.social-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .navbar-nav {
        display: none; /* simple placeholder for mobile menu */
    }
}

/* Header Action Button */
.btn-header {
    background: var(--accent-color) !important;
    color: var(--primary-color) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 8px;
    font-weight: 700 !important;
    margin-left: 1rem;
    box-shadow: 0 4px 15px rgba(247, 183, 49, 0.3);
}

.btn-header::after {
    display: none !important; /* Remove individual hover underline */
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 183, 49, 0.4);
    background: #ffc241 !important; /* Ligeiramente mais claro no hover */
}