/* Layzark Website - Modern Finance Theme */

/* === CSS Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a73e8;
    --secondary-color: #34a853;
    --dark-color: #212121;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --gray: #757575;
    --border-color: #e0e0e0;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background: var(--white);
}

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

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

a:hover {
    color: var(--secondary-color);
}

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

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

/* === Header & Navigation === */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 0;
}

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

.btn-primary-nav {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-primary-nav:hover {
    background: #1557b0;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* === Buttons === */
.btn-primary,
.btn-secondary,
.btn-primary-large,
.btn-link {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: #1557b0;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

.btn-primary-large {
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 48px;
    font-size: 18px;
}

.btn-primary-large:hover {
    background: #1557b0;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-link {
    background: none;
    color: var(--primary-color);
    padding: 0;
    font-weight: 600;
}

.btn-link:hover {
    color: var(--secondary-color);
}

/* === Hero Section === */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e3f2fd 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--dark-color);
}

.hero-lead {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 32px;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 32px;
}

.hero-benefits li {
    padding: 12px 0 12px 32px;
    position: relative;
    font-size: 18px;
}

.hero-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 20px;
    pointer-events: none;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
}

/* === Stats Section === */
.stats {
    padding: 60px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 32px;
    background: var(--light-bg);
    border-radius: 12px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--gray);
}

/* === Services Section === */
.services {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    padding: 40px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

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

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* === About Section === */
.about-home {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.about-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--gray);
}

.about-features {
    list-style: none;
    margin: 32px 0;
}

.about-features li {
    padding: 12px 0 12px 32px;
    position: relative;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    pointer-events: none;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* === Testimonials === */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 32px;
    border-radius: 12px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 14px;
    color: var(--gray);
}

/* === CTA Section === */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1557b0 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

/* === Footer === */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
}

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

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
}

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

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

/* === Page Header === */
.page-header {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e3f2fd 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 20px;
    color: var(--gray);
}

/* === Blog Grid === */
.blog-grid-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 32px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
}

.blog-category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-date {
    color: var(--gray);
}

.blog-content h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.blog-content h2 a {
    color: var(--dark-color);
}

.blog-content h2 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* === Article Page === */
.article-page {
    padding: 40px 0 80px;
}

.article-header {
    margin-bottom: 32px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.article-category {
    color: var(--primary-color);
    font-weight: 600;
}

.article-date,
.article-reading-time {
    color: var(--gray);
}

.article-header h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.article-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.article-featured-image {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
}

.article-content p.lead {
    font-size: 22px;
    color: var(--gray);
    margin-bottom: 32px;
}

.article-content h2 {
    font-size: 32px;
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 24px;
    margin: 32px 0 16px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0 20px 24px;
}

.article-content li {
    margin-bottom: 12px;
}

.article-cta {
    margin: 60px 0;
    padding: 40px;
    background: var(--light-bg);
    border-radius: 12px;
    text-align: center;
}

.article-cta h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.article-cta p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 24px;
}

.related-articles {
    margin-top: 60px;
}

.related-articles h3 {
    font-size: 28px;
    margin-bottom: 32px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.related-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-card h4 {
    padding: 20px;
    color: var(--dark-color);
}

/* === Contact Page === */
.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-items {
    margin-top: 32px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.info-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.info-note {
    font-size: 14px;
    color: var(--gray);
    margin-top: 4px;
}

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    font-weight: normal;
    margin: 0;
}

.form-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

.map-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.map-wrapper {
    margin-top: 32px;
}

.map-placeholder iframe {
    width: 100%;
    border-radius: 12px;
}

.map-info {
    margin-top: 24px;
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
}

.faq-contact {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.faq-item {
    padding: 32px;
    background: var(--light-bg);
    border-radius: 12px;
}

.faq-item h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
}

/* === Legal Pages === */
.legal-content {
    padding: 60px 0 80px;
}

.legal-content h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--dark-color);
}

.legal-content h3 {
    font-size: 24px;
    margin: 32px 0 16px;
    color: var(--dark-color);
}

.legal-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    margin: 20px 0 20px 24px;
}

.legal-content li {
    margin-bottom: 12px;
}

/* === Service Detail === */
.service-detail {
    padding: 60px 0;
}

.service-detail h2,
.service-detail h3 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.service-detail ul {
    margin: 20px 0 20px 24px;
}

.service-detail li {
    margin-bottom: 12px;
}

/* === Newsletter === */
.newsletter {
    padding: 60px 0;
    background: var(--light-bg);
    text-align: center;
}

.newsletter-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.newsletter-content p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 14px 32px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #1557b0;
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-color);
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: var(--primary-color);
}

.btn-cookie {
    padding: 10px 24px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.btn-cookie:hover {
    background: #1557b0;
}

/* === Team Grid === */
.team {
    padding: 80px 0;
    background: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.team-member {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.member-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.member-info {
    padding: 32px;
}

.member-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}

/* === Values & Achievements === */
.values,
.achievements {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.value-card {
    padding: 40px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.achievements-timeline {
    margin-top: 40px;
    position: relative;
}

.achievements-timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    pointer-events: none;
}

.achievement-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.achievement-year {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    width: 80px;
    text-align: right;
}

.achievement-content {
    flex: 1;
    padding: 24px;
    background: var(--light-bg);
    border-radius: 12px;
}

.achievement-content h3 {
    margin-bottom: 8px;
}

.about-mission {
    padding: 80px 0;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .mission-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transition: var(--transition);
        align-items: flex-start;
    }

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

    .hero-text h1 {
        font-size: 36px;
    }

    .services-grid,
    .testimonials-grid,
    .blog-grid,
    .team-grid,
    .values-grid,
    .faq-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .page-header h1,
    .article-header h1 {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .btn-primary-large {
        padding: 14px 32px;
        font-size: 16px;
    }
}
