/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1589578527966-fdac0f44566c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    color: white;
    z-index: 2;
}

.firm-name {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.tagline {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
}

.launch-announcement {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.launching-soon {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #f39c12;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.launch-date {
    font-size: 1.3rem;
    font-weight: 400;
    color: #ecf0f1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Disclaimer Banner */
.disclaimer-banner {
    background: #e74c3c;
    color: white;
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.disclaimer-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
}

.disclaimer-content p {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

.disclaimer-content strong {
    font-weight: 700;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.pre-launch-intro {
    text-align: center;
    margin-bottom: 50px;
}

.pre-launch-intro p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.contact-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
    letter-spacing: 0.05em;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 8px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
    display: inline-block;
}

.contact-item p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e6ed;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.submit-btn {
    background: #2c3e50;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
}

.submit-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* HubSpot Form Styling */
.hs-form-frame {
    width: 100%;
}

/* Override HubSpot default styles to match your design */
.hs-form-frame .hs-form fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.hs-form-frame .hs-form .hs-form-field {
    margin-bottom: 25px;
}

.hs-form-frame .hs-form .hs-form-field > label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
}

.hs-form-frame .hs-form .hs-input {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid #e0e6ed !important;
    border-radius: 5px !important;
    font-size: 1rem !important;
    font-family: 'Open Sans', sans-serif !important;
    transition: border-color 0.3s ease !important;
    background: white !important;
    box-sizing: border-box !important;
}

.hs-form-frame .hs-form .hs-input:focus {
    outline: none !important;
    border-color: #f39c12 !important;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1) !important;
}

.hs-form-frame .hs-form .hs-button {
    background: #2c3e50 !important;
    color: white !important;
    padding: 15px 40px !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    font-family: 'Open Sans', sans-serif !important;
}

.hs-form-frame .hs-form .hs-button:hover {
    background: #34495e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Style HubSpot textarea */
.hs-form-frame .hs-form textarea.hs-input {
    min-height: 100px !important;
    resize: vertical !important;
}

/* Style HubSpot select dropdown */
.hs-form-frame .hs-form select.hs-input {
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}

/* Style checkbox and radio inputs */
.hs-form-frame .hs-form input[type="checkbox"],
.hs-form-frame .hs-form input[type="radio"] {
    width: auto !important;
    margin-right: 8px !important;
}

/* Hide HubSpot branding if desired */
.hs-form-frame .hs-form .hs-richtext {
    font-size: 0.8rem;
    color: #999;
    margin-top: 10px;
}

/* Ensure form fits well in the contact section */
.contact-form .hs-form-frame {
    margin-top: 0;
}

/* Style error messages */
.hs-form-frame .hs-form .hs-error-msgs {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Style success message */
.hs-form-frame .submitted-message {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services-intro {
    text-align: center;
    margin-bottom: 60px;
}

.services-intro p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.services h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
    letter-spacing: 0.05em;
}

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

.service-item {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section h3 {
    font-size: 1.8rem;
}

.footer-section h4 {
    font-size: 1.3rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .firm-name {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .launch-announcement {
        margin-top: 1.5rem;
        padding: 1rem;
    }
    
    .launching-soon {
        font-size: 1.8rem;
    }
    
    .launch-date {
        font-size: 1.1rem;
    }
    
    .disclaimer-content h3 {
        font-size: 1.2rem;
    }
    
    .disclaimer-content p {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-heading,
    .services h2 {
        font-size: 2.2rem;
    }
    
    .hero {
        background-attachment: scroll;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .firm-name {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .contact,
    .services {
        padding: 60px 0;
    }
    
    .contact-heading,
    .services h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
