/* CSS Variables & Design System */
:root {
    /* Colors */
    --color-primary: #0056D2; /* Professional Cobalt Blue */
    --color-primary-light: #337aeb;
    --color-primary-dark: #003e99;
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-text-main: #0f172a;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    
    /* Neumorphism / Glassmorphism */
    --shadow-soft: 20px 20px 60px #d3d7da, -20px -20px 60px #ffffff;
    --shadow-hover: 10px 10px 30px #d3d7da, -10px -10px 30px #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: var(--font-heading);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Layout */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-primary), #00c6ff);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 86, 210, 0.3);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-text-main);
}

.logo-tld {
    color: var(--color-primary);
}

.slogan {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
    display: none; /* Hide on mobile, show on tablet+ */
}

@media (min-width: 768px) {
    .slogan {
        display: block;
    }
}

/* Main Content Grid */
.main-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 4rem;
}

@media (min-width: 1024px) {
    .main-content {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 6rem;
    }
}

/* Hero Text Section */
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 86, 210, 0.1);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    width: max-content;
    border: 1px solid rgba(0, 86, 210, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 12px;
    background-color: rgba(0, 86, 210, 0.15);
    bottom: 8px;
    left: 0;
    z-index: -1;
    transform: rotate(-1deg);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 90%;
}

/* Lead Capture Form */
.lead-capture {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.lead-capture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
}

.cta-text {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
}

.cta-text strong {
    color: var(--color-primary);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 576px) {
    .input-group {
        flex-direction: row;
        gap: 0;
        background: var(--color-bg);
        border: 1px solid var(--color-border);
        border-radius: 12px;
        padding: 0.5rem;
        transition: all 0.3s ease;
    }
    
    .input-group:focus-within {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 4px rgba(0, 86, 210, 0.1);
    }
}

input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s ease;
}

@media (min-width: 576px) {
    input[type="email"] {
        border: none;
        background: transparent;
    }
}

input[type="email"]:focus {
    border-color: var(--color-primary);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0, 86, 210, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 86, 210, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1/1;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.glassmorphism {
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.floating-image {
    width: 90%;
    height: auto;
    border-radius: 30px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Decorative blob elements in background */
.decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    opacity: 0.6;
}

.dec-1 {
    width: 300px;
    height: 300px;
    background: #0056D2;
    top: -50px;
    right: -50px;
}

.dec-2 {
    width: 250px;
    height: 250px;
    background: #00c6ff;
    bottom: -30px;
    left: -30px;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    margin-top: auto;
    border-top: 1px solid var(--color-border);
    gap: 1rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer {
        flex-direction: row;
        text-align: left;
    }
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--color-primary);
    opacity: 0.7;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-surface);
    box-shadow: 5px 5px 15px #d3d7da, -5px -5px 15px #ffffff;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: white;
    background-color: var(--color-primary);
}
