/* ================================
   PurensisRX Website Styles
   ================================ */

/* CSS Variables */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004c99;
    --secondary-color: #4A90D9;
    --accent-color: #4A90D9;
    --text-dark: #f0f0f0;
    --text-light: #a0a0a0;
    --bg-light: #1a1a1a;
    --bg-white: #111111;
    --border-color: #2a2a2a;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.5);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

/* Navigation */
.navbar {
    background: #111111;
    border-bottom: 1px solid #1e1e1e;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary-color);
}

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

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu .btn-primary {
    color: white !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 4rem 0 3rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-accent {
    color: #4A90D9;
    font-weight: 700;
}

.gradient-accent-inline {
    color: var(--primary-color);
    font-weight: 600;
}

.desktop-break {
    display: block;
}

@media (max-width: 768px) {
    .desktop-break {
        display: inline;
    }
    .desktop-break::before {
        content: ' ';
    }
}

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

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

.hero .btn-primary {
    background: var(--primary-color);
    color: white;
}

.hero .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.feature-card {
    padding: 2rem;
    background: #161616;
    border: 1px solid #222;
    border-radius: 12px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #0066cc;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Workflow Section */
.workflow {
    padding: 6rem 0;
    background: var(--bg-light);
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem 1rem;
    background: #161616;
    border: 1px solid #222;
    border-radius: 12px;
    transition: var(--transition);
}

.workflow-step:hover {
    border-color: #0066cc;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.workflow-step h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.workflow-step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Flip cards on workflow steps */
.workflow-step {
    position: relative;
    cursor: pointer;
    perspective: 800px;
}

.workflow-step > .step-number,
.workflow-step > h3,
.workflow-step > p {
    backface-visibility: hidden;
    transition: opacity 0.4s ease;
}

.hover-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    backface-visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.workflow-step:hover > .step-number,
.workflow-step:hover > h3,
.workflow-step:hover > p {
    opacity: 0;
}

.workflow-step:hover .hover-card {
    opacity: 1;
}

.workflow-step:hover {
    border-color: #0066cc;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.15);
}

.hover-card h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.hover-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.hover-card .feature-icon {
    margin-bottom: 0.75rem;
}

.workflow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: #0a0a0a;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background: var(--primary-color);
    color: white;
}

.cta .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h3 span {
    color: var(--primary-color);
}

.footer-section h4 {
    color: #4A90D9;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
}

/* Differentiator Section */
.differentiator {
    padding: 5rem 0;
    background: var(--bg-light);
}

.differentiator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.differentiator-text h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.differentiator-lead {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.differentiator-text strong {
    color: var(--secondary-color);
}

.differentiator-visual {
    display: flex;
    justify-content: center;
}

/* Proof Point Section */
.proof-point {
    padding: 5rem 0;
    background: var(--bg-white);
}

.proof-subtitle-inline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.proof-description {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.proof-card {
    padding: 2.5rem 1.5rem;
    background: #161616;
    border: 1px solid #222;
    border-radius: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proof-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

.proof-card.highlight .proof-number {
    color: var(--secondary-color);
}

.proof-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Team Section */
.team {
    padding: 5rem 0;
    background: var(--bg-light);
    text-align: center;
}

.team-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

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

.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.team-role {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.team-cta-text {
    color: var(--text-light);
    margin-top: 1rem;
}

.team-cta-text a {
    color: var(--primary-color);
    font-weight: 600;
}

.team-cta-text a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .workflow-arrow {
        display: none;
    }

    .workflow-steps {
        flex-direction: column;
    }

    .nav-menu {
        gap: 1rem;
    }

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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 3rem;
    }

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

    .features, .workflow, .cta, .differentiator, .proof-point, .team {
        padding: 3rem 0;
    }

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

    .differentiator-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
