/*
Theme Name: CardioVitals
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A custom WordPress theme based on the CardioVitals landing page.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cardiovitals
*/

:root {
    --background: #000;
    --text: #fff;
    --accent: #ff3b02;
    --secondary: #888;
    --card-bg: rgba(255, 255, 255, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', sans-serif;
}

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

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.gradient-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 59, 2, 0.15), transparent 70%);
    opacity: 0.4;
    z-index: -1;
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.site-header {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    /* No longer needs max-width/margin since header-container handles it */
}

.logo-container a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text);
    transition: opacity 0.2s ease;
}

.logo-container a:hover {
    opacity: 0.7;
}

.logo {
    height: 40px;
}

.company-name {
    font-size: 1.25rem;
    font-weight: 500;
}

.hero {
    position: relative;
    z-index: 2;
    padding: 8rem 2rem;
    text-align: center;
    overflow: hidden;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #ff3b02);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--secondary);
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent), #ff6b42);
    color: var(--text);
    padding: 1rem 2.5rem;
    border-radius: 99px;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff6b42, var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-button--small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.features {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 59, 2, 0.5);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
    background: linear-gradient(90deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

footer {
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--secondary);
}

.legal-text {
    font-size: 0.875rem;
    margin-top: 1.5rem;
    opacity: 0.7;
}

/* Page content styles (Privacy Policy, Terms, etc.) */
.site-main {
    position: relative;
    z-index: 2;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-header {
    text-align: center;
    padding: 4rem 0;
}

.page-header h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 0;
    background: linear-gradient(to right, #fff, #ff3b02);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.page-body {
    color: var(--secondary);
    font-size: 1.1rem;
}

.page-body h2 {
    color: var(--text);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.page-body h3 {
    color: var(--text);
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
}

.page-body p {
    margin-bottom: 1rem;
}

.page-body ul,
.page-body ol {
    margin: 1rem 0 1rem 2rem;
}

.page-body li {
    margin-bottom: 0.5rem;
}

.page-body a {
    color: var(--accent);
    text-decoration: underline;
}

.page-body a:hover {
    color: #ff6b42;
}

/* Footer navigation */
.footer-nav {
    margin-bottom: 2rem;
}

.footer-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-menu a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

    .feature-card {
        padding: 1.5rem;
    }

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

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