/* 
   Windy City Claw - Style System 
   Theme: Tech-Noir / Premium Dark
*/

:root {
    /* Colors */
    --bg-dark: #0F172A;
    --bg-black: #020617;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --accent-cyan: #00D9FF;
    --accent-cyan-glow: rgba(0, 217, 255, 0.4);
    --accent-silver: #CBD5E1;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover-border: rgba(0, 217, 255, 0.5);

    /* Typography */
    --font-heading: 'Michroma', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 20px;

    /* Animation */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-black));
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.sm-container {
    max-width: 800px;
}

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

.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.flex {
    display: flex;
}

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

.justify-between {
    justify-content: space-between;
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(90deg, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Ensure multi-line text centers */
    padding: 0.8rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    /* Slightly squared for tech feel */
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent-cyan);
    color: #000000 !important;
    /* Override .nav-links a */
    box-shadow: 0 0 15px var(--accent-cyan-glow);
    font-weight: 800 !important;
    /* Make it thick */
}

.btn-primary:hover {
    box-shadow: 0 0 25px var(--accent-cyan-glow);
    transform: translateY(-2px);
    background: #4de7ff;
}

/* ... existing btn styles ... */

/* Footer */
footer {
    padding: 2rem 0;
    /* Reduced padding */
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    /* Center vertically */
    margin-bottom: 0;
    /* Removed bottom margin */
}

/* Removed newsletter-embed styles */

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-outline:hover {
    background: var(--accent-cyan);
    color: var(--bg-black);
}

.full-width {
    width: 100%;
}

.pulse-btn {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 217, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 217, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 217, 255, 0);
    }
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    /* Slightly darker for better contrast */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
}

/* Responsive Text Utilities */
.mobile-text {
    display: none;
}

.desktop-text {
    display: inline;
}

.logo-img {
    height: 40px;
    /* Adjust based on actual logo aspect ratio */
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    /* Subtle pop on hover */
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-cyan);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
    align-items: center;
    /* Center flex items */
}

.mobile-menu.active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 120px;
    text-align: center;
    overflow: hidden;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-left: 10px;
    letter-spacing: 1px;
}

.hero-watermark {
    position: absolute;
    top: 55%;
    /* Moved down slightly */
    left: 0%;
    /* Moved right to prevent clipping */
    transform: translateY(-50%) rotate(-15deg);
    width: 55vh;
    height: auto;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.hero-watermark img {
    width: 100%;
    height: auto;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Enhanced Gradient Mesh */
    background:
        radial-gradient(circle at 15% 25%, rgba(0, 217, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 65%, rgba(0, 217, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0) 0%, rgba(2, 6, 23, 0.9) 100%);
    z-index: -1;
}

.hero::after {
    /* Subtle Grid Pattern */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.hero .container {
    position: relative;
    z-index: 2;
    /* Ensure text sits above watermark */
}

.hero-title {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-pre {
    font-family: var(--font-body);
    /* Contrast: Sans Serif */
    font-weight: 300;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    text-transform: none;
    /* Sentence case for conversational tone */
    letter-spacing: normal;
    opacity: 0.9;
}

.hero-main {
    font-family: var(--font-heading);
    /* Contrast: Tech/Display */
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(0, 217, 255, 0.2);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 8px;
    vertical-align: middle;
}

.trust-badge {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.8;
    margin-top: 2rem;
    /* Added spacing */
}

/* Glassmorphism Update */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    /* Top light source */
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Managed Care Section */
.managed-care-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.managed-care-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.managed-care-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.managed-care-header p {
    color: var(--text-secondary);
}

.managed-card {
    padding: 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--glass-border);
    transition: var(--transition);
}

.managed-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-cyan);
}

.mc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.mc-header h4 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    color: var(--accent-cyan);
}

.mc-price {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Make grid-2 utility */
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Features (Value Prop) */
.features {
    padding: var(--section-padding);
}

.feature-card {
    padding: 2.5rem;
    transition: var(--transition);
}

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

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Pricing */
.pricing {
    padding: 3rem 20px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
}

.pricing-banner {
    text-align: center;
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent-cyan);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.pricing-card {
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.highlighted {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-cyan);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-cyan);
    color: var(--bg-black);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
}

.card-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.card-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.card-header .subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

.price {
    text-align: center;
    margin-bottom: 2rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.new-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.unity {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.features-list {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.features-list li i {
    color: var(--accent-cyan);
    width: 18px;
    flex-shrink: 0;
}

.best-for {
    font-size: 0.8rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

/* How It Works */
.how-it-works {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-cyan);
    z-index: 2;
    flex-shrink: 0;
}

.step-content {
    padding-top: 0.3rem;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    color: var(--text-secondary);
}

/* FAQ */
.faq {
    padding: var(--section-padding);
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent-cyan);
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about {
    padding: var(--section-padding);
    background: rgba(0, 0, 0, 0.2);
}

.about .lead {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 2rem auto 0;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

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

.newsletter-embed {
    margin-top: 2rem;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

    .timeline::before {
        left: 19px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .pricing-card.highlighted {
        transform: none;
        /* Removed order: -1 to keep logical flow */
    }

    .grid-3.align-end {
        display: flex;
        flex-direction: column;
    }

    .pricing-card.highlighted {
        margin: 1rem 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .btn {
        text-align: center;
        /* Ensure text creates on multiple lines properly */
    }

    .hero-watermark {
        width: 85vw;
        /* Use width-based sizing for mobile */
        left: 50%;
        top: 45%;
        transform: translate(-50%, -50%) rotate(-10deg);
        /* Center and rotate */
        opacity: 0.1;
    }

    .logo-text {
        font-size: 1rem;
        margin-left: 8px;
    }

    h2 {
        font-size: 1.5rem !important;
        /* Force smaller size for long words */
        word-wrap: break-word;
        /* Ensure long words break if needed */
    }
}

/* Security Comparison Section */
.security-comparison {
    padding: 80px 20px 3rem 20px;
    background: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.4));
}

.section-subhead {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.security-table {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.table-header {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.col-feature {
    font-weight: 600;
    color: var(--text-primary);
}

.col-us,
.col-them {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    line-height: 1.3;
}

.wcc-col {
    color: var(--accent-cyan);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.danger-col {
    color: #ef4444;
    opacity: 0.9;
}

/* Mobile Responsive for Table */
@media (max-width: 768px) {
    .security-table {
        padding: 1rem;
    }

    .security-comparison h2 {
        font-size: clamp(1.5rem, 5vw, 2.2rem) !important;
    }

    .security-comparison {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

    .table-header {
        display: none;
        /* Hide header on mobile for card view */
    }

    .table-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem;
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .col-feature {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 0.8rem;
        color: var(--text-secondary);
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .col-us,
    .col-them {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.5rem;
        justify-content: flex-start;
        align-items: center;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 6px;
        min-height: 120px;
        font-size: 0.9rem;
    }

    .col-us i,
    .col-them i {
        margin-bottom: 0.6rem;
        width: 24px;
        height: 24px;
    }

    .col-us {
        background: rgba(0, 217, 255, 0.05);
        border: 1px solid rgba(0, 217, 255, 0.1);
    }

    .security-table .table-header {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        padding-top: 0;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

    .table-header .col-feature {
        display: none;
    }

    .table-header .col-us,
    .table-header .col-them {
        justify-content: center;
        text-transform: uppercase;
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 1px;
        background: none;
        padding: 0;
        min-height: auto;
        border: none;
        /* Fix: Remove box/border from header */
    }

    .mobile-text {
        display: inline;
    }

    .desktop-text {
        display: none;
    }
}

/* Fix sticky header overlap */
#security-comparison {
    scroll-margin-top: 100px;
}