/* 
   AETON LANDING v4.0 - Santuario Digitale Theme
   Focus: Glassmorphism, Calm Colors, Premium Typography
*/

:root {
    --primary: #B39DDB;
    /* Viola AETON */
    --primary-dark: #7E57C2;
    /* Viola Scuro */
    --bg-light: #F3F4F6;
    /* Grigio Ghiaccio */
    --text-main: #374151;
    /* Grigio Antracite */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 40px rgba(179, 157, 219, 0.15);
    --gold: #FFD700;

    /* Chart Colors (Exact Match from style.css) */
    --c-mood: #B39DDB;
    /* --primary */
    --c-anx: #FFB74D;
    /* --warning */
    --c-str: #EF5350;
    /* --error */
    --c-slp: #81D4FA;
    /* --calm-1 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body {
    background: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
}

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

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

/* === NAVIGATION === */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo img {
    height: 32px;
    border-radius: 8px;
    /* Slightly rounded corners */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s;
}

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

.nav-actions {
    display: flex;
    gap: 10px;
}

/* === BUTTONS === */
.btn {
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(126, 87, 194, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary-dark);
}

.btn-secondary {
    background: #4a5568;
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
}

.btn-gold {
    background: linear-gradient(135deg, #FFD700, #FFA000);
    color: #333;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #80CBC4;
    /* Calm Green */
    bottom: 50px;
    right: -50px;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1a202c;
}

.badge-soft {
    background: rgba(179, 157, 219, 0.2);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

.hero-btns {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

/* PHONE MOCKUP */
.phone-mockup {
    width: 280px;
    height: 580px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #1a202c;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.offline-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 5px;
}

.slash-icon {
    position: absolute;
    left: 6px;
    color: #ff5252;
}

/* === SECTIONS === */
.section {
    padding: 100px 0;
}

/* === DEFINITION SECTION === */
.section-definition {
    padding: 100px 0 60px;
    background: white;
}

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

.definition-content p.lead {
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 20px;
}

.definition-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid white;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.purple {
    background: #EDE7F6;
    color: var(--primary-dark);
}

.blue {
    background: #E3F2FD;
    color: #1E88E5;
}

.red {
    background: #FFEBEE;
    color: #EF5350;
}

/* === ABOUT SECTION === */
.section-about {
    padding: 120px 0;
    background: white;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.quote-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--primary-dark);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    font-style: italic;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    margin-top: 15px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

/* === DOWNLOAD SECTION === */
.section-download {
    padding: 80px 0 120px;
}

.download-box {
    /* Softer background, less blinding */
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.05) 0%, rgba(88, 28, 135, 0.1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 40px;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(88, 28, 135, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.glass-light {
    /* Adjusted to be less white/blinding */
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.download-box h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.store-btn {
    background: #1a202c;
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s, background 0.2s;
    min-width: 180px;
}

.store-btn:hover {
    transform: translateY(-3px);
    background: #000;
}

.store-btn.google {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.store-btn.google:hover {
    background: #f9f9f9;
}

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

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.btn-text span {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.btn-text strong {
    font-size: 1.1rem;
}

.store-note {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.store-note a {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

/* === WHY FREE SECTION === */
.section-why-free {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-why-free h2 {
    font-size: 2.5rem;
    margin-top: 15px;
    margin-bottom: 10px;
}

.section-why-free .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: #f0f0f0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.why-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* === PRO SECTION === */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pro-list li {
    list-style: none;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.pro-list i {
    color: var(--primary);
}

/* === REALISTIC DASHBOARD MOCKUP (Refined) === */
.pro-dashboard-mockup {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    border: 1px solid #f3f4f6;
    font-family: 'Inter', sans-serif;
    min-height: 400px;
    /* Taller */
    display: flex;
    flex-direction: column;
}

.mockup-header {
    padding: 25px 30px;
    border-bottom: none;
    /* No separator line in screenshot */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    background: transparent;
}

.mockup-body {
    padding: 0 30px 30px;
    flex-grow: 1;
}

.chart-container {
    display: flex;
    gap: 15px;
    height: 250px;
    position: relative;
    padding-left: 40px;
    margin-top: 20px;
}

.y-axis {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #9ca3af;
    height: 200px;
    /* Match bars height */
}

/* Grid Lines */
.grid-lines {
    position: absolute;
    left: 40px;
    right: 0;
    top: 0;
    bottom: 50px;
    /* Leave space for legend */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 0;
    height: 200px;
}

.grid-line {
    border-bottom: 1px dashed #f3f4f6;
    width: 100%;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding-bottom: 30px;
    z-index: 1;
    border-bottom: 1px solid #f3f4f6;
    border-left: none;
}

.chart-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 10%;
    height: 200px;
    /* Fixed height for bars area */
    justify-content: flex-end;
    position: relative;
}

.bar-group {
    display: flex;
    gap: 4px;
    /* Space between bars */
    align-items: flex-end;
    height: 100%;
    width: 100%;
    justify-content: center;
}

.bar {
    width: 6px;
    border-radius: 4px 4px 4px 4px;
    /* Fully rounded caps */
    transition: height 0.5s ease;
}

.bar-mood {
    background: var(--c-mood);
}

.bar-anxiety {
    background: var(--c-anx);
}

.bar-stress {
    background: var(--c-str);
}

.bar-sleep {
    background: var(--c-slp);
}

.day-label {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #6b7280;
    position: absolute;
    bottom: -30px;
    font-weight: 500;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
    padding-top: 0;
    border-top: none;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #4b5563;
    font-weight: 500;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.mood {
    background: var(--c-mood);
}

.dot.anxiety {
    background: var(--c-anx);
}

.dot.stress {
    background: var(--c-str);
}

.dot.sleep {
    background: var(--c-slp);
}

/* === BUSINESS SECTION === */
.section-business {
    padding-bottom: 140px;
}

.business-card {
    /* Exact match for screenshot: White, Clean, Soft Shadow */
    background: #ffffff;
    border-radius: 40px;
    padding: 80px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    box-shadow: 0 30px 60px rgba(100, 100, 100, 0.05);
    /* Very subtle shadow */
    border: none;
    overflow: visible;
}

.business-card::before {
    display: none;
    /* Remove orb */
}

.business-content {
    flex: 1;
}

.overline.primary-text {
    color: #8b5cf6;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: block;
}

.business-card h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    color: #1f2937;
    margin-bottom: 25px;
}

.business-desc {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 600px;
}

.stats-grid {
    display: flex;
    gap: 60px;
    margin-top: 50px;
}

/* === THERAPIST LIST IMPROVEMENTS (CARD STYLE) === */
.split-content ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.split-content ul li {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    /* Center vertically */
    gap: 20px;
    text-align: left;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.split-content ul li:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.split-content ul li i {
    /* DARK PURPLE ICON (No Background) */
    color: #6D28D9;
    /* Deep Purple 700 */
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

/* === BUSINESS SECTION (NEW STRUCTURE) === */
.business-card {
    background: #ffffff;
    border-radius: 40px;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    /* Stack header and grid */
    gap: 60px;
    box-shadow: 0 30px 60px rgba(100, 100, 100, 0.05);
    border: none;
}

.business-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* Align Text bottom with Button */
    gap: 40px;
}

.business-text {
    max-width: 65%;
    text-align: left;
}

.business-cta {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    /* Slight optical adjustment */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.stat-item {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 24px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon-wrapper {
    /* DARK PURPLE ICON (No Background) */
    font-size: 2rem;
    color: #6D28D9;
    /* Deep Purple 700 */
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

/* Inner content */
.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #8b5cf6;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.stat-label {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.4;
}


/* === FOOTER (RESTORED) === */
.main-footer {
    background: white;
    padding: 80px 0 30px;
    border-top: 1px solid #eee;
    margin-top: 80px;
    /* Separation from previous section */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.footer-brand p {
    color: #6b7280;
    margin-bottom: 20px;
}

.social-links {
    margin-top: 10px;
    /* Adjusted spacing */
    display: flex;
    gap: 15px;
    font-size: 1.2rem;
}

.social-links a {
    color: var(--text-main);
    transition: color 0.2s;
}

.social-links a:hover {
    color: #6D28D9;
    /* Hover Deep Purple */
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.footer-links a {
    display: block;
    text-decoration: none;
    color: #718096;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #6D28D9;
    /* Hover Deep Purple */
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #A0AEC0;
    border-top: 1px solid #eee;
    padding-top: 20px;
}


/* RESPONSIVE */
@media (max-width: 900px) {

    /* Tablet Breakpoint */
    .business-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .business-text {
        max-width: 100%;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        /* Stack cards on smaller screens */
    }
}

@media (max-width: 768px) {

    .hero-content,
    .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Center the list container but keep items left-aligned */
    .split-content ul {
        width: 100%;
        max-width: 450px;
        margin: 30px auto;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .phone-mockup {
        margin: 0 auto;
    }

    .pro-dashboard-mockup {
        margin-top: 30px;
    }

    .business-card {
        padding: 40px 20px;
        gap: 30px;
    }

    .business-header {
        align-items: center;
        gap: 25px;
    }

    .stats-grid {
        gap: 15px;
        margin-top: 10px;
    }

    .stat-item {
        padding: 20px;
        gap: 15px;
    }

    .stat-icon-wrapper {
        font-size: 1.8rem;
    }

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

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

    .nav-links.desktop-only {
        display: none;
    }

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

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

    .quote-badge {
        right: 20px;
    }

    .download-box h2 {
        font-size: 2rem;
    }
}