/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Color variables */
:root {
    --primary-dark: #0a1628;
    --primary-blue: #0d1e36;
    --accent-cyan: #4fd1c5;
    --accent-teal: #38b2ac;
    --text-light: #ffffff;
    --text-gray: #718096;
    --bg-light: #f0f7f7;
    --border-gray: #e2e8f0;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

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

.logo-bracket {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-light);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--accent-cyan);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.02)" x="0" y="0" width="100" height="100"/></svg>');
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--accent-cyan);
    color: var(--primary-dark);
    padding: 0.9rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-teal);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 209, 197, 0.3);
}

/* Decorative shapes */
.shape {
    position: absolute;
    color: var(--accent-cyan);
    opacity: 0.6;
    font-weight: 300;
    pointer-events: none;
}

.shape-plus-1 {
    top: 35%;
    left: 8%;
    font-size: 2.5rem;
}

.shape-plus-2 {
    top: 20%;
    right: 15%;
    font-size: 1.5rem;
    opacity: 0.4;
}

.shape-x-1 {
    top: 15%;
    right: 25%;
    width: 20px;
    height: 20px;
}

.shape-x-1::before,
.shape-x-1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    top: 50%;
    left: 0;
}

.shape-x-1::before {
    transform: rotate(45deg);
}

.shape-x-1::after {
    transform: rotate(-45deg);
}

.shape-x-2 {
    bottom: 35%;
    left: 10%;
    width: 15px;
    height: 15px;
}

.shape-x-2::before,
.shape-x-2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    top: 50%;
    left: 0;
}

.shape-x-2::before {
    transform: rotate(45deg);
}

.shape-x-2::after {
    transform: rotate(-45deg);
}

.shape-circle-1 {
    bottom: 40%;
    left: 15%;
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.4;
}

.shape-circle-2 {
    top: 45%;
    right: 18%;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.5;
}

.shape-dots {
    top: 30%;
    right: 5%;
    display: grid;
    grid-template-columns: repeat(3, 8px);
    gap: 8px;
}

.shape-dots::before {
    content: '';
    display: block;
}

.shape-corner {
    bottom: 10%;
    right: 8%;
    width: 60px;
    height: 60px;
    border: 3px solid var(--accent-cyan);
    border-top: none;
    border-left: none;
    border-radius: 0 0 10px 0;
    opacity: 0.5;
}

/* About Section */
.about {
    padding: 6rem 5%;
    background: var(--text-light);
}

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

.about-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.about-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.icon-x::before,
.icon-x::after {
    content: '';
    position: absolute;
    width: 35px;
    height: 3px;
    background: var(--accent-cyan);
    top: 50%;
    left: 50%;
}

.icon-x::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.icon-x::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.icon-circle {
    border: 3px solid var(--accent-cyan);
    border-radius: 50%;
}

.icon-plus::before,
.icon-plus::after {
    content: '';
    position: absolute;
    background: var(--accent-cyan);
    top: 50%;
    left: 50%;
}

.icon-plus::before {
    width: 3px;
    height: 35px;
    transform: translate(-50%, -50%);
}

.icon-plus::after {
    width: 35px;
    height: 3px;
    transform: translate(-50%, -50%);
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 5%;
    background: var(--bg-light);
}

.how-it-works h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4rem;
}

.process-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 5rem;
}

.process-block.reverse {
    direction: rtl;
}

.process-block.reverse > * {
    direction: ltr;
}

.process-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-svg {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.process-content {
    padding: 1rem;
}

.process-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.process-header h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.3;
}

.process-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
    margin-top: 0.5rem;
}

.icon-x-small::before,
.icon-x-small::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    top: 50%;
    left: 0;
}

.icon-x-small::before {
    transform: rotate(45deg);
}

.icon-x-small::after {
    transform: rotate(-45deg);
}

.icon-plus-small::before,
.icon-plus-small::after {
    content: '';
    position: absolute;
    background: var(--accent-cyan);
}

.icon-plus-small::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.icon-plus-small::after {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.process-content p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.9;
}

/* Footer Section */
.footer-section {
    background: var(--primary-dark);
}

.map-container {
    width: 100%;
    height: 300px;
    filter: grayscale(20%);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

.footer {
    background: var(--primary-dark);
    padding: 2rem 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.footer-address {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-cyan);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--accent-teal);
    transform: translateY(-3px);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    color: var(--primary-dark);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

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

    .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);
    }

    .hero {
        padding-top: 100px;
    }

    .shape {
        display: none;
    }

    .process-block,
    .process-block.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    .process-illustration {
        order: -1;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .about-grid {
        gap: 2rem;
    }

    .about-card {
        padding: 1.5rem 1rem;
    }

    .process-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .process-icon {
        margin-top: 0;
    }
}
