/* Froorio - Shared Styles */

:root {
    --primary: #7C3AED;
    --primary-light: #A78BFA;
    --primary-dark: #5B21B6;
    --secondary: #06B6D4;
    --accent: #F472B6;
    --dark: #0F0F23;
    --dark-light: #1A1A2E;
    --dark-lighter: #252542;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B8;
    --gradient-1: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
    --gradient-2: linear-gradient(135deg, #5B21B6 0%, #7C3AED 50%, #A78BFA 100%);
    --gradient-3: linear-gradient(180deg, rgba(124, 58, 237, 0.1) 0%, transparent 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

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

a:hover {
    color: var(--primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Navbar */
.navbar {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.2);
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    -webkit-text-fill-color: white;
}

.navbar-toggler {
    border-color: rgba(124, 58, 237, 0.3);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary) !important;
}

/* Buttons */
.btn-primary-custom {
    background: var(--gradient-1);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.5);
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary-light);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

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

.btn-secondary-custom {
    background: var(--dark-lighter);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

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

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

/* Page Hero */
.page-hero {
    padding: 150px 0 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero .lead {
    color: var(--text-secondary);
    font-size: 1.25rem;
}

/* Section Styles */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.section-title-sm {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 1.1rem;
}

/* Cards */
.info-card {
    background: var(--dark-light);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.info-card .icon-box {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
}

.info-card h4 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Feature Cards */
.feature-card {
    background: var(--dark-light);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.2);
}

.feature-card .icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-wrap {
    background: var(--gradient-1);
}

.feature-card .icon-wrap i {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-wrap i {
    background: none;
    -webkit-text-fill-color: white;
}

.feature-card h5 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

/* Category Cards */
.category-card {
    display: block;
    background: var(--dark-light);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    color: var(--text-primary);
}

.category-card .icon-box {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.category-card h5 {
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-box input {
    background: var(--dark-light);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px;
    padding: 1rem 1.5rem 1rem 3.5rem;
    color: var(--text-primary);
    width: 100%;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

/* Accordion (FAQ) */
.faq-section {
    margin-bottom: 3rem;
}

.accordion-item {
    background: var(--dark-light);
    border: 1px solid rgba(124, 58, 237, 0.1);
    margin-bottom: 1rem;
    border-radius: 16px !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--dark-light);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: var(--dark-lighter);
    color: var(--primary-light);
    box-shadow: none;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    background: var(--dark-lighter);
    color: var(--text-secondary);
    padding: 1.5rem;
    line-height: 1.8;
}

.accordion-body ul, .accordion-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

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

/* Help Card */
.help-card {
    background: var(--dark-light);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
}

/* Highlight Box */
.highlight-box {
    background: rgba(124, 58, 237, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
}

.highlight-box p {
    margin-bottom: 0;
    color: var(--text-primary);
}

/* Team Card */
.team-card {
    background: var(--dark-light);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--primary);
}

.team-card h5 {
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--primary-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.team-card .social-links {
    margin-top: 1rem;
}

.team-card .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--dark);
    border-radius: 50%;
    color: var(--text-secondary);
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.team-card .social-links a:hover {
    background: var(--primary);
    color: white;
}

/* Blog Card */
.blog-card {
    background: var(--dark-light);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card .content {
    padding: 1.5rem;
}

.blog-card .meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.blog-card .category {
    color: var(--primary-light);
}

.blog-card h5 {
    margin-bottom: 0.75rem;
}

.blog-card h5 a {
    color: var(--text-primary);
}

.blog-card h5 a:hover {
    color: var(--primary-light);
}

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

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

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

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-5px);
}

.timeline-item .date {
    color: var(--primary-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form .form-control,
.contact-form .form-select {
    background: var(--dark-light);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: var(--text-primary);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: var(--dark-lighter);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    color: var(--text-primary);
}

.contact-form .form-control::placeholder {
    color: var(--text-secondary);
}

.contact-form label {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Stats */
.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-card h2 {
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Job Card */
.job-card {
    background: var(--dark-light);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.job-card h5 {
    margin-bottom: 0.5rem;
}

.job-card .department {
    color: var(--primary-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.job-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.job-card .tag {
    background: rgba(124, 58, 237, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Press Card */
.press-card {
    background: var(--dark-light);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.press-card:hover {
    border-color: var(--primary);
}

.press-card .source {
    color: var(--primary-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.press-card h5 {
    margin-bottom: 1rem;
}

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

.press-card .date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Download Cards */
.download-card {
    background: var(--dark-light);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 28px;
    padding: 3rem;
    text-align: center;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--dark);
    border: 1px solid rgba(124, 58, 237, 0.3);
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.store-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.store-btn i {
    font-size: 2rem;
}

.store-btn .text {
    text-align: left;
}

.store-btn .text small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
}

.store-btn .text span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--dark-light);
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    -webkit-text-fill-color: white;
    font-size: 1rem;
}

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

.footer-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--dark);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Background Effects */
.bg-gradient-section {
    background: var(--gradient-3);
}

/* Responsive */
@media (max-width: 991px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .info-card, .feature-card, .team-card {
        padding: 1.5rem;
    }
}
