/* Blackwell Research LLC - Version 3.0 */
/* Gold & Black Luxury Theme with Expandable Sections + Login */

:root {
    --gold-primary: #D4AF37;
    --gold-light: #F4E4BC;
    --gold-dark: #B8960C;
    --black-primary: #0A0A0A;
    --black-secondary: #1A1A1A;
    --black-tertiary: #2A2A2A;
    --white: #FFFFFF;
    --gray-light: #E5E5E5;
    --gray-medium: #888888;
    --gray-dark: #444444;
    --transition: all 0.3s ease;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-img {
    height: 50px;
    width: auto;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
}

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

.nav-links a:hover {
    color: var(--gold-primary);
}

.login-btn {
    background: transparent;
    color: var(--gold-primary) !important;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--gold-primary);
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.login-btn:hover {
    background: var(--gold-primary);
    color: var(--black-primary) !important;
}

.login-btn::after {
    display: none !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--black-primary) 0%, var(--black-secondary) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold-primary);
    font-style: italic;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gold-primary);
    color: var(--black-primary);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--black-primary);
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: var(--black-primary);
}

.btn-full {
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    color: var(--gold-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray-medium);
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--black-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Service Cards - Expandable */
.service-card {
    background: var(--black-tertiary);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card.expanded {
    border-color: var(--gold-primary);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.service-header {
    padding: 2rem;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.service-title-row h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold-primary);
}

.expand-icon {
    font-size: 1.5rem;
    color: var(--gold-primary);
    font-weight: 300;
    transition: var(--transition);
}

.service-desc {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Expandable Details */
.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease;
    opacity: 0;
}

.service-card.expanded .service-details {
    max-height: 2000px;
    opacity: 1;
}

.details-content {
    padding: 0 2rem 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.details-content h4 {
    color: var(--gold-primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features strong {
    color: var(--gold-primary);
    font-weight: 600;
}

.use-cases {
    background: rgba(212, 175, 55, 0.05);
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.use-cases h4 {
    margin-bottom: 0.5rem;
}

.use-cases p {
    color: var(--gray-medium);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: var(--black-primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-card h4 {
    color: var(--gold-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--gray-medium);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--black-secondary) 0%, var(--black-primary) 100%);
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-medium);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Why Us Section */
.why-us {
    padding: 6rem 0;
    background: var(--black-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.why-icon {
    color: var(--gold-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

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

.why-item p {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--black-primary);
}

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

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-desc {
    color: var(--gray-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-label {
    color: var(--gold-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--white);
    font-size: 1.1rem;
    text-decoration: none;
}

.contact-value:hover {
    color: var(--gold-primary);
}

/* Contact Form */
.contact-form {
    background: var(--black-tertiary);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-dark);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group select option {
    background: var(--black-tertiary);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--black-secondary);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 3rem 0;
}

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

.logo-img-footer {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-contact {
    margin-bottom: 1rem;
}

.footer-contact a {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 500;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.separator {
    color: var(--gray-dark);
    margin: 0 1rem;
}

.footer-copy {
    color: var(--gray-dark);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-title-row h3 {
        font-size: 1.25rem;
    }
}

/* Animation for expanded sections */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card.expanded .details-content {
    animation: fadeIn 0.4s ease;
}