/* UptimeGrove - Clean white theme with green/orange accents */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1f2937;
    line-height: 1.6;
    background: #ffffff;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVIGATION ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1f2937;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4b5563;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}
.nav-link:hover { color: #10B981; }
.dropdown-arrow { font-size: 0.65rem; color: #9ca3af; }
.nav-outages { color: #10B981 !important; }
.nav-dropdown { position: relative; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-demo {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4b5563;
    padding: 10px 18px;
    border-radius: 4px;
    transition: color 0.2s;
}
.btn-demo:hover { color: #10B981; }
.btn-trial {
    display: inline-block;
    padding: 10px 20px;
    background: #F97316;
    color: #ffffff;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    transition: all 0.2s;
}
.btn-trial:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 80px 0 60px;
    background: #ffffff;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: #111827;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-description {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 32px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.btn-trial-lg {
    display: inline-block;
    padding: 14px 28px;
    background: #F97316;
    color: #ffffff;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    transition: all 0.2s;
}
.btn-trial-lg:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(249,115,22,0.3);
}
.btn-demo-outline {
    display: inline-block;
    padding: 14px 28px;
    border: 2px solid #10B981;
    color: #10B981;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    transition: all 0.2s;
}
.btn-demo-outline:hover {
    background: #10B981;
    color: #ffffff;
}
.hero-note {
    font-size: 0.8rem;
    color: #9ca3af;
    font-style: italic;
}

/* ===== HERO MOCKUP ===== */
.hero-mockup {
    position: relative;
}
.mockup-dashboard {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
    overflow: hidden;
}
.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    background: #f9fafb;
}
.mockup-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: #1f2937;
}
.mockup-period {
    font-size: 0.75rem;
    color: #6b7280;
    background: #e5e7eb;
    padding: 3px 10px;
    border-radius: 12px;
}
.mockup-uptime-display {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 20px;
    border-bottom: 1px solid #f3f4f6;
}
.uptime-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #10B981;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.uptime-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #10B981;
}
.uptime-label {
    font-size: 0.6rem;
    color: #6b7280;
    text-transform: uppercase;
}
.uptime-stats {
    display: flex;
    gap: 20px;
    flex: 1;
}
.stat-item {
    text-align: center;
}
.stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}
.stat-label {
    display: block;
    font-size: 0.65rem;
    color: #9ca3af;
    text-transform: uppercase;
}
.mockup-chart {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
}
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 60px;
}
.chart-bar {
    flex: 1;
    background: #10B981;
    border-radius: 2px 2px 0 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.chart-bar:hover { opacity: 1; }
.chart-bar.alert { background: #F97316; }
.chart-label {
    display: block;
    font-size: 0.65rem;
    color: #9ca3af;
    margin-top: 8px;
    text-align: center;
}
.mockup-events {
    padding: 12px 20px;
}
.event-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.75rem;
    border-bottom: 1px solid #f9fafb;
}
.event-item:last-child { border-bottom: none; }
.event-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.event-up .event-dot { background: #10B981; }
.event-down .event-dot { background: #ef4444; }
.event-text { flex: 1; color: #4b5563; }
.event-time { color: #9ca3af; font-size: 0.7rem; }

/* ===== PRODUCT CARDS SECTION ===== */
.products-section {
    padding: 80px 0;
    background: #f9fafb;
}
.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
}
.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.product-card-border {
    height: 4px;
    background: #EAB308;
}
.product-card-content {
    padding: 36px;
}
.product-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
}
.product-description {
    font-size: 0.92rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
}
.product-features {
    margin-bottom: 24px;
}
.product-features li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 0.85rem;
    color: #4b5563;
}
.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: 700;
}
.btn-learn-more {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #10B981;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}
.btn-learn-more:hover { color: #059669; }

/* ===== USE CASES / TABS SECTION ===== */
.use-cases-section {
    padding: 0 0 80px;
    background: #ffffff;
}
.sticky-bar {
    background: #1f2937;
    padding: 20px 0;
    position: sticky;
    top: 57px;
    z-index: 90;
}
.sticky-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sticky-bar h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}
.btn-sticky-trial {
    display: inline-block;
    padding: 10px 22px;
    background: #10B981;
    color: #ffffff;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    transition: all 0.2s;
}
.btn-sticky-trial:hover {
    background: #059669;
    transform: translateY(-1px);
}
.tabs-nav {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    margin-top: 40px;
    margin-bottom: 40px;
}
.tab-btn {
    padding: 16px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
}
.tab-btn:hover { color: #10B981; }
.tab-btn.active {
    color: #10B981;
    border-bottom-color: #10B981;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.tab-mockup {
    position: relative;
}
.tab-screenshot {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.screenshot-header {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}
.screenshot-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.screenshot-dot.red { background: #ef4444; }
.screenshot-dot.yellow { background: #EAB308; }
.screenshot-dot.green { background: #10B981; }
.screenshot-content {
    padding: 24px;
}
.screenshot-metric {
    margin-bottom: 20px;
}
.screenshot-metric:last-child { margin-bottom: 0; }
.metric-label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 4px;
}
.metric-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}
.metric-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}
.metric-fill {
    height: 100%;
    background: #F97316;
    border-radius: 3px;
    transition: width 0.5s ease;
}
.metric-fill.good { background: #10B981; }
.tab-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}
.tab-text p {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ===== TESTIMONIAL SECTION ===== */
.testimonial-section {
    padding: 100px 0;
    background: #f9fafb;
}
.testimonial-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 60px;
    line-height: 1.3;
}
.testimonial-carousel {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.carousel-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
    flex-shrink: 0;
}
.carousel-arrow:hover {
    border-color: #10B981;
    color: #10B981;
}
.testimonial-card {
    flex: 1;
    text-align: center;
    padding: 40px;
}
.quote-mark {
    font-size: 5rem;
    color: #10B981;
    line-height: 0.5;
    margin-bottom: 20px;
    font-family: Georgia, serif;
}
.testimonial-card blockquote p {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 32px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #10B981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.author-info {
    text-align: left;
}
.author-info strong {
    display: block;
    font-size: 0.9rem;
    color: #1f2937;
}
.author-info span {
    font-size: 0.8rem;
    color: #6b7280;
}

/* ===== APM SECTION ===== */
.apm-section {
    padding: 100px 0;
    background: #ffffff;
}
.apm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.apm-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
    line-height: 1.3;
}
.apm-content p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 16px;
}
.apm-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
}
.btn-link-green {
    font-size: 0.85rem;
    font-weight: 700;
    color: #10B981;
    transition: color 0.2s;
}
.btn-link-green:hover { color: #059669; }
.apm-visual {
    position: relative;
}
.apm-screenshot {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.apm-screen-header {
    padding: 40px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.apm-play-btn {
    cursor: pointer;
    transition: transform 0.2s;
}
.apm-play-btn:hover { transform: scale(1.1); }
.apm-screen-content {
    padding: 24px;
}
.apm-trace {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.trace-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.trace-label {
    font-size: 0.75rem;
    color: #6b7280;
    width: 110px;
    flex-shrink: 0;
}
.trace-bar {
    flex: 1;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}
.trace-fill {
    height: 100%;
    background: linear-gradient(90deg, #10B981, #34d399);
    border-radius: 4px;
}
.trace-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1f2937;
    width: 50px;
    text-align: right;
}

/* ===== FOOTER ===== */
.footer {
    background: #1f2937;
    padding: 60px 0 0;
    color: #d1d5db;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h5 {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.footer-col a {
    display: block;
    padding: 4px 0;
    font-size: 0.85rem;
    color: #9ca3af;
    transition: color 0.2s;
}
.footer-col a:hover { color: #10B981; }
.footer-phone {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.2s;
}
.social-icon:hover {
    background: #10B981;
    color: #ffffff;
}
.footer-bottom {
    border-top: 1px solid #374151;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-legal {
    display: flex;
    gap: 20px;
}
.footer-legal a {
    font-size: 0.75rem;
    color: #6b7280;
    transition: color 0.2s;
}
.footer-legal a:hover { color: #10B981; }
.footer-copyright {
    font-size: 0.75rem;
    color: #6b7280;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-content h1 { font-size: 2.2rem; }
    .products-grid { grid-template-columns: 1fr; }
    .tab-grid { grid-template-columns: 1fr; }
    .apm-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-actions .btn-demo { display: none; }
    .hero { padding: 50px 0 40px; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions a { text-align: center; }
    .sticky-bar-inner { flex-direction: column; gap: 12px; text-align: center; }
    .sticky-bar h2 { font-size: 1rem; }
    .tabs-nav { overflow-x: auto; }
    .tab-btn { padding: 12px 20px; font-size: 0.8rem; white-space: nowrap; }
    .testimonial-carousel { flex-direction: column; }
    .carousel-arrow { display: none; }
    .testimonial-section h2 { font-size: 1.6rem; }
    .apm-content h2 { font-size: 1.6rem; }
    .apm-actions { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-legal { flex-wrap: wrap; justify-content: center; }
    .mockup-uptime-display { flex-direction: column; align-items: flex-start; }
    .uptime-stats { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-content h1 { font-size: 1.5rem; }
    .product-card-content { padding: 24px; }
    .testimonial-card { padding: 20px; }
    .quote-mark { font-size: 3rem; }
}
