/* Base Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #0b0f17;
    color: #f3f4f6;
    line-height: 1.6;
}

/* Navigation Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(13, 26, 45, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header .brand {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #ffffff;
}

nav .nav-cta {
    background: #2563eb;
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
}

nav .nav-cta:hover {
    background: #3b82f6;
}

/* Hero Section with Dynamic Gradient Overlay */
.hero {
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
    background-color: #0d1a2d;
    transition: background-color 0.1s linear;
}

/* Gradient overlay blending hero bottom into page content */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, rgba(13, 26, 45, 0) 0%, #0b0f17 100%);
    pointer-events: none;
    z-index: 2;
}

.hero h1, .hero p {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    max-width: 800px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.2rem;
    color: #d1d5db;
    max-width: 650px;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Liquid / Water Refraction CTA Button */
.hero .cta-btn {
    position: relative;
    z-index: 3;
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    
    /* ~85% Transparent base fill with subtle highlight tint */
    background: rgba(255, 255, 255, 0.05);
    
    /* Edge highlights and inner drop shadow */
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -3px 6px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.37);

    /* Backdrop Lens Refraction & Magnification Filters */
    backdrop-filter: blur(2px) contrast(1.15) brightness(1.1) url(#water-refraction);
    -webkit-backdrop-filter: blur(2px) contrast(1.15) brightness(1.1);

    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
    overflow: hidden;
}

/* Water Surface Specular Shine */
.hero .cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 11px 11px 0 0;
    pointer-events: none;
}

/* Dynamic Hover Effect */
.hero .cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow: 
        inset 0 3px 6px rgba(255, 255, 255, 0.7),
        inset 0 -4px 8px rgba(0, 0, 0, 0.4),
        0 12px 35px rgba(37, 99, 235, 0.35);
}

/* Animated Upscaled Centerpiece Logo */
.hero-bg-logo {
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    max-width: 90vw;
    opacity: 0.22;
    pointer-events: none;
    z-index: 1;
    will-change: transform, opacity;
}

/* Section Containers & Grids */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 3;
}

.section-container h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-lead {
    text-align: center;
    color: #9ca3af;
    margin-bottom: 3rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
    border-color: #374151;
    transform: translateY(-4px);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #f3f4f6;
}

.card p {
    color: #9ca3af;
    font-size: 0.95rem;
}

/* Form Styles */
#contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #111827;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #1f2937;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #d1d5db;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #0b0f17;
    border: 1px solid #374151;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: #3b82f6;
}

/* Form Submit Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.39);
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.55);
}

.submit-btn:disabled {
    background: #374151;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
    transform: none;
    filter: grayscale(100%);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 1rem;
    border-top: 1px solid #1f2937;
    background: #0b0f17;
}

footer a {
    color: #60a5fa;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.copyright {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 0.75rem;
}
