/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ==================== CSS VARIABLES ==================== */
:root {
    --primary-blue: #009ccc;
    --dark-blue: #000309;
    --accent-teal: #488d9b;
    --light-bg: #F8FAFC;
    --white: #c7e1ed;
    --hero-text-color: #ebf0ef;
    --header-color: #000d0a;
    --nav-text: #f1f3f2;    
    --nav-text-hover: #608ab3;
    --nav-text-active: #59aab9;    
    --metric-text-color: #000706;   
    --logo-color: #f7fbfa;
    --feature-card-header: #f9fafc;
    --feature-card-background: #1f4f6d;
    --roi-card-background: #01111b;
    --comoparison-table-header: #1f4f6d;
    --gray-text: #010d1e;
    --gray-light: #E2E8F0;
    --border-color: #CBD5E1;
    --success-green: #10B981;
    --warning-orange: #F59E0B;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== TYPOGRAPHY & BODY ==================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: var(--gray-text);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark-blue);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-blue);
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
    background-color: var(--header-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--logo-color);
    text-decoration: none;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

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

nav a {
    text-decoration: none;
    color: var(--nav-text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--nav-text-hover);
}

nav a.active {
    color: var(--nav-text-active);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 5px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== BUTTONS ==================== */
.cta-button {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
}

.btn-primary {
    background-color: var(--accent-teal);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #0099b8;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border: 2px solid var(--white);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    cursor: pointer;
    display: inline-block;
}

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

button {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-base);
    font-size: 0.95rem;
}

button:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

/* ==================== CONTAINER & LAYOUT ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 0;
}

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

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--hero-text-color);
    padding: 6rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background-color: rgba(0, 180, 216, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background-color: rgba(0, 180, 216, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

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

.hero h1 {
    color: var(--hero-text-color);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    color: var(--hero-text-color);
}

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

/* ==================== PROBLEM SECTION ==================== */
.problem-section {
    background-color: var(--light-bg);
    padding: 4rem 0;
}

.problem-section h2 {
    text-align: center;
}

.problem-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--gray-text);
}

/* ==================== GRIDS ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.metric {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    text-align: center;
}

.metric:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--metric-text-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--gray-text);
    font-size: 1rem;
}

.why-card {
    background: var(--feature-card-header);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border-left: 4px solid var(--accent-teal);
}

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

.feature-card {
    background: var(--feature-card-background);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border-left: 4px solid var(--accent-teal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--feature-card-header);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--feature-card-header);
    line-height: 1.6;
}

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

.compliance-item {
    background: var(--feature-card-background);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.compliance-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.compliance-item h4 {
    color: var(--feature-card-header);
    margin-bottom: 1rem;
}

.compliance-item p {
    color: var(--feature-card-header);
    font-size: 0.95rem;
}

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

.faq-item {
    background: var(--feature-card-background);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border-left: 4px solid var(--accent-teal);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.faq-item h4 {
    color: var(--feature-card-header);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--feature-card-header);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item strong {
    color: var(--primary-blue);
    font-weight: 600;
}

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

.roi-card {
    background: var(--feature-card-background);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border-left: 4px solid var(--success-green);
}

.roi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.roi-card h4 {
    color: var(--feature-card-header);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.roi-metric {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--success-green);
    margin-bottom: 1rem;
}

.roi-card p {
    color: var(--feature-card-header);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.roi-subtext {
    font-size: 0.9rem;
    color: var(--accent-teal);
    font-weight: 600;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* ==================== COMPARISON TABLE ==================== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table thead {
    background-color: var(--comoparison-table-header);
    color: var(--white);
}

.comparison-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background-color: var(--light-bg);
}

.comparison-check {
    color: var(--success-green);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ==================== PRICING SECTION ==================== */
.pricing-section {
    background-color: var(--light-bg);
    padding: 4rem 0;
}

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

.pricing-card {
    background: var(--header-card-background);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    position: relative;
    border: 2px solid var(--border-color);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.pricing-card .subtitle {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.price-period {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

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

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--gray-text);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.pricing-features li:before {
    content: "✓ ";
    color: var(--success-green);
    font-weight: 700;
    margin-right: 0.75rem;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* ==================== FOOTER ==================== */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 3rem 1.5rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== ANIMATIONS ==================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== CONTENT PAGES ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 1.5rem;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.page-content {
    padding: 4rem 0;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 1rem;
}

.content-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

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

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    nav {
        padding: 1rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 1rem;
        gap: 1rem;
        box-shadow: var(--shadow-md);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons button,
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 3rem 0;
    }

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

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
    }

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

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

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

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

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

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

    .cta-section {
        padding: 2rem 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .page-header {
        padding: 2rem 1rem;
    }

    .page-content {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    nav {
        padding: 0.75rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

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

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

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 2rem 0;
    }

    .price {
        font-size: 2rem;
    }

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

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header {
        padding: 1.5rem 1rem;
    }
}
