/* Salonia Modern Design System */

:root {
    /* Colors */
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --primary-gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --accent-color: #ff0080;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #f0f0f0;
    --border-color: #e0e0e0;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 10px 25px rgba(106, 17, 203, 0.4);

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

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

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

.text-white {
    color: var(--white) !important;
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(106, 17, 203, 0.5);
}

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

.btn-secondary:hover {
    background: var(--light-bg);
}

.btn-outline {
    border-color: var(--white);
    color: var(--primary-color);
    /* Changed for visibility on white bg usually, but check context */
    background: transparent;
}

.header .btn-outline {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.6rem 1.5rem;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0;
}

.btn-text:hover {
    color: var(--secondary-color);
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
}

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

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

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

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

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-overlay {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(106, 17, 203, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 540px;
    color: var(--text-light);
    line-height: 1.8;
}

.badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(106, 17, 203, 0.08);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(106, 17, 203, 0.1);
    backdrop-filter: blur(5px);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-indicators {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.trust-indicators i {
    color: #00cc66;
    margin-right: 0.3rem;
}

.hero-img-container {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-img-container:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-img-container img {
    border-radius: 12px;
    display: block;
    width: 100%;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Section Common */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.feature-list li:hover {
    background: rgba(106, 17, 203, 0.03);
}

.feature-list i {
    width: 48px;
    height: 48px;
    background: rgba(106, 17, 203, 0.1);
    color: var(--primary-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    flex-shrink: 0;
    font-size: 1.2rem;
    margin-top: -2px;
}

.feature-list strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(106, 17, 203, 0.15);
    background: rgba(255, 255, 255, 0.8);
}

.stat-card:nth-child(3) {
    grid-column: span 2;
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.03) 0%, rgba(37, 117, 252, 0.03) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(106, 17, 203, 0.12);
    border-color: rgba(106, 17, 203, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* AI Reporting */
.ai-showcase {
    background: linear-gradient(180deg, var(--white) 0%, #f3ebfa 100%);
}

.ai-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-image .glass-card {
    overflow: hidden;
    padding: 0;
}

.ai-image img {
    display: block;
    transition: transform 0.5s ease;
}

.ai-image:hover img {
    transform: scale(1.05);
}

.badge-purple {
    background: #6a11cb;
    color: white;
}

.badge-purple {
    background: #6a11cb;
    color: white;
}

/* New AI Features List Design */
.ai-features-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-feature-item {
    display: flex;
    align-items: flex-start;
    background: var(--white);
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(106, 17, 203, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(106, 17, 203, 0.1);
}

.ai-feature-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: rgba(106, 17, 203, 0.1);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1.2rem;
    margin-top: 2px;
}

.ai-feature-text strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.ai-feature-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
    color: var(--text-light);
}

/* Quote Box */
.ai-quote-box {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background: rgba(106, 17, 203, 0.03);
    border-radius: 0 12px 12px 0;
    position: relative;
}

.ai-quote-box i {
    color: rgba(106, 17, 203, 0.2);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.ai-quote-box p {
    font-style: italic;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--white);
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question {
    background: rgba(106, 17, 203, 0.05);
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1rem 1.5rem 1.5rem;
    max-height: 200px;
    /* Approximate max height */
}

/* Contact */
.contact {
    background: url('../images/hero-bg.png') center/cover no-repeat fixed;
    position: relative;
    padding: var(--spacing-xl) 0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.9), rgba(37, 117, 252, 0.9));
}

.contact-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    overflow: hidden;
    padding: 0;
}

.contact-info {
    padding: 3rem;
    background: rgba(0, 0, 0, 0.2);
    color: var(--white);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-item a {
    color: var(--white);
    font-weight: 600;
}

.contact-form-container {
    padding: 3rem;
    background: var(--white);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

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

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

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
}

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

/* Responsive */
@media (max-width: 900px) {
    .header {
        padding: 1rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero-bg-overlay {
        right: -50%;
        /* Pull it back or hide it if causing issues */
        width: 100%;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

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

    .nav-list {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-content,
    .about-grid,
    .ai-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns,
    .trust-indicators {
        justify-content: center;
    }

    .hero-img-container {
        margin-top: 3rem;
        transform: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .feature-list li {
        justify-content: flex-start;
        text-align: left;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.5rem;
    }

    .ai-features-list {
        width: 100%;
        max-width: 500px;
        margin: 2rem auto 0;
    }

    .ai-feature-item {
        text-align: left;
        /* Ensure text inside card is left aligned even if parent is centered */
    }

    .ai-quote-box {
        text-align: left;
        max-width: 500px;
        margin: 2rem auto 0;
    }

    .about-stats {
        margin-top: 3rem;
    }

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

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-card:nth-child(3) {
        grid-column: auto;
    }
}