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

:root {
    --primary-blue: #0f766e;
    --primary-blue-dark: #134e4a;
    --primary-blue-light: #14b8a6;
    --secondary-blue: #5eead4;
    --accent-blue: #ccfbf1;
    --white: #ffffff;
    --light-gray: #f3f7f6;
    --gray: #5f6f73;
    --dark-gray: #10201f;
    --text-dark: #10201f;
    --shadow: rgba(15, 118, 110, 0.12);
    --shadow-lg: rgba(15, 78, 74, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px var(--shadow-lg);
}

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

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hero {
    min-height: 94vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(94, 234, 212, 0.32), transparent 34%),
        linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 58%, #0b3551 100%);
    position: relative;
    padding-top: 92px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 5rem;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.eyebrow.dark {
    color: var(--primary-blue);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 680px;
    margin-bottom: 2rem;
    opacity: 0.92;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-panel {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
    animation: fadeIn 1s ease 0.6s both;
}

.panel-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.35rem;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.08);
}

.panel-row.active {
    color: var(--text-dark);
    background: var(--white);
}

.panel-row span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(20, 184, 166, 0.16);
    font-weight: 700;
}

.panel-row h3 {
    margin-bottom: 0.35rem;
}

.panel-row p {
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

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

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

.btn-primary.blue:hover {
    box-shadow: 0 10px 25px var(--shadow-lg);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

.section-title.left,
.section-subtitle.left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.section-header.compact {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content.redesigned {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    gap: 1rem;
}

.metric-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 14px 34px var(--shadow);
    border: 1px solid rgba(15, 118, 110, 0.1);
}

.metric-card.accent {
    background: var(--primary-blue-dark);
    color: var(--white);
    transform: translateX(-2rem);
}

.metric-card strong {
    display: block;
    font-size: 1.35rem;
    margin-bottom: 0.45rem;
}

.metric-card span {
    color: var(--gray);
    line-height: 1.6;
}

.metric-card.accent span {
    color: rgba(255, 255, 255, 0.72);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.features-grid.staggered {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
}

.feature-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 118, 110, 0.12);
}

.features-grid.staggered .feature-card {
    grid-column: span 2;
}

.features-grid.staggered .feature-wide {
    grid-column: span 2;
    background: var(--primary-blue-dark);
    color: var(--white);
}

.features-grid.staggered .feature-wide p {
    color: rgba(255, 255, 255, 0.75);
}

.features-grid.staggered .feature-tall {
    background: #e6fffb;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-lg);
    border-color: var(--primary-blue);
    background: var(--white);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.features-grid.staggered .feature-wide h3 {
    color: var(--white);
}

.features-grid.staggered .feature-wide:hover h3 {
    color: var(--text-dark);
}

.features-grid.staggered .feature-wide:hover p {
    color: var(--gray);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

.solutions {
    background: linear-gradient(180deg, var(--light-gray), var(--white));
}

.solutions-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: start;
}

.left-block {
    text-align: left;
    margin-bottom: 0;
    position: sticky;
    top: 120px;
}

.solution-stack {
    display: grid;
    gap: 1.25rem;
}

.solution-card {
    background: var(--white);
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 12px 30px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateX(8px);
    box-shadow: 0 22px 46px var(--shadow-lg);
}

.solution-card.featured {
    background: var(--primary-blue-dark);
    color: var(--white);
}

.solution-card.featured p,
.solution-card.featured li {
    color: rgba(255, 255, 255, 0.76);
}

.solution-number {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-blue);
    color: var(--primary-blue-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.solution-card h3 {
    font-size: 1.45rem;
    margin-bottom: 0.6rem;
}

.solution-card p {
    color: var(--gray);
    margin-bottom: 1rem;
}

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

.solution-card li {
    color: var(--gray);
    padding: 0.45rem 0 0.45rem 1.5rem;
    position: relative;
}

.solution-card li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-blue-light);
    position: absolute;
    top: 1.05rem;
    left: 0;
}

.contact {
    background: var(--white);
}

.contact-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    padding: 2rem;
    border-radius: 28px;
    background: var(--light-gray);
    box-shadow: 0 18px 50px var(--shadow);
}

.contact-copy {
    padding: 1.5rem;
}

.contact-copy p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info.inline {
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h4 {
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.contact-details p,
.contact-details a {
    color: var(--gray);
    line-height: 1.7;
    text-decoration: none;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

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

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

.contact-form .btn {
    width: 100%;
}

.consent-label {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    cursor: pointer;
}

.consent-label input {
    margin-top: 0.2rem;
    cursor: pointer;
}

.consent-label a {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

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

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    text-decoration: none;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section ul li a:hover {
    color: var(--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);
}

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-layout,
    .about-content.redesigned,
    .solutions-layout,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .hero-layout {
        text-align: left;
        gap: 2rem;
    }

    .hero-panel {
        max-width: 640px;
    }

    .metric-card.accent {
        transform: none;
    }

    .left-block {
        position: static;
    }

    .features-grid,
    .features-grid.staggered {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid.staggered .feature-card,
    .features-grid.staggered .feature-wide {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding: 7rem 0 4rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .contact-card,
    .contact-form,
    .contact-copy {
        padding: 1.25rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

