/* ===================================
   Clean Minimal Design - Oqoqo
   =================================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
    /* Colors - Clean & Minimal */
    --primary-bg: #a8c7dd;
    --primary-dark: #1a1a1a;
    --text-primary: #1a1a1a;
    --text-secondary: #3d3d3d;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-light: #e5e7eb;
    
    /* Layout */
    --max-width: 1280px;
    --header-height: 80px;
    
    /* Transitions */
    --transition: 200ms ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > *:not(.footer) {
    flex-shrink: 0;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

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

a:hover {
    opacity: 0.7;
}

/* ===================================
   Layout
   =================================== */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 4rem;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    z-index: 1000;
    transition: all var(--transition);
    padding: 0.96rem 0;
}

.navbar.scrolled {
    padding: 1.28rem 2rem;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: all var(--transition);
    padding: 0.43rem 2rem;
}

.navbar.scrolled .container {
    background-color: transparent;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 0.8rem 1.6rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar .navbar-brand {
    flex: 0 0 auto;
}

.navbar .navbar-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-cta {
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    overflow: hidden;
    position: relative;
}

.navbar-cta::before {
    content: 'Join the waitlist';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    transition: top 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    white-space: nowrap;
}

.navbar-cta:hover {
    color: white;
}

.navbar-cta span {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-cta:hover span {
    transform: translateY(-100%);
    opacity: 0;
}

.navbar-cta:hover::before {
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

/* Sliding effect for all Join the waitlist buttons */
.btn-primary,
.btn-secondary {
    overflow: hidden;
    position: relative;
}

.btn-primary::before,
.btn-secondary::before {
    content: 'Join the waitlist';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    transition: top 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    white-space: nowrap;
}

.contact-form .btn-primary::before {
    content: 'Send';
}

.btn-primary span,
.btn-secondary span {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-primary:hover span,
.btn-secondary:hover span {
    transform: translateY(-100%);
    opacity: 0;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.navbar-toggle {
    flex: 0 0 auto;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.navbar-menu li a:not(.btn) {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.navbar-menu li a:not(.btn):hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

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

.hero {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #f5f5f5;
    text-align: center;
    padding-top: calc(var(--header-height) + 4.8rem);
    padding-bottom: 6rem;
    position: relative;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 2760px;
    margin: 0 auto;
    padding: 4rem 19.8rem;
    border: 1px solid #e5e7eb;
    position: relative;
    text-align: center;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 80px,
            #e5e7eb 80px,
            #e5e7eb 81px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 80px,
            #e5e7eb 80px,
            #e5e7eb 81px
        );
    background-size: 80px 80px;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: 
        linear-gradient(#6b7280 0%, #6b7280 100%),
        linear-gradient(#6b7280 0%, #6b7280 100%);
    background-size: 2px 100%, 100% 2px;
    background-position: center, center;
    background-repeat: no-repeat;
}

.hero h1 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.hero p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

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

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    font-family: 'Inter', sans-serif;
}

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

.btn-primary:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

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

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

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

.features-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.features-grid .hero-card {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.features-grid .hero-card + .how-it-works-card {
    grid-column: 1 / -1;
}

.features-grid .how-it-works-card {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.features-grid .separator-card {
    grid-column: 1 / -1;
}

.features-grid .integrations-card {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.features-grid::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 24px;
    height: 36px;
    background-image: url("data:image/svg+xml,%3Csvg width='86' height='129' viewBox='0 0 86 129' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect y='86' width='43' height='43' fill='%231a1a1a'/%3E%3Crect x='43' y='43' width='43' height='43' fill='%231a1a1a'/%3E%3Crect width='43' height='43' fill='%231a1a1a'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
    z-index: 1;
}

.features-grid::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 24px;
    height: 36px;
    background-image: url("data:image/svg+xml,%3Csvg width='86' height='129' viewBox='0 0 86 129' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect y='86' width='43' height='43' fill='%231a1a1a'/%3E%3Crect x='43' y='43' width='43' height='43' fill='%231a1a1a'/%3E%3Crect width='43' height='43' fill='%231a1a1a'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    z-index: 1;
    transform: rotate(180deg);
}

.feature-card {
    background: #f5f5f5;
    border: 1px solid #e5e7eb;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    background-color: #ececec;
}

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

.feature-card:hover h3 {
    animation: glitch 0.3s ease-in-out;
}

.hero-card {
    transition: none !important;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    border: 1px solid #e5e7eb;
    position: relative;
}

.hero-card::before {
    display: none;
}

.hero-card::after {
    display: none;
}

.hero-card:hover {
    background-color: #f5f5f5 !important;
}

.hero-card:hover h3 {
    animation: none !important;
}

.hero-card h3 {
    animation: none !important;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.hero-card p {
    font-size: 1.75rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-card .hero-buttons {
    margin-top: 2.5rem;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-3px, 2px);
    }
    40% {
        transform: translate(3px, -2px);
    }
    60% {
        transform: translate(-2px, -1px);
    }
    80% {
        transform: translate(2px, 1px);
    }
    100% {
        transform: translate(0);
    }
}

.feature-card p {
    font-size: 0.938rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 0;
}

/* Old feature section styles (kept for backwards compatibility) */
.feature-section {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.feature-section-alt {
    background-color: #f5f5f5;
}

.feature-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-two-col-reverse {
    direction: rtl;
}

.feature-two-col-reverse > * {
    direction: ltr;
}

.feature-content {
    max-width: 500px;
}

.feature-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.feature-content h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.feature-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.feature-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-size: 0.938rem;
    font-weight: 500;
}

.feature-section-alt .feature-tag {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Mockup Cards */
.feature-mockup {
    position: relative;
}

.mockup-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.mockup-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.mockup-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.mockup-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mockup-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 10px;
    font-size: 0.938rem;
    transition: all var(--transition);
}

.mockup-item:hover {
    background-color: #f0f0f0;
    transform: translateX(4px);
}

.item-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.item-dot.green {
    background-color: #10b981;
}

.item-dot.orange {
    background-color: #f59e0b;
}

.item-dot.red {
    background-color: #ef4444;
}

.item-status {
    margin-left: auto;
    font-size: 0.813rem;
    color: var(--text-tertiary);
}

/* Repository items */
.repo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-bg);
    border-radius: 8px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.repo-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.repo-info strong {
    font-size: 0.938rem;
    color: var(--text-primary);
}

.repo-meta {
    font-size: 0.813rem;
    color: var(--text-tertiary);
}

/* Activity items */
.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.activity-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-bg), #a0c4d9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    flex-shrink: 0;
}

.activity-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.activity-content strong {
    font-size: 0.938rem;
    color: var(--text-primary);
}

.activity-time {
    font-size: 0.813rem;
    color: var(--text-tertiary);
}

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

.cta {
    background-color: #f5f5f5;
    color: var(--text-primary);
    text-align: center;
    padding: 4rem 0;
}

.cta .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5;
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    padding: 1rem 1rem 1rem 2rem;
    max-width: 600px;
    width: 100%;
    gap: 1.5rem;
}

.cta-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: black;
    color: white;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: 'Join the waitlist';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    transition: top 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    white-space: nowrap;
}

.cta-button span {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cta-button:hover span {
    transform: translateY(-100%);
    opacity: 0;
}

.cta-button:hover::before {
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.cta-button:hover {
    transform: scale(1.05);
}


/* ===================================
   Blog Section
   =================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 0;
    margin-top: 3rem;
    border: 1px solid #e5e7eb;
}

.blog-card {
    background-color: #f5f5f5;
    border-radius: 0;
    overflow: hidden;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    padding: 0;
}

.blog-card:hover {
    background-color: #ececec;
}

.blog-card-image {
    width: 100%;
    height: 220px;
    background-color: #d1d5db;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-card-content {
    padding: 2rem;
}

.blog-card-meta {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.blog-card h3 {
    margin-bottom: 0.875rem;
    font-size: 1.375rem;
}

.blog-card p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.blog-card .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.938rem;
}

/* ===================================
   Contact Form
   =================================== */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

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

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.multi-select-dropdown {
    position: relative;
    width: 100%;
}

.multi-select-button {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    background-color: white;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition);
    text-align: left;
}

.multi-select-button:hover {
    border-color: var(--text-primary);
}

.multi-select-button:focus {
    outline: none;
    border-color: var(--text-primary);
}

.multi-select-button[aria-expanded="true"] {
    border-color: var(--text-primary);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.multi-select-placeholder {
    flex: 1;
}

.multi-select-button.has-selection .multi-select-placeholder {
    color: var(--text-primary);
    font-weight: 500;
}

.multi-select-arrow {
    transition: transform var(--transition);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.multi-select-button[aria-expanded="true"] .multi-select-arrow {
    transform: rotate(180deg);
}

.multi-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 2px solid var(--text-primary);
    border-top: none;
    border-radius: 0 0 12px 12px;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.multi-select-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color var(--transition);
    font-size: 1rem;
    color: var(--text-secondary);
}

.multi-select-option:hover {
    background-color: #f8f9fa;
}

.multi-select-option:first-child {
    padding-top: 1rem;
}

.multi-select-option:last-child {
    padding-bottom: 1rem;
}

.multi-select-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--text-primary);
    flex-shrink: 0;
}

.multi-select-option input[type="checkbox"]:checked + span {
    color: var(--text-primary);
    font-weight: 500;
}

.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

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

.footer {
    background-color: #f5f5f5;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    margin-top: auto;
}

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

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    font-size: 0.938rem;
}

.footer-links {
    list-style: none;
}

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

.footer-bottom {
    text-align: center;
    padding: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.footer-bottom a {
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.footer-bottom a:hover {
    opacity: 1 !important;
}

.footer-bottom a:hover svg {
    opacity: 1 !important;
}

.footer-bottom a svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* ===================================
   Article Styles
   =================================== */

.article-header {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 3rem;
    background-color: var(--primary-bg);
    color: var(--text-primary);
}

.article-header h1 {
    color: var(--text-primary);
}

.article-meta {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.article-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.25rem;
}

.article-content p {
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 500;
}

.back-link:hover {
    opacity: 0.7;
}

/* Legal Pages */
.legal-header {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 3rem;
    background-color: var(--primary-bg);
    color: var(--text-primary);
}

.legal-header h1 {
    color: var(--text-primary);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.25rem;
}

.legal-content p,
.legal-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-content ul {
    margin: 1.25rem 0;
    padding-left: 2rem;
}

.last-updated {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

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

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

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

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

@media (max-width: 1024px) {
    .navbar .navbar-menu {
        position: relative;
        left: auto;
        transform: none;
        margin-left: auto;
    }

    .navbar-cta {
        margin-left: 1rem;
    }

    .hero-content {
        max-width: 90%;
        padding: 3.5rem 6rem;
        background-size: 70px 70px;
    }

    .hero-card {
        max-width: 90%;
    }

    .features-grid {
        max-width: 90%;
    }

    .hero-content::before {
        width: 16px;
        height: 16px;
        top: -8px;
        left: -8px;
        background-size: 1.5px 100%, 100% 1.5px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-card h3 {
        font-size: 2.5rem;
    }

    .hero-card p {
        font-size: 1.25rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .hero {
        padding-top: calc(var(--header-height) + 3.84rem);
    }
}

@media (max-width: 992px) {
    .hero-content {
        max-width: 1200px;
    }

    .hero-card {
        max-width: 1200px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1200px;
    }
}

@media (max-width: 900px) {
    .hero-content {
        max-width: 95%;
        padding: 3rem 3rem;
        background-size: 60px 60px;
    }

    .hero-card {
        max-width: 95%;
    }

    .features-grid {
        max-width: 95%;
    }

    .hero-content::before {
        width: 14px;
        height: 14px;
        top: -7px;
        left: -7px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-card h3 {
        font-size: 2.25rem;
    }

    .hero-card p {
        font-size: 1.125rem;
    }

    .hero p {
        font-size: 1.063rem;
    }

    .hero {
        padding-top: calc(var(--header-height) + 2.88rem);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .hero-content {
        padding: 2.5rem 1.5rem;
        background: none;
        max-width: 100%;
        border: 1px solid #e5e7eb;
    }

    .hero-card {
        padding: 3rem 2rem;
    }

    .hero-card h3 {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .hero-card p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-card .hero-buttons {
        margin-top: 2rem;
    }

    .hero-card {
        max-width: 100%;
    }

    .features-grid {
        max-width: 100%;
    }

    .hero-content::before {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .hero {
        padding-top: calc(var(--header-height) + 1.92rem);
        padding-bottom: 4rem;
    }

    .cta-pill {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        text-align: center;
    }

    .cta-text {
        font-size: 1.25rem;
    }

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

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

    .navbar .navbar-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 0;
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-menu li {
        width: 100%;
        padding: 0.75rem 0;
        text-align: center;
    }

    .navbar-cta {
        display: none;
    }

    .navbar.scrolled {
        padding: 1rem 1rem;
    }

    .navbar.scrolled .container {
        padding: 0.75rem 1.25rem;
        border-radius: 40px;
    }

    .navbar .container {
        padding: 0.43rem 1rem;
    }

    .navbar-toggle {
        display: flex;
    }

    .hero-content::before,
    .features-grid::before,
    .features-grid::after,
    .hero-card::before,
    .hero-card::after {
        width: 12px;
        height: 12px;
        top: -6px;
        left: -6px;
    }

    .features-grid::after,
    .hero-card::after {
        bottom: -6px;
        right: -6px;
        top: auto;
        left: auto;
    }

    .hero {
        min-height: 85vh;
        padding: calc(var(--header-height) + 2rem) 0 2rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .section {
        padding: 80px 0;
    }

    .feature-section {
        padding: 60px 0;
    }

    .feature-two-col,
    .feature-two-col-reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }

    .feature-two-col-reverse .feature-mockup {
        order: 1;
    }

    .feature-two-col-reverse .feature-content {
        order: 2;
    }

    .feature-content {
        max-width: 100%;
    }

    .feature-tags {
        grid-template-columns: 1fr;
    }

    .mockup-card {
        padding: 1.5rem;
    }

    .mockup-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .mockup-search {
        width: 100%;
    }

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

    .container {
        padding: 0 1.5rem;
    }
}

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

    .hero-content {
        padding: 2rem 1.25rem;
        border: none;
    }

    .hero-card {
        padding: 2.5rem 1.5rem;
    }

    .hero-card h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-card p {
        font-size: 0.938rem;
        margin-bottom: 1.25rem;
    }

    .hero-card .hero-buttons {
        margin-top: 1.5rem;
    }

    .hero-card .btn {
        font-size: 0.938rem;
        padding: 0.875rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.625rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }

    .hero p {
        font-size: 0.938rem;
        margin-bottom: 1.75rem;
        line-height: 1.5;
    }

    .hero {
        padding-top: calc(var(--header-height) + 1.44rem);
        padding-bottom: 3rem;
    }

    .hero-buttons {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        font-size: 0.938rem;
        padding: 0.875rem 1.5rem;
        text-align: center;
    }

    .cta-pill {
        padding: 1rem;
        max-width: 100%;
    }

    .cta-text {
        font-size: 1.125rem;
    }

    .navbar-brand span {
        font-size: 1.25rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.125rem;
    }

    .feature-card p {
        font-size: 0.875rem;
    }

    .blog-card-content {
        padding: 1.5rem;
    }

    .mockup-card {
        padding: 1rem;
    }

    .mockup-item {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .item-status {
        display: none;
    }

    .contact-form {
        padding: 0;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .navbar.scrolled {
        padding: 0.75rem 0.5rem;
    }

    .navbar.scrolled .container {
        padding: 0.625rem 1rem;
        border-radius: 30px;
    }

    .navbar .container {
        padding: 0.43rem 0.5rem;
    }

    .hero-content::before,
    .features-grid::before,
    .features-grid::after,
    .hero-card::before,
    .hero-card::after {
        width: 10px;
        height: 10px;
        background-size: 1.5px 100%, 100% 1.5px;
        top: -5px;
        left: -5px;
    }

    .features-grid::after,
    .hero-card::after {
        bottom: -5px;
        right: -5px;
    }

    .feature-tag {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}
