@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --deep-navy: #0A192F;
    --darker-navy: #050D19;
    --slate-grey: #5E6D7E;
    --brushed-gold: #C5A059;
    --accent-gold: #D4AF37;
    --off-white: #F8FAFC;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--darker-navy);
    color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
}

/* Premium Typography */
.text-gold { color: var(--brushed-gold); }
.text-gradient {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--slate-grey) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

nav.scrolled {
    padding: 1rem 5%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.2));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--off-white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    opacity: 0.7;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--brushed-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero.png') no-repeat center center/cover;
    z-index: -2;
    opacity: 0.5; /* Reduced visibility for readability */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 60% 40%, transparent 0%, var(--darker-navy) 90%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-content span {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--brushed-gold);
    display: block;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s var(--transition);
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeInUp 1s var(--transition);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--slate-grey);
    margin-bottom: 3rem;
    max-width: 600px;
    animation: fadeInUp 1.2s var(--transition);
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1.4s var(--transition);
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--brushed-gold);
    color: var(--darker-navy);
}

.btn-primary:hover {
    background: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: var(--off-white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--glass);
    border-color: var(--brushed-gold);
}

/* Sections */
section {
    padding: 10rem 5%;
    position: relative;
}

.section-tag {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brushed-gold);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
}

/* Expertise Container */
.expertise-container {
    display: flex;
    align-items: flex-start;
    gap: 5%;
}

.expertise-content {
    flex: 1;
}

.expertise-visual {
    width: 40%;
    position: sticky;
    top: 120px;
}

.expertise-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.expertise-card {
    padding: 3rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--brushed-gold);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.expertise-card:hover::before {
    height: 100%;
}

.expertise-card i {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--brushed-gold);
}

.expertise-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.expertise-card ul {
    list-style: none;
    color: var(--slate-grey);
}

.expertise-card ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.expertise-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--brushed-gold);
}

/* AI Justice Section */
.ai-section {
    background: var(--deep-navy);
    display: flex;
    align-items: center;
    gap: 5%;
    overflow: hidden;
}

.ai-image {
    width: 45%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.ai-image img {
    width: 100%;
    display: block;
    mix-blend-mode: luminosity;
    transition: var(--transition);
}

.ai-image:hover img {
    mix-blend-mode: normal;
}

.ai-content {
    width: 50%;
}

.ai-feature {
    margin-bottom: 3rem;
}

.ai-feature h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--off-white);
}

.ai-feature p {
    color: var(--slate-grey);
}

/* Contact Form */
.contact-container {
    display: flex;
    gap: 5%;
}

.contact-info {
    width: 40%;
}

.contact-form {
    width: 55%;
    padding: 4rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--slate-grey);
    margin-bottom: 0.8rem;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    color: var(--off-white);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--brushed-gold);
}

/* Footer */
footer {
    padding: 5rem 5% 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.social-links a {
    color: var(--slate-grey);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--brushed-gold);
}

.copyright {
    font-size: 0.75rem;
    color: var(--slate-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s var(--transition);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .ai-section, .contact-container, .expertise-container {
        flex-direction: column;
    }
    .ai-image, .ai-content, .contact-info, .contact-form, .expertise-visual, .expertise-content {
        width: 100%;
    }
    .ai-image, .expertise-visual { margin-bottom: 4rem; }
    .contact-info { margin-bottom: 5rem; }
    .expertise-visual { position: static; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 3.5rem; }
    section { padding: 6rem 5%; }
}
