/* Design System & Root Variables */
:root {
    --primary: #008080;
    --primary-light: #00a0a0;
    --primary-dark: #006666;
    --secondary: #4CAF50;
    --accent: #FF9800;
    --text-main: #2c3e50;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 2px 4px 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);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 16px 40px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 16px 40px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Header & Navigation */
.top-bar {
    background: var(--primary-dark);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sep { opacity: 0.3; margin: 0 5px; }

.top-social a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.main-header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

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

.header-logo {
    height: 55px;
    transition: var(--transition);
}

.scrolled .header-logo { height: 45px; }

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-main {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

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

.nav-item {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-item:hover { color: var(--primary); }

.dropdown { position: relative; }
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 15px 0;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 25px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: 0.2s;
}

.dropdown-content a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 30px;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle .bar {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 5px;
    transition: var(--transition);
}

.mobile-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
.mobile-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Hero Section */
.hero-v2 {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.05) 0%, rgba(76, 175, 80, 0.05) 100%);
    overflow: hidden;
}

.hero-v2 .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

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

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.card-1 { bottom: 40px; left: -30px; animation: float 6s ease-in-out infinite; }
.card-2 { top: 40px; right: -30px; animation: float 6s ease-in-out infinite 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}


/* Footer */
.main-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 100px 0 0;
    margin-top: 100px;
}

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

.footer-logo {
    height: 60px;
    margin-bottom: 25px;
}

.footer-brand p {
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer-socials { display: flex; gap: 15px; }
.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover { background: var(--primary); transform: translateY(-3px); }

.footer-links h4, .footer-newsletter h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover { color: white; padding-left: 5px; }

.footer-contact p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Header & Footer Placeholders */
#header-placeholder { min-height: 120px; }
#footer-placeholder { min-height: 400px; }

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        gap: 20px;
        text-align: center;
        z-index: 1001;
    }
    
    .top-bar { display: none; }
    
    .logo-main { font-size: 1.1rem; }
    .logo-sub { font-size: 0.65rem; }
}
