:root {
    --primary-color: #4a5fd9;
    --primary-dark: #3648d6;
    --secondary-color: #6369f6;
    --accent-color: #7b8ae9;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #f1f1f1;
    --bg-secondary: #f1f1f1;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg-primary);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-primary);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 200;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.hero-tagline {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.hero-slogan {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 200;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* What we do */
.section {
    padding: 80px 0;
}

.section-offer {
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.offer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.offer-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.offer-card:hover {
    border-color: var(--primary-color);
}

.offer-card-title {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.offer-card-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Proof / Background */
.section-proof {
    padding: 80px 0;
}

.proof-content {
    max-width: 640px;
    margin: 0 auto;
}

.proof-lead {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.proof-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.proof-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.proof-list li:last-child {
    border-bottom: none;
}

.proof-note {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact */
.section-contact {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.contact-content {
    max-width: 520px;
    margin: 0 auto;
}

.contact-lead {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-primary);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
}

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

.contact-form .btn-primary {
    align-self: flex-start;
}

.contact-alt {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.contact-alt a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-alt a:hover {
    text-decoration: underline;
}

.hide-linkedin {
    display: none;
}

.footer-logo {
    font-size: 1.25rem;
}

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

/* Features Section */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Solutions Section */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.solution-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.solution-list {
    list-style: none;
}

.solution-list li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-secondary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.3;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* CTA Section */
.cta {
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.tag-cloud {
    width: 100%;
    text-align: center;
    margin: 0.5rem 0;
}

.tag-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

.tag-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
    width: 100%;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.tag.tag-first.selected {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.tag.tag-second.selected {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

.form-group .btn-primary {
    width: 100%;
    background: white;
    color: var(--primary-color);
}

.form-group .btn-primary:hover {
    background: var(--bg-secondary);
}

.form-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section .logo-text {
    color: #ffffff;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        gap: 2rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .features-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group input {
        min-width: 100%;
    }

    .tag-cloud {
        width: 100%;
    }

    .tag-columns {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .tag-column {
        gap: 0.4rem;
    }

    .tag {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .feature-card,
    .solution-card {
        padding: 1.5rem;
    }
}

/* Smooth scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .feature-card,
    .solution-card,
    .step {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }

    .feature-card:nth-child(1) { animation-delay: 0.1s; }
    .feature-card:nth-child(2) { animation-delay: 0.2s; }
    .feature-card:nth-child(3) { animation-delay: 0.3s; }
    .feature-card:nth-child(4) { animation-delay: 0.4s; }
    .feature-card:nth-child(5) { animation-delay: 0.5s; }
    .feature-card:nth-child(6) { animation-delay: 0.6s; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Theme selector widget */
.theme-widget {
    position: fixed;
    bottom: 22rem;
    right: 1.5rem;
    z-index: 9999;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    overflow: hidden;
    min-width: 12rem;
}
.theme-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #f9fafb;
    border-bottom: 1px solid var(--border-color);
}
.theme-widget-title { font-weight: 600; color: var(--text-primary); }
.theme-widget-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--text-secondary);
}
.theme-widget-toggle:hover { color: var(--text-primary); }
.theme-widget-body { padding: 0.75rem 1rem; }
.theme-widget-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}
.theme-widget-select {
    width: 100%;
    padding: 0.4rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-family: inherit;
    background: #ffffff;
    color: var(--text-primary);
    cursor: pointer;
}
.theme-widget.collapsed .theme-widget-body { display: none; }

/* Color selection widget */
.color-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    overflow: hidden;
}
.color-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #f9fafb;
    border-bottom: 1px solid var(--border-color);
}
.color-widget-title { font-weight: 600; color: var(--text-primary); }
.color-widget-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--text-secondary);
}
.color-widget-toggle:hover { color: var(--text-primary); }
.color-widget-body { padding: 0.75rem 1rem; }
.color-widget-defining-hint {
    margin: 0 0 0.5rem 0;
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.color-widget-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
#baseColorPicker {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    background: none;
}
#baseColorHex {
    flex: 1;
    padding: 0.4rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 0.875rem;
}
.color-codes {
    margin: 0.5rem 0;
    font-size: 0.75rem;
    font-family: ui-monospace, monospace;
}
.color-code-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--border-color);
}
.color-code-row:last-child { border-bottom: none; }
.color-code-label {
    min-width: 4.5rem;
    color: var(--text-secondary);
}
.color-code-hex {
    min-width: 4.5rem;
    color: var(--primary-color);
    font-weight: 500;
}
.color-code-rgb {
    color: var(--text-primary);
}
.color-widget-actions {
    display: flex;
    gap: 0.5rem;
    margin: 0.5rem 0;
}
.color-widget-btn {
    flex: 1;
    padding: 0.4rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.color-widget-btn-save {
    background: var(--primary-color);
    color: white;
    border-color: transparent;
}
.color-widget-btn-save:hover {
    opacity: 0.95;
}
.color-widget-btn-reset {
    background: #f9fafb;
    color: var(--text-primary);
}
.color-widget-btn-reset:hover {
    background: var(--border-color);
}
.color-widget-hint {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.color-widget.collapsed .color-widget-body { display: none; }

/* Hide customization widgets */
.theme-widget,
.color-widget {
    display: none;
}
