/* ============================================
   DependGuard Premium CSS
   Brand: #0A0F1C navy, #00D4FF cyan, #00FF88 green
   ============================================ */

/* === GLOBAL === */
body {
    background-color: #0A0F1C;
    color: #C9D1D9;
}

a { color: #00D4FF; }

h1, h2, h4 { color: #E6EDF3; }
h3 { color: #E6EDF3; }

p { color: #C9D1D9; }

.section-title {
    text-align: center;
    color: #E6EDF3;
}

.section-description {
    color: #8B949E;
}

/* === HEADER === */
header {
    background: rgba(10, 15, 28, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo a { color: #00D4FF; }

nav ul li a { color: #C9D1D9; }
nav ul li a:hover { color: #00D4FF; }

.fa-solid { color: #00D4FF; }

.dropdown_menu {
    background: rgba(8, 12, 24, 0.97);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.dropdown_menu li a { color: #C9D1D9 !important; }
.dropdown_menu li a:hover { color: #00D4FF !important; }

/* === BUTTONS === */
.btn-primary {
    background: linear-gradient(135deg, #00D4FF 0%, #00A8CC 100%);
    color: #0A0F1C;
    font-weight: 700;
    border: none;
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.28);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #20EAFF 0%, #00D4FF 100%);
    box-shadow: 0 0 36px rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
    color: #0A0F1C;
}

.btn-secondary {
    background: rgba(0, 212, 255, 0.1);
    color: #00D4FF;
    border: 1px solid rgba(0, 212, 255, 0.35);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 22px rgba(0, 212, 255, 0.3);
    color: #00D4FF;
    transform: translateY(-2px);
}

.btn-outline {
    color: #00D4FF;
    border-color: rgba(0, 212, 255, 0.5);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00D4FF;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
    color: #00D4FF;
}

/* === HERO === */
.hero {
    background: #0A0F1C;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 750px;
    background: radial-gradient(ellipse at center,
        rgba(0, 212, 255, 0.16) 0%,
        rgba(0, 255, 136, 0.07) 38%,
        transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    background: linear-gradient(135deg, #00D4FF 0%, #00FF88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero-description { color: #8B949E; font-size: 1.15rem; }
.hero-trust { color: #8B949E; }

/* === FEATURES === */
.features {
    background: linear-gradient(180deg, #0D1526 0%, #0A0F1C 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.08);
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2), 0 0 0 1px rgba(0, 212, 255, 0.32);
    border-color: rgba(0, 212, 255, 0.35);
}

.feature-card h3 { color: #E6EDF3; }
.feature-card p { color: #8B949E; }

/* === STATS SECTION === */
.stats-section {
    background: linear-gradient(180deg, #0A0F1C 0%, #0D1526 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse,
        rgba(0, 255, 136, 0.07) 0%,
        rgba(0, 212, 255, 0.04) 50%,
        transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.14);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 255, 136, 0.14);
    border-color: rgba(0, 255, 136, 0.35);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00FF88 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-label {
    color: #8B949E;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* === INTEGRATIONS CAROUSEL === */
.integrations-carousel {
    background: linear-gradient(180deg, #0D1526 0%, #0A0F1C 100%);
    padding: 4.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 212, 255, 0.08);
    border-bottom: 1px solid rgba(0, 212, 255, 0.08);
}

.integrations-subtitle {
    text-align: center;
    color: #8B949E;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    margin-top: 0.5rem;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 180px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #0A0F1C 0%, transparent 100%);
}

.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, #0A0F1C 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    padding: 0.75rem 0;
}

.carousel-track-row1 {
    animation: carousel-left 35s linear infinite;
}

.carousel-track-row2 {
    animation: carousel-right 38s linear infinite;
    margin-top: 1.25rem;
}

@keyframes carousel-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes carousel-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.carousel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px;
    flex-shrink: 0;
    cursor: default;
}

.carousel-item img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.55);
    transition: filter 0.35s ease, transform 0.35s ease;
}

.carousel-item:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.18);
}

.carousel-icon-emoji {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    filter: grayscale(100%) opacity(0.55);
    transition: filter 0.35s ease, transform 0.35s ease;
}

.carousel-item:hover .carousel-icon-emoji {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.18);
}

.carousel-item span {
    font-size: 0.7rem;
    color: #8B949E;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.carousel-item:hover span { color: #00D4FF; }

/* === HOW IT WORKS === */
.how-it-works {
    background: linear-gradient(180deg, #0A0F1C 0%, #0D1526 100%);
}

.step h3 { color: #E6EDF3; }
.step p { color: #8B949E; }

.step-number {
    background: linear-gradient(135deg, #00D4FF 0%, #00FF88 100%);
    color: #0A0F1C;
    font-weight: 800;
    box-shadow: 0 0 28px rgba(0, 212, 255, 0.45);
}

/* === CTA === */
.cta {
    background: linear-gradient(135deg, #0D1A2E 0%, #0A1520 55%, #081A14 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.12);
    border-bottom: 1px solid rgba(0, 255, 136, 0.08);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse,
        rgba(0, 212, 255, 0.09) 0%,
        rgba(0, 255, 136, 0.05) 50%,
        transparent 70%);
    pointer-events: none;
}

.cta .container { position: relative; z-index: 1; }
.cta h2 { color: #E6EDF3; }
.cta p { color: #8B949E; }

.cta .btn-primary {
    background: linear-gradient(135deg, #00D4FF 0%, #00FF88 100%);
    color: #0A0F1C;
    box-shadow: 0 0 28px rgba(0, 212, 255, 0.4);
}

.cta .btn-primary:hover {
    background: linear-gradient(135deg, #00FF88 0%, #00D4FF 100%);
    box-shadow: 0 0 52px rgba(0, 212, 255, 0.7);
    color: #0A0F1C;
}

/* === WAITLIST === */
.waitlist-section {
    background: linear-gradient(135deg, #0A0F1C 0%, #0D1A2E 50%, #081A14 100%);
    position: relative;
    overflow: hidden;
}

.waitlist-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse,
        rgba(0, 212, 255, 0.1) 0%,
        rgba(0, 255, 136, 0.06) 45%,
        transparent 70%);
    pointer-events: none;
}

.waitlist-content {
    position: relative;
    z-index: 1;
}

.waitlist-content h2 {
    background: linear-gradient(135deg, #00D4FF 0%, #00FF88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.waitlist-content p { color: #8B949E; }

.waitlist-form-container {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form-group label { color: #C9D1D9; }

.form-group input {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.22);
    color: #E6EDF3;
    border-radius: 8px;
}

.form-group input::placeholder { color: rgba(200, 210, 225, 0.4); }

.form-group input:focus {
    outline: none;
    border-color: #00D4FF;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.28);
    background: rgba(0, 212, 255, 0.08);
    transform: none;
}

.btn-submit {
    background: linear-gradient(135deg, #00D4FF 0%, #00FF88 100%);
    color: #0A0F1C;
    border: none;
    font-weight: 700;
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.3);
    border-radius: 10px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #00FF88 0%, #00D4FF 100%);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.65);
    transform: translateY(-2px);
    color: #0A0F1C;
}

/* === FOOTER === */
footer {
    background: #060810;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-column h3 { color: #00D4FF; }
.footer-column h4 { color: #00D4FF; }
.footer-column p { color: #8B949E; }
.footer-column ul li a { color: #8B949E; }
.footer-column ul li a:hover { color: #00D4FF; }
.footer-bottom p { color: #8B949E; }
.footer-bottom { border-top-color: rgba(255, 255, 255, 0.06); }
.social-link { color: #8B949E; }
.social-link:hover { color: #00D4FF; }

/* === FAQ ITEMS === */
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    text-align: left;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 8px 28px rgba(0, 212, 255, 0.1);
}

.faq-item h3 {
    color: #00D4FF;
    text-align: left;
    margin-bottom: 0.75rem;
}

.faq-item p { color: #8B949E; margin-bottom: 0; }

/* === ABOUT / STORY / MISSION === */
.about-story, .about-mission {
    background: #0A0F1C;
    padding: 4rem 0;
}

.story-content p, .mission-content p { color: #8B949E; }
.story-content h2, .mission-content h2 { color: #E6EDF3; }
.mission-content ul li { color: #8B949E; }

/* === CONTACT PAGE === */
.faq-preview {
    background: #0D1526;
    padding: 4rem 0;
}

.faq-preview-cta { text-align: center; margin-top: 2rem; }

.info-item h3 { color: #00D4FF; }
.info-item p { color: #8B949E; }
.info-item a { color: #8B949E; }
.info-item a:hover { color: #00D4FF; }

/* === COMPETITORS PAGE — COMPARISON TABLE === */
.comparison-section {
    background: linear-gradient(180deg, #0A0F1C 0%, #0D1526 100%);
    padding: 5rem 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

.comparison-table thead th {
    padding: 1.25rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    border-bottom: 2px solid rgba(0, 212, 255, 0.15);
    color: #E6EDF3;
    background: rgba(10, 15, 28, 0.9);
    position: sticky;
    top: 0;
}

.comparison-table thead th.col-dg {
    background: rgba(0, 212, 255, 0.1);
    border-top: 3px solid #00D4FF;
    color: #00D4FF;
}

.comparison-table tbody td {
    padding: 0.85rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #8B949E;
    font-size: 0.9rem;
    background: rgba(10, 15, 28, 0.6);
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: #C9D1D9;
    padding-left: 1.5rem;
    white-space: nowrap;
}

.comparison-table tbody td.col-dg {
    background: rgba(0, 212, 255, 0.06);
    color: #E6EDF3;
    font-weight: 600;
}

.comparison-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }
.comparison-table tbody tr:hover td.col-dg { background: rgba(0, 212, 255, 0.1); }

.comparison-table .price-row td {
    font-weight: 700;
    font-size: 0.88rem;
    padding: 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.12);
}

.comparison-table .price-row td.col-dg { color: #00FF88; }

/* === WHY WINS === */
.why-wins-section {
    background: linear-gradient(180deg, #0D1526 0%, #0A0F1C 100%);
    padding: 5rem 0;
}

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

.win-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.14);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.win-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
}

.win-card-icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 1rem;
}

.win-card h3 { color: #00D4FF; margin-bottom: 0.75rem; }
.win-card p { color: #8B949E; margin-bottom: 0; }

/* === CSS BAR CHART === */
.price-chart-section {
    background: linear-gradient(180deg, #0A0F1C 0%, #0D1526 100%);
    padding: 5rem 0;
}

.chart-bars {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.chart-bar-item {
    display: grid;
    grid-template-columns: 160px 1fr 130px;
    align-items: center;
    gap: 1rem;
}

.chart-bar-label {
    color: #C9D1D9;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.chart-bar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    height: 38px;
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding-left: 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    animation: bar-grow 1.2s ease forwards;
    transform-origin: left;
}

@keyframes bar-grow {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0% 0 0); }
}

.chart-bar-fill.bar-dg {
    background: linear-gradient(90deg, #00D4FF, #00FF88);
    color: #0A0F1C;
    width: 28%;
}

.chart-bar-fill.bar-snyk {
    background: linear-gradient(90deg, #7B3FE4, #4B2AAD);
    color: white;
    width: 82%;
}

.chart-bar-fill.bar-socket {
    background: linear-gradient(90deg, #E44D3A, #B83828);
    color: white;
    width: 60%;
}

.chart-bar-fill.bar-semgrep {
    background: linear-gradient(90deg, #F5A623, #D4880C);
    color: #0A0F1C;
    width: 40%;
}

.chart-bar-fill.bar-dependabot {
    background: linear-gradient(90deg, #2EA043, #1F7232);
    color: white;
    width: 5%;
    padding-left: 0;
}

.chart-bar-price {
    color: #8B949E;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.chart-bar-item.highlight-bar .chart-bar-label { color: #00D4FF; font-weight: 700; }
.chart-bar-item.highlight-bar .chart-bar-price { color: #00FF88; font-weight: 700; }

.chart-note {
    text-align: center;
    color: #8B949E;
    font-size: 0.82rem;
    margin-top: 1.5rem;
    opacity: 0.7;
}

/* === COMPETITORS FAQ === */
.comp-faq-section {
    background: linear-gradient(180deg, #0D1526 0%, #0A0F1C 100%);
    padding: 5rem 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }

    .chart-bar-item {
        grid-template-columns: 110px 1fr 100px;
        gap: 0.6rem;
    }

    .chart-bar-label { font-size: 0.78rem; }

    .stat-number { font-size: 2rem; }

    .carousel-wrapper::before,
    .carousel-wrapper::after { width: 80px; }
}

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

    .chart-bar-item {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .chart-bar-label { text-align: left; }

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

    .stat-number { font-size: 1.8rem; }
}
