/* 
   Premium Modern Design System 
   Zero Library Dependencies - Absolute Minimization
*/

:root {
    --primary: #0EA5E9;
    --primary-dark: #0284C7;
    --primary-light: #E0F2FE;
    --secondary: #10B981;
    --dark: #0F172A;
    --dark-muted: #1E293B;
    --light: #F8FAFC;
    --bg: #FFFFFF;
    --text: #475569;
    --text-dark: #1E293B;
    --border: #E2E8F0;
    --white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--primary-dark);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    margin-bottom: 4rem;
    text-align: center;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.flex {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.flex-column {
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.grid-6 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.3);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.card {
    background: var(--white);
    padding: 2.5rem;
    /*border-radius: 1.5rem;*/
    /*border: 1px solid var(--border);*/
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 0.75rem;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.card:hover .icon-box {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.icon-svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 2.5px;
    display: block;
}

.bullet {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
}

/* Layout Parts */
.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 0.75rem;
    padding: 0.75rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 0.625rem 1.25rem;
    color: var(--text-dark);
    font-size: 0.875rem;
    white-space: nowrap;
    transition: background 0.2s ease;
    display: block;
}

.dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.dropdown-arrow {
    font-size: 0.6rem;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-links a:hover {
    color: var(--primary);
}

.hero {
    position: relative;
    padding: 8rem 0;
    background: var(--dark);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero h1 {
    color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94A3B8;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-muted);
    font-size: 0.875rem;
    color: #94A3B8;
}

/* Custom Modal (No Bootstrap) */
.m-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.m-modal.active {
    display: flex;
    opacity: 1;
}

.m-modal-content {
    background: var(--white);
    max-width: 1000px;
    width: 100%;
    border-radius: 1.5rem;
    position: relative;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.m-modal.active .m-modal-content {
    transform: translateY(0);
}

.m-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Copyright */
.copyright {
    padding: 2rem 0;
    background: var(--dark-muted);
    color: #94A3B8;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .nav-links {
        display: none;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-6 {
        grid-template-columns: 1fr;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-white {
    color: #fff !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-muted {
    color: #94A3B8;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.font-semibold {
    font-weight: 600;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-16 {
    padding: 4rem;
}

.m-2 {
    margin: 0.5rem;
}

.m-auto {
    margin: 0 auto;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.flex-1 {
    flex: 1;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-16 {
    gap: 4rem;
}

.flex-basis-180 {
    flex-basis: 180px;
}

.flex-basis-300 {
    flex-basis: 300px;
}

.flex-basis-400 {
    flex-basis: 400px;
}

.w-100 {
    width: 100%;
}

.max-w-180 {
    max-width: 180px;
}

.max-w-300 {
    max-width: 300px;
}

.max-w-400 {
    max-width: 400px;
}

.max-w-800 {
    max-width: 800px;
}

.max-w-900 {
    max-width: 900px;
}

.h-50 {
    height: 50px;
}

.h-60 {
    height: 60px;
}

.aspect-square {
    aspect-ratio: 1/1;
}

.object-contain {
    object-fit: contain;
}

.bg-dark {
    background: var(--dark);
}

.bg-light {
    background: var(--light);
}

.bg-white-5 {
    background: rgba(255, 255, 255, 0.05);
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-80 {
    opacity: 0.8;
}

.rounded {
    border-radius: 1rem;
}

.border-light {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.m-modal-title {
    color: var(--text-dark);
}