/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
    --lidea-blue: #118ab2;
    --lidea-teal: #06d6a0;
    --emerald: #10b981;
    --emerald-400: #34d399;
    --cyan-400: #22d3ee;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    color: var(--gray-900);
    overflow-x: hidden;
    background: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 24px;
    overflow: visible;
}

@media (min-width: 640px) {
    .container {
        padding: 0 32px;
    }
    .logo {
        font-size: 144px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 48px;
    }
    .logo {
        font-size: 160px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1536px;
        padding: 0 64px;
    }
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.lang-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    transition: all 0.2s;
}

.lang-btn:hover {
    background: var(--gray-100);
}

.lang-btn.active {
    background: var(--gray-900);
    color: white;
}

/* Gradient Orbs */
.gradient-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(96px);
}

.orb-1 {
    width: 50rem;
    height: 50rem;
    background: linear-gradient(to bottom right, rgba(6, 214, 160, 0.2), rgba(52, 211, 153, 0.1));
    top: -10rem;
    right: -10rem;
}

.orb-2 {
    width: 50rem;
    height: 50rem;
    background: linear-gradient(to top right, rgba(17, 138, 178, 0.2), rgba(34, 211, 238, 0.1));
    bottom: -10rem;
    left: -10rem;
}

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

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: white;
    overflow-x: hidden; /* Only hide horizontal overflow */
    overflow-y: visible; /* Allow vertical overflow for shadows */
}

.hero-main {
    padding-bottom: 80px; /* Extra space for hover shadow */
    overflow: visible;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 72rem;
}

.logo-section {
    margin-bottom: 96px;
}

.logo {
    font-size: 128px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(to right, var(--lidea-blue), var(--lidea-teal), var(--emerald-400));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
    padding-bottom: 24px;
    display: inline-block;
}

.accent-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, var(--lidea-blue), var(--lidea-teal));
    border-radius: 2px;
}

.hero-title {
    font-size: 60px; /* text-6xl */
    font-weight: 900;
    line-height: 1;
    margin-bottom: 64px;
    white-space: nowrap; /* Keep each sentence on one line */
}

@media (max-width: 900px) {
    .hero-title {
        white-space: normal; /* Allow wrapping on smaller screens */
    }
}

.hero-title .gradient-text {
    display: block;
    margin-top: 24px;
    padding-bottom: 24px;
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 48px;
    }
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 72px; /* text-7xl */
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 96px; /* text-8xl */
    }
}

.gradient-text {
    background: linear-gradient(to right, var(--lidea-blue), var(--lidea-teal), var(--emerald-400));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    line-height: 1.2;
    animation: textShine 3s ease-in-out infinite;
}

.gradient-text.block,
.block.gradient-text {
    display: inline-block;
}

.gradient-text.font-bold,
.font-bold.gradient-text {
    font-weight: 700;
}

@keyframes textShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-tagline {
    font-size: 24px;
    font-weight: 300;
    color: var(--gray-700);
    margin-bottom: 48px;
    max-width: 48rem;
}

@media (min-width: 640px) {
    .hero-tagline {
        font-size: 30px;
    }
}

.metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
    margin-bottom: 80px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-400);
    display: block;
}

.metric-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--gray-900);
    margin-top: 4px;
}

.proof {
    border-left: 4px solid;
    border-image: linear-gradient(to bottom, var(--lidea-blue), var(--lidea-teal)) 1;
    padding-left: 24px;
    margin-bottom: 48px;
}

.proof-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.proof-text {
    font-size: 20px;
    color: var(--gray-900);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: linear-gradient(to bottom right, var(--lidea-blue), var(--lidea-teal), var(--emerald-400));
    background-size: 200% 200%;
    color: white;
    text-decoration: none;
    border-radius: 9999px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: gradientShift 4s ease infinite;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    margin-bottom: 5px; /* Compensate for scale */
}

.cta-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.cta-button:hover .cta-arrow {
    transform: translateX(8px);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Process Section */
.process {
    padding: 128px 0;
    background: white;
    position: relative;
}

.section-header {
    margin-bottom: 80px;
}

.section-title {
    font-size: 60px; /* text-6xl */
    font-weight: 900;
    line-height: 1;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 72px; /* text-7xl */
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 96px; /* text-8xl */
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 48px;
    }
}

.section-header .accent-line {
    width: 128px;
    height: 4px;
    background: linear-gradient(to right, var(--lidea-blue), var(--lidea-teal));
    margin-top: 24px;
    margin-bottom: 32px;
}

.section-subtitle {
    font-size: 24px; /* text-2xl - matching other sections */
    font-weight: 300;
    color: var(--gray-700);
    max-width: 42rem;
    margin-top: 32px;
    white-space: normal;
    white-space: nowrap; /* Keep on one line */
}

/* Process section subtitle */
.process .section-subtitle {
    max-width: 32rem; /* max-w-2xl */
}

/* Free Audit section subtitle */
.free-audit .section-subtitle {
    font-size: 24px; /* text-2xl */
    color: var(--gray-700);
    max-width: 48rem; /* max-w-3xl */
    margin-bottom: 64px;
}

/* Availability section subtitle */
.availability .section-subtitle {
    font-size: 24px; /* text-2xl */
    color: var(--gray-700);
    max-width: 48rem; /* max-w-3xl */
}

/* Contact section subtitle */
.contact .section-subtitle {
    font-size: 24px; /* text-2xl - matching other sections */
    font-weight: 300;
    color: var(--gray-700);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Contact section specific centering */
.contact .section-header {
    text-align: center;
}

.contact .section-header .accent-line {
    margin-left: auto;
    margin-right: auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 96px;
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

.process-step {
    min-height: 140px;
    position: relative;
}

.process-step.highlight .step-title {
    background: linear-gradient(to right, var(--lidea-blue), var(--lidea-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-step.highlight .step-description {
    color: var(--gray-700);
    font-weight: 500;
}


.step-title {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: var(--gray-900);
}

.step-description {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.5;
}

.step-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Free Audit Section */
.free-audit {
    padding: 128px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 24px;
    background: linear-gradient(to right, rgba(17, 138, 178, 0.1), rgba(6, 214, 160, 0.1));
    border: 1px solid rgba(6, 214, 160, 0.2);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-700);
    margin-bottom: 32px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    padding: 24px;
    background: white;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-100);
    transition: all 0.3s;
    height: 100%;
}

.benefit-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.benefit-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(to right, rgba(17, 138, 178, 0.2), rgba(6, 214, 160, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 16px;
    transition: transform 0.3s;
}

.benefit-number span {
    background: linear-gradient(to right, var(--lidea-blue), var(--lidea-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-card:hover .benefit-number {
    transform: scale(1.1);
}

.benefit-card p {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    text-align: center;
    line-height: 1.5;
}

.cta-section {
    text-align: left;
}

.note {
    margin-top: 16px;
    color: var(--gray-500);
    font-size: 14px;
}

/* Availability Section */
.availability {
    padding: 128px 0;
    background: var(--gray-50);
}

.fit-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

@media (max-width: 768px) {
    .fit-comparison {
        grid-template-columns: 1fr;
    }
    .section-subtitle {
        white-space: normal; /* Allow wrapping on mobile */
    }    
}

.fit-column {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.fit-column.yes {
    box-shadow: 0 20px 60px rgba(6, 214, 160, 0.15);
}

.fit-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 16px;
}

.fit-column .accent-line {
    margin-bottom: 24px;
}

.fit-column.yes .accent-line.gradient {
    background: linear-gradient(135deg, var(--lidea-blue), var(--lidea-teal));
}

.fit-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fit-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.fit-item:last-child {
    border-bottom: none;
}

.item-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-700);
}

.item-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    text-align: right;
}

.availability-status {
    text-align: center;
    padding: 64px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.status-number {
    font-size: 96px;
    font-weight: 900;
    line-height: 1;
}

.availability-status .accent-line {
    width: 80px;
    margin: 32px auto;
}

.status-label {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-600);
}

/* Contact Section */
.contact {
    padding: 128px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.contact-form {
    max-width: 768px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    background: white;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lidea-teal);
    box-shadow: 0 0 0 4px rgba(6, 214, 160, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    width: 100%;
    padding: 20px 32px;
    background: linear-gradient(to bottom right, var(--lidea-blue), var(--lidea-teal), var(--emerald-400));
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    animation: gradientShift 4s ease infinite;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(6, 214, 160, 0.3);
}

.form-message {
    margin-top: 24px;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.email-alternative {
    text-align: center;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--gray-200);
}

.email-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--lidea-blue);
    font-weight: 600;
    text-decoration: none;
}

.email-link:hover {
    text-decoration: underline;
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s 0.3s forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .metrics {
        flex-direction: column;
        gap: 24px;
    }

    .process-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .fit-comparison {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}