:root {
    --primary-color: #0dcaf0;
    --primary-dark: #0a8ca8;
    --accent-color: #7c3aed;
    --success-color: #10b981;
    --text-dark: #030303;
    --text-gray: #606060;
    --bg-light: #f9f9f9;
    --border-color: #e5e5e5;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Hero Section */
.features-hero {
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    color: white;
    padding: 100px 0 80px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: -30px;
    margin-bottom: 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.features-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.features-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 0;
}

.features-hero .lead {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Sticky Navigation */
.section-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 80px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.5) 0%, rgba(255, 192, 203, 0.5) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 182, 193, 0.3);
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(255, 182, 193, 0.15), 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
    margin-bottom: 4rem;
}

.section-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0.5rem 2rem;
    overflow-x: auto;
    scrollbar-width: thin;
    gap: 0.25rem;
    justify-content: center;
}

.section-nav-list::-webkit-scrollbar {
    height: 3px;
}

.section-nav-list::-webkit-scrollbar-track {
    background: transparent;
}

.section-nav-list::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #0dcaf0 0%, #7c3aed 100%);
    border-radius: 10px;
}

.section-nav-item {
    white-space: nowrap;
}

.section-nav-link {
    display: block;
    padding: 0.875rem 1.5rem;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.section-nav-link:hover {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(13,202,240,0.08) 0%, rgba(124,58,237,0.08) 100%);
}

.section-nav-link.active {
    color: var(--primary-color);
    background: transparent;
    border-bottom-color: var(--primary-color);
}

.section-nav-toggle {
    display: none;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.section-nav-toggle:hover {
    background: linear-gradient(135deg, #0bb8d4 0%, #6b32c9 100%);
    box-shadow: 0 2px 8px rgba(13, 202, 240, 0.3);
}

.section-nav-toggle:active {
    transform: scale(0.98);
}

.section-nav-toggle i {
    float: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-nav-toggle.open i {
    transform: rotate(180deg);
}

.section-nav-close {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-nav-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.section-nav.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.section-nav-show-btn {
    position: fixed;
    top: 90px;
    right: 20px;
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(13, 202, 240, 0.4);
    z-index: 9998;
    transition: all 0.3s ease;
}

.section-nav-show-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(13, 202, 240, 0.5);
}

.section-nav-show-btn.visible {
    display: flex;
}

@media (max-width: 768px) {
    .section-nav-close {
        display: none;
    }
    
    .section-nav-show-btn {
        display: none !important;
    }
    
    .section-nav-toggle {
        display: block;
    }
    
    .section-nav-list {
        display: none;
        flex-direction: column;
        max-height: 60vh;
        overflow-y: auto;
        padding: 0;
    }
    
    .section-nav-list.open {
        display: flex;
    }
    
    .section-nav-link {
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .section-nav-link.active {
        color: var(--primary-color);
        background: linear-gradient(135deg, rgba(13,202,240,0.08) 0%, rgba(124,58,237,0.08) 100%);
        border-left-color: var(--primary-color);
        border-bottom-color: transparent;
    }
}

/* Section Styles */
.feature-section {
    margin-bottom: 6rem;
    scroll-margin-top: 100px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 2rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    text-align: center;
}

.feature-card h3 .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.feature-card > p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 0.9rem;
    text-align: center;
}

/* Card-style List Items - Individual Feature Items */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.feature-list li {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    position: relative;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-list li:before {
    content: attr(data-emoji);
    display: block;
    font-size: 2.5rem;
    margin-bottom: 15px;
    width: auto;
    height: auto;
    background: transparent;
    color: inherit;
    font-weight: normal;
    border-radius: 0;
    box-shadow: none;
    flex-shrink: 0;
}

.feature-list li strong {
    color: var(--text-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

/* Sub-list styling */
.sub-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.sub-list li {
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    box-shadow: none;
}

.sub-list li:before {
    content: '→';
    font-size: 1rem;
    margin: 0;
    display: inline;
    color: #667eea;
}

.sub-list li:hover {
    transform: none;
    background: #e9ecef;
    box-shadow: none;
}

/* Highlighted Feature Card */
.feature-card.highlighted {
    background: linear-gradient(135deg, rgba(102,126,234,0.05) 0%, rgba(118,75,162,0.05) 100%);
    border: none;
}

.feature-card.highlighted:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

/* Comparison Table */
.comparison-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-top: 2rem;
}

.comparison-table table {
    width: 100%;
    margin: 0;
}

.comparison-table th {
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    color: white;
    padding: 1.5rem;
    font-weight: 600;
    text-align: left;
    border: none;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .feature-name {
    font-weight: 600;
    color: var(--text-dark);
    width: 40%;
}

.comparison-table .check {
    color: var(--success-color);
    font-size: 1.3rem;
}

.comparison-table .cross {
    color: #dc3545;
    font-size: 1.3rem;
}

/* Technical Specs Grid */
.tech-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-spec-item {
    background: linear-gradient(135deg, rgba(13,202,240,0.05) 0%, rgba(124,58,237,0.05) 100%);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.tech-spec-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(13, 202, 240, 0.15);
    background: linear-gradient(135deg, rgba(13,202,240,0.08) 0%, rgba(124,58,237,0.08) 100%);
}

.tech-spec-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-spec-item p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Internal Links Section */
.internal-links {
    background: linear-gradient(135deg, rgba(13,202,240,0.05) 0%, rgba(124,58,237,0.05) 100%);
    border-radius: 20px;
    padding: 4rem 3rem;
    margin-top: 4rem;
}

.internal-links h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.link-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0dcaf0 0%, #7c3aed 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.link-card:hover::before {
    transform: scaleX(1);
}

.link-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(13, 202, 240, 0.2);
    transform: translateY(-10px);
}

.link-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.link-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.link-card p {
    font-size: 1rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    color: white;
    padding: 80px 0;
    margin-top: 80px;
    text-align: center;
    border-radius: 30px;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-section .lead {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-top: 2rem;
}

.cta-button {
    background: white;
    color: var(--primary-color);
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    color: var(--primary-color);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Contextual CTA */
.contextual-cta {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    margin-top: 2.5rem;
    text-align: center;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.contextual-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(13, 202, 240, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.contextual-cta p {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.contextual-cta .btn {
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(13, 202, 240, 0.3);
    position: relative;
    z-index: 2;
}

.contextual-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(13, 202, 240, 0.4);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-hero h1 {
        font-size: 2rem;
    }
    
    .features-hero p {
        font-size: 1.1rem;
    }
    
    .features-nav .nav-links {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .features-nav .nav-links::-webkit-scrollbar {
        display: none;
    }
    
    .features-nav .nav-links a {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-list li {
        padding: 1.25rem;
    }
    
    .tech-specs {
        grid-template-columns: 1fr;
    }
    
    .link-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-button {
        display: block;
        margin: 0.5rem auto;
        max-width: 300px;
    }
    
    .comparison-table table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
    }
    
    .internal-links {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .features-hero {
        padding: 60px 0 50px;
    }
    
    .features-hero h1 {
        font-size: 1.75rem;
    }
    
    .features-nav .nav-links a {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .feature-list li {
        font-size: 0.95rem;
    }
    
    .feature-list li:before {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .tech-spec-item {
        padding: 1.5rem 1rem;
    }
    
    .link-card {
        padding: 2rem 1.5rem;
    }
    
    .link-card .icon {
        font-size: 2.5rem;
    }
}

/* Tablet landscape optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .feature-list {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .tech-specs {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Inline style replacements - moved from features.php */
/* Hero buttons container */
.features-hero-buttons {
    margin-top: 2rem;
}

/* Hero CTA button margins */
.features-hero .cta-button {
    margin: 0.5rem;
}

/* Trust line - make smaller text */
.features-hero p small {
    font-size: 0.875rem;
}

/* Subsection headings with emoji */
.feature-section h3.subsection-heading {
    text-align: center;
    margin: 3rem 0 2rem;
    font-size: 2rem;
    color: var(--text-dark);
}

.feature-section h3.subsection-heading-simple {
    text-align: center;
    margin: 3rem 0 2rem;
}

.feature-section h3 .emoji-icon {
    font-size: 2.5rem;
}

/* Subsection intro paragraphs */
.feature-section p.subsection-intro {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.feature-section p.subsection-intro-simple {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

/* Comparison card highlight */
.feature-card.comparison-highlight {
    margin-top: 3rem;
    text-align: center;
}

.feature-card.comparison-highlight p strong {
    color: var(--success-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    display: inline-block;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(13, 202, 240, 0.1);
}

.faq-item h5 {
    padding: 1.75rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
    position: relative;
    padding-right: 3rem;
    cursor: pointer;
    user-select: none;
}

.faq-item h5::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.open h5::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem !important;
    margin: 0 !important;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

.faq-item.open p {
    max-height: 500px;
    padding: 0 2rem 1.75rem 2rem !important;
    margin-top: 0.5rem !important;
}

.faq-icon {
    color: var(--accent-color);
}

/* Social Proof Section */
.social-proof {
    background: linear-gradient(135deg, rgba(13,202,240,0.05) 0%, rgba(124,58,237,0.05) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 4rem 0;
    border: 1px solid var(--border-color);
}

.social-proof p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin: 0;
    font-weight: 500;
}

.social-proof p strong {
    color: var(--primary-color);
    font-weight: 700;
}

