/* ============================================
   GraphLinq Landing Page - Brand Styles
   ============================================ */

:root {
    --primary: #080810;
    --white: #ffffff;
    --light-gray: #f8f8f8;
    --dark-gray: #303030;
    --black: #000000;
    --purple: #a068f8;
    --muted-purple: #8878a8;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
}

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

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

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

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

.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

.nav-cta {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
}

.nav-cta:hover {
    background-color: var(--dark-gray);
    color: var(--white) !important;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-headline .highlight {
    color: var(--purple);
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(8, 8, 16, 0.2);
}

.btn-primary:hover {
    background-color: var(--dark-gray);
    box-shadow: 0 6px 16px rgba(8, 8, 16, 0.3);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-secondary:hover {
    background-color: var(--light-gray);
    border-color: var(--primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.hero-trust {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Trust Section
   ============================================ */

.trust-section {
    background-color: var(--light-gray);
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.trust-section h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.partner-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-badge:hover .partner-logo {
    filter: grayscale(0%);
}

/* ============================================
   Features Section
   ============================================ */

.features {
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
}

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

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

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(160, 104, 248, 0.1);
    transform: translateY(-5px);
    border-color: var(--purple);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--purple), var(--muted-purple));
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

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

/* ============================================
   Showcase Section
   ============================================ */

.showcase {
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.showcase-reverse {
    direction: rtl;
}

.showcase-reverse .showcase-text,
.showcase-reverse .showcase-image {
    direction: ltr;
}

.showcase-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.showcase-text p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.showcase-image {
    position: relative;
}

.showcase-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Tutorials Section
   ============================================ */

.tutorials {
    background-color: var(--light-gray);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

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

.tutorial-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.tutorial-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--light-gray);
}

.tutorial-card h4 {
    padding: 1.5rem;
    color: var(--primary);
    margin: 0;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.testimonial-card {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.testimonial-card.featured {
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
}

.testimonial-quote {
    background-color: var(--white);
    border-left: 4px solid var(--purple);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    border-radius: 0.25rem;
}

.testimonial-quote p {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--dark-gray));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 0;
    border-radius: 0.5rem;
    margin: 3rem 0 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: var(--purple);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(160, 104, 248, 0.3);
}

.cta-section .btn-primary:hover {
    background-color: var(--muted-purple);
    box-shadow: 0 6px 16px rgba(160, 104, 248, 0.4);
}

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

.cta-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

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

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--purple);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.9375rem;
}

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

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

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

.footer-section a:hover {
    color: var(--purple);
}

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

/* ============================================
   Animations
   ============================================ */

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        padding: 2rem 0;
    }

    .hero-headline {
        font-size: 2rem;
    }

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

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

    .btn {
        width: 100%;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }

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

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

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

    .showcase-reverse {
        direction: ltr;
    }

    .showcase-text h3 {
        font-size: 1.5rem;
    }

    .showcase-text p {
        font-size: 0.9375rem;
    }

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

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

    .tutorial-card h4 {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-headline {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

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

    .partners-grid {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .tutorial-thumbnail {
        height: 150px;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 0.95rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .navbar,
    .cta-section {
        display: none;
    }
}
