/* Modern Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #75AAC4;
    --primary-hover: #5d8a9e;
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    text-wrap: balance;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    text-wrap: pretty;
}

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

.section {
    padding: 5rem 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(117, 170, 196, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(117, 170, 196, 0.23);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px 0 rgba(117, 170, 196, 0.39);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Header / Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    text-align: center;
    background: radial-gradient(circle at top center, rgba(117, 170, 196, 0.15) 0%, transparent 70%);
}

.hero h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    text-wrap: pretty;
}

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

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Showcase Section (Alternating) */
.showcase {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.showcase:nth-child(even) {
    flex-direction: row-reverse;
}

.showcase-content {
    flex: 0.8;
}

.showcase-content ul li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.showcase-content ul li i {
    margin-top: 0.25rem;
    min-width: 1rem;
}

.showcase-media {
    flex: 1.2;
}

.showcase-media img, .showcase-media video {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Premium Section */
.premium-section {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(117, 170, 196, 0.1) 100%);
    border-radius: var(--radius);
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    /* align-items: start; Removed to allow stretching */
}

.pricing-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    min-height: 5.5rem;
    margin-bottom: 0;
}

.pricing-card p {
    text-wrap: balance;
    font-size: 0.9rem;
    min-height: 5rem;
    margin-bottom: 1.5rem;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.pricing-card.recommended {
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 30px rgba(117, 170, 196, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: white;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    margin: 2rem 0;
    list-style: none;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.pricing-features li i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

/* Footer */
.footer {
    background: var(--card-bg);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Responsive */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    
    .header .btn-primary {
        display: none;
    }

    .mobile-only {
        display: block;
        color: var(--primary-color) !important;
        font-weight: 700;
        margin-top: 1rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .showcase {
        flex-direction: column;
        gap: 2rem;
    }
    
    .showcase:nth-child(even) {
        flex-direction: column;
    }
    
    .premium-section {
        padding: 2rem 1rem;
    }

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

    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding-top: 120px;
    }
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
}

.tooltip .tooltip-icon {
    margin-left: 0.4rem;
    color: var(--primary-color);
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.tooltip:hover .tooltip-icon {
    opacity: 1;
}

.tooltip .tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-color);
    color: var(--text-color);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    width: 280px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    z-index: 100;
    transition: opacity 0.2s, visibility 0.2s;
    line-height: 1.6;
    font-weight: 400;
    text-wrap: pretty;
}

.tooltip .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: var(--bg-color) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
