/* Layout CSS - Shared styles for all pages */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1a1a2e 50%, #0f172a 100%);
    color: #f1f5f9;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
.magnetic-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    border-bottom: 1px solid #334155;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo svg {
    width: 36px;
    height: 36px;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: #f1f5f9;
    background: #1e293b;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #f1f5f9;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    padding-top: 70px;
}

/* Hero Section */
.hero-section {
    padding: 80px 40px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f1f5f9 0%, #3b82f6 50%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 1.25rem;
    color: #94a3b8;
}

/* Cards Grid */
.magnetic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.magnetic-card {
    background: #1e293b;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #334155;
}

.magnetic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #0d9488);
}

.magnetic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.3);
}

.magnetic-card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e40af, #0d9488);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.magnetic-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.magnetic-card p {
    color: #94a3b8;
}

.magnetic-card .card-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #1e40af;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* Feature Section */
.feature-section {
    padding: 80px 40px;
    background: rgba(30, 41, 59, 0.5);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 24px;
    padding: 35px;
    text-align: center;
    border: 1px solid #334155;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #1e40af, #0d9488);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

/* Process Section */
.process-section {
    padding: 80px 40px;
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
}

.process-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.process-content {
    width: 45%;
    background: #1e293b;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #334155;
}

.process-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e40af, #0d9488);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 80px 40px;
}

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

.contact-card {
    background: #0f172a;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #334155;
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #1e40af, #0d9488);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

/* Footer */
.footer {
    background: #0f172a;
    padding: 40px;
    text-align: center;
    border-top: 1px solid #334155;
}

.footer p {
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .magnetic-nav {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

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

    .menu-toggle {
        display: flex;
    }

    .hero-section {
        padding: 60px 20px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .magnetic-grid {
        padding: 20px;
        grid-template-columns: 1fr;
    }

    .feature-section,
    .process-section,
    .contact-section {
        padding: 60px 20px;
    }

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