/* ============================================
   PIXONIX - Professional Web Development
   Responsive Landing Page Styles
   ============================================ */

/* CSS Variables */
:root {
    --color-white: #ffffff;
    --color-navy: #0f172a;
    --color-navy-light: #1e293b;
    --color-blue: #2563eb;
    --color-blue-dark: #1d4ed8;
    --color-blue-light: #3b82f6;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-blue-dark);
}

ul {
    list-style: none;
}

address {
    font-style: normal;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1440px) {
    .container {
        padding: 0 2.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-blue);
    color: var(--color-white);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-blue-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.5);
}

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

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-100);
    transition: box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-navy);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo:hover {
    color: var(--color-navy);
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo-text {
    display: none;
}

@media (min-width: 480px) {
    .logo-text {
        display: inline;
    }
}

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

.nav-link {
    color: var(--color-gray-600);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-blue);
}

.nav {
    display: none;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-navy);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Navigation */
.nav.mobile-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
}

.nav.mobile-open .nav-list {
    flex-direction: column;
    gap: 0;
}

.nav.mobile-open .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.nav.mobile-open .nav-link:hover {
    background-color: var(--color-gray-50);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-50) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-content {
    order: 2;
}

@media (min-width: 1024px) {
    .hero-content {
        order: 1;
    }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-gray-600);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-image {
    order: 1;
    position: relative;
}

@media (min-width: 1024px) {
    .hero-image {
        order: 2;
    }
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}

/* ============================================
   PROCESS / HOW WE WORK SECTION
   ============================================ */
.process {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-500);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.process-timeline {
    display: grid;
    gap: 2rem;
}

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

@media (min-width: 1200px) {
    .process-timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.process-connector {
    display: none;
}

.process-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
    pointer-events: none;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.process-card:hover::before {
    transform: scaleX(1);
}

.process-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
    border-radius: var(--radius-lg);
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.process-step {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

.process-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.process-desc {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.process-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* ============================================
   CONTACT / LEAD CAPTURE SECTION
   ============================================ */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
}

.contact-content {
    display: grid;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-info {
    color: var(--color-white);
}

.contact-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.contact-desc {
    font-size: 1.0625rem;
    color: var(--color-gray-300);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--color-gray-200);
}

.contact-benefits svg {
    flex-shrink: 0;
    color: var(--color-blue-light);
}

/* Contact Form */
.contact-form {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 480px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--color-gray-800);
    background-color: var(--color-gray-50);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-group input::placeholder {
    color: var(--color-gray-400);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-blue);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    text-align: center;
    line-height: 1.6;
}

.form-disclaimer a {
    color: var(--color-blue);
}

.form-disclaimer a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--color-gray-900);
    color: var(--color-gray-300);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 2rem;
    }
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--color-gray-400);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-gray-800);
    border-radius: var(--radius-md);
    color: var(--color-gray-400);
    transition: all var(--transition-base);
}

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

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-contact address p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    color: var(--color-gray-400);
}

.footer-contact address svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-blue-light);
}

.footer-contact address a {
    color: var(--color-gray-400);
}

.footer-contact address a:hover {
    color: var(--color-white);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
