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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0d1117;
    color: #e6edf3;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

#internal-link-faq.highlighted {
    background-color: #252a3a;
    border-radius: 8px;
  }

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #e6edf3;
    text-decoration: none;
}

.logo::before {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

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

.nav-links a {
    color: #8b949e;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e6edf3;
}

.nav-right {
    display: flex;
    gap: 2rem;
}

.nav-right a {
    color: #8b949e;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-right a:hover {
    color: #e6edf3;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero h1 {
    font-size: clamp(1.5rem, 8vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #e6edf3 0%, #8b949e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 800px
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #8b949e;
    margin-bottom: 3rem;
    max-width: 600px;
}

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

small {
    color: #727272;
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    border: none;
    transition: all 0.3s;
    background-color: transparent;
    cursor: pointer;
}

/* App Preview */
.app-preview {
    margin-top: 4rem;
    position: relative;
    max-width: 1000px;
    width: 100%;
}

.mockup-container {
    background: #161b22;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.mockup-header {
    background: #21262d;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.traffic-lights {
    display: flex;
    gap: 0.5rem;
}

.traffic-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.traffic-light.red { background: #ff5f56; }
.traffic-light.yellow { background: #ffbd2e; }
.traffic-light.green { background: #27ca3f; }

.mockup-content {
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    height: 500px;
}

.sidebar {
    background: #0d1117;
    padding: 1rem;
    border-right: 1px solid #30363d;
}

.sidebar-item {
    padding: 0.5rem;
    color: #8b949e;
    font-size: 0.9rem;
    margin: 0.2rem 0;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-item:hover {
    background: #21262d;
}

.sidebar-item.active {
    background: #1f2937;
    color: #a855f7;
}

.main-content {
    padding: 2rem;
    background: #0d1117;
}

.main-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #e6edf3;
}

.content-text {
    color: #8b949e;
    line-height: 1.8;
}

.right-panel {
    background: #161b22;
    padding: 1rem;
    border-left: 1px solid #30363d;
}

.panel-header {
    color: #e6edf3;
    font-weight: 600;
    margin-bottom: 1rem;
}

.panel-item {
    background: #21262d;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border-radius: 6px;
    color: #8b949e;
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.features-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #e6edf3;
}

.feature-item {
    margin-bottom: 3rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e6edf3;
}

.feature-item p {
    color: #8b949e;
    line-height: 1.8;
}

.feature-item a {
    color: #a855f7;
    text-decoration: none;
}

.feature-item a:hover {
    text-decoration: underline;
}

.obsidian-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-icon {
    width: 200px;
    height: 200px;           
    border-radius: 25px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.obsidian-logo h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e6edf3;
}

.obsidian-logo .subtitle {
    font-size: 1.5rem;
    color: #8b949e;
    margin-bottom: 0.5rem;
}

.download-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* .hero h1,
.hero-subtitle,
.cta-buttons {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    animation-delay: 0.4s;
}

.cta-buttons {
    animation-delay: 0.6s;
} */

.comparison-title {
    text-align: center;
    margin-bottom: 4rem;
}

.comparison-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e6edf3;
}

.comparison-title p {
    font-size: 1.2rem;
    color: #8b949e;
    max-width: 600px;
    margin: 0 auto;
}

.comparison-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    margin-bottom: 4rem;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 2rem;
    align-items: center;
}

.arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.comparison-header h3 {
    margin-bottom: 10px;
}

.comparison-container img {
    width: 100%;
    border-radius: 10px;
}

.arrow {
    font-size: 3rem;
    color: #a855f7;
    animation: pulse 2s infinite;
}

.arrow-text {
    font-size: 0.9rem;
    color: #8b949e;
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 600;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background:rgb(198 198 198 / 58%);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    background-image: url('zoom-icon.svg');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: background 0.2s;
}

.zoom-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

  /* Footer */
  .footer {
    border-top: 1px solid #30363d;
    background: #0d1117;
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 2rem;
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #8b949e;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #a855f7;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #21262d;
    color: #6e7681;
    font-size: 0.9rem;
}

/* Custom Video Player */
.video-player {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-player video {
    display: block;
    background: #000;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-player:hover .video-controls,
.video-player.playing .video-controls {
    opacity: 1;
}

.controls-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.play-btn, .volume-btn, .fullscreen-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover, .volume-btn:hover, .fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.time-display {
    color: white;
    font-size: 0.9rem;
    font-family: 'SF Mono', Monaco, monospace;
    white-space: nowrap;
}

.progress-container {
    flex: 1;
    margin: 0 15px;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    transition: height 0.2s ease;
}

.progress-bar:hover {
    height: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #a855f7);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
}

.progress-thumb {
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    background: #a855f7;
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.4);
}

.progress-bar:hover .progress-thumb {
    opacity: 1;
}

.controls-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-overlay-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.play-overlay-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.play-overlay-btn svg {
    margin-left: 4px; /* Slight offset for play icon visual balance */
}

a[href="#internal-link-faq"] {
    color: #a855f7;
}

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

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

    h2 {
        font-size: 1.8rem !important;
    }

    .zoom-icon {
        display: none;
    }

    .comparison-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }


    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 6rem 1rem 2rem;
    }

    .mockup-content {
        grid-template-columns: 1fr;
        height: auto;
    }

    .sidebar,
    .right-panel {
        display: none;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}