/* Pendel Premium Design System */
:root {
    /* Richer Color Palette */
    --primary-color: #0F172A;
    /* Midnight Blue */
    --accent-color: #38BDF8;
    /* Electric Blue */
    --secondary-accent: #2DD4BF;
    /* Teal Pulse */
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --bg-dark: #020617;
    /* Deepest Void */
    --bg-card: rgba(30, 41, 59, 0.7);
    /* Glassy Blue */
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-spacing: 8rem;

    /* Animation Timing */
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-spacing) 0;
    position: relative;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation - Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 99px;
    /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s var(--ease-out-back);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #0EA5E9);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(45, 212, 191, 0.1) 0%, transparent 40%);
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.animate-in {
    animation: fadeInUp 0.8s var(--ease-out-back) forwards;
    opacity: 0;
    /* Hidden initially */
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Transparency / Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 4rem;
}

/* Connecting line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--glass-border) 20%,
            var(--glass-border) 80%,
            transparent 100%);
    z-index: 0;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(45, 212, 191, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    font-size: 2rem;
}

/* Features Grid */
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0) 100%);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 24px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: var(--accent-color);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.1) 0%, rgba(15, 23, 42, 0) 100%);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
}

/* Mission Section */
.mission-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0F172A 100%);
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

/* Footer (Dark) */
footer {
    background: #020617;
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.legal-bar {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid::before {
        display: none;
    }

    .nav-links {
        display: none;
    }

    /* Add toggle logic if needed, simplify for landing page */
    .hero {
        text-align: center;
        padding-top: 8rem;
    }
}

/* Scroll Animation Helper */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* --- New Content Sections for "Weight" --- */

/* Logo Strip */
.logo-strip {
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem 0;
    overflow: hidden;
}

.logo-flex {
    display: flex;
    justify-content: center;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0.5;
}

.logo-item {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-muted);
    letter-spacing: -0.02em;
}

/* Deep Dive Feature Rows */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    height: 300px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Mock UI Elements for Visuals */
.ui-mock-window {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 70%;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.ui-bar {
    height: 30px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
}

.ui-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.3;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--glass-border);
    border-radius: 50%;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--glass-border);
}

.faq-question {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: block;
}

@media (max-width: 768px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .logo-flex {
        gap: 2rem;
    }
}