/* Reset e variabili */
:root {
    --primary-color: #2D1B69;
    --secondary-color: #4B2EFF;
    --accent-color: #6C63FF;
    --text-color: #ffffff;
    --light-text: #ffffff;
    --background: #000000;
    --gradient: linear-gradient(135deg, rgba(45, 27, 105, 0.95), rgba(75, 46, 255, 0.95));
    --shadow: 0 4px 6px rgba(75, 46, 255, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #000000;
    position: relative;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 30%, rgba(75, 46, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(162, 89, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.1) 0%, transparent 50%);
    filter: blur(80px);
    z-index: -1;
    animation: background-pulse 8s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: -2;
}

@keyframes background-pulse {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar-minimal {
    position: static;
    top: unset;
    left: unset;
    width: 100vw;
    z-index: 100;
    background: rgba(20, 10, 40, 0.96);
    box-shadow: 0 2px 16px 0 #4b2eff44;
    padding: 0 0 0 0;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    margin-top: 0;
}

.navbar-minimal ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-minimal li {
    display: inline-block;
}

.navbar-minimal a {
    color: #fff;
    font-weight: 700;
    font-size: 1.13rem;
    text-shadow: 0 2px 8px #4b2eff44;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s, text-shadow 0.18s;
    letter-spacing: 0.2px;
}

.navbar-minimal a:hover, .navbar-minimal a:focus {
    background: #4b2eff66;
    color: #fff;
    text-shadow: 0 2px 16px #a259ff88;
}

.navbar-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35em;
    margin-left: 6px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    transition: box-shadow 0.18s, background 0.18s, color 0.18s;
    animation: pulse-social 2.2s cubic-bezier(.4,1.6,.4,1) infinite;
}

.navbar-instagram {
    color: #e1306c;
    background: rgba(225,48,108,0.08);
}

.navbar-telegram {
    color: #229ed9;
    background: rgba(34,158,217,0.08);
}

.navbar-social:hover, .navbar-social:focus {
    box-shadow: 0 0 12px 2px #a259ff88, 0 0 0 2px #fff2;
    background: #fff1;
    color: #fff;
}

@keyframes pulse-social {
    0% {
        box-shadow: 0 0 0 0 rgba(162,89,255,0.12);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 12px 4px #a259ff44;
        transform: scale(1.08);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(162,89,255,0.12);
        transform: scale(1);
    }
}

@media (max-width: 700px) {
    .navbar-minimal {
        height: auto;
        min-height: 70px;
        align-items: center;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .navbar-minimal ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 6px;
    }
    .navbar-minimal a {
        font-size: 0.98rem;
        padding: 7px 6px;
    }
    .navbar-social {
        font-size: 1.05em;
        width: 30px;
        height: 30px;
        margin-left: 2px;
    }
}

/* Hero Section */
.hero {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 60px 0 40px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(75, 46, 255, 0.2) 0%, transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(162, 89, 255, 0.2) 0%, transparent 60%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.hero .container, .hero-content {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    margin-top: 30px;
}

.hero-text {
    flex: 1;
    text-align: center;
    max-width: 800px;
}

.logo {
    max-width: 200px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(108, 99, 255, 0.3));
    transition: var(--transition);
}

.logo:hover {
    filter: drop-shadow(0 0 15px rgba(108, 99, 255, 0.5));
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.hero-title {
    color: #a259ff;
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 2px 16px rgba(162,89,255,0.25), 0 1px 0 #fff;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    background: linear-gradient(270deg, #4b2eff, #a259ff, #4b2eff, #a259ff, #4b2eff);
    background-size: 400% 100%;
    will-change: background-position, opacity, transform;
    opacity: 0;
    transform: translateY(40px);
    animation:
        hero-fade-in-up 1.2s cubic-bezier(.4,1.6,.4,1) forwards,
        gradient-move 4s ease-in-out infinite alternate;
    animation-delay: 0.1s, 0s;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes hero-fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradient-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #bdbdff;
}

/* Section Styles */
.section {
    padding: 100px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(75, 46, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(162, 89, 255, 0.15) 0%, transparent 50%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

.section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 2px 16px rgba(162,89,255,0.25), 0 1px 0 #fff;
    letter-spacing: 0.5px;
    margin-bottom: 50px;
    background: linear-gradient(270deg, #4b2eff, #a259ff, #4b2eff, #a259ff, #4b2eff);
    background-size: 400% 100%;
    will-change: background-position, opacity, transform;
    opacity: 0;
    transform: translateY(40px);
    animation:
        hero-fade-in-up 1.2s cubic-bezier(.4,1.6,.4,1) forwards,
        gradient-move 4s ease-in-out infinite alternate;
    animation-delay: 0.1s, 0s;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    color: unset;
}

.section-subtitle {
    text-align: center;
    color: #bdbdff;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Card */
.content-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(108, 99, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.content-card:hover {
    border-color: var(--accent-color);
    background: rgba(108, 99, 255, 0.1);
}

.content-text {
    color: #e0eaff;
    font-size: 1.1rem;
    line-height: 1.8;
}

.lead-text {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
}

.content-text p {
    margin-bottom: 20px;
}

/* Team Profiles */
.team-profiles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.profile-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #4b2eff 0%, #6c63ff 50%, #a259ff 100%);
    box-shadow: 0 0 30px rgba(75, 46, 255, 0.5), 0 0 60px rgba(162, 89, 255, 0.3);
    transition: var(--transition);
}

.profile-image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(75, 46, 255, 0.7), 0 0 80px rgba(162, 89, 255, 0.5);
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #000000;
}

.profile-name {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    background: linear-gradient(270deg, #4b2eff, #a259ff, #4b2eff, #a259ff, #4b2eff);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-move 4s ease-in-out infinite alternate;
}

/* Mission Statement */
.mission-statement {
    margin-top: 40px;
    padding: 30px;
    background: rgba(108, 99, 255, 0.1);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    text-align: center;
}

.mission-text {
    font-style: italic;
    color: #bdbdff;
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
    text-align: center;
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background: rgba(108, 99, 255, 0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-item p {
    color: #bdbdff;
    font-size: 1rem;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    transition: var(--transition);
    text-align: center;
    flex-direction: column;
}

.service-item:hover {
    border-color: var(--accent-color);
    background: rgba(108, 99, 255, 0.1);
    transform: translateY(-5px);
}

.service-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.service-item h4 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.3rem;
    text-align: center;
}

.service-item p {
    color: #bdbdff;
    font-size: 1rem;
    text-align: center;
}

.service-item > div {
    text-align: center;
    width: 100%;
}

/* Objectives Grid */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.objective-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2.5px solid transparent;
    position: relative;
    transition: var(--transition);
}

.objective-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(270deg, #4b2eff, #a259ff, #4b2eff, #a259ff, #4b2eff);
    background-size: 400% 100%;
    animation: border-gradient-move 3.5s linear infinite;
    z-index: -1;
    pointer-events: none;
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

@keyframes border-gradient-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.objective-card:hover {
    transform: translateY(-5px);
}

.objective-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.objective-card h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.objective-card p {
    color: #bdbdff;
    font-size: 1rem;
}

/* Services Section */
.services-section {
    background: #000000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.services-grid-centered {
    justify-items: center;
    margin-top: 40px;
}

.services-grid-centered .service-card {
    max-width: 500px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 2.5px solid transparent;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(270deg, #4b2eff, #a259ff, #4b2eff, #a259ff, #4b2eff);
    background-size: 400% 100%;
    animation: border-gradient-move 3.5s linear infinite;
    z-index: -1;
    pointer-events: none;
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 32px rgba(108, 99, 255, 0.3);
}

.service-card.coming-soon {
    opacity: 0.8;
}

.coming-soon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(90deg, #4b2eff 60%, #6c63ff 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 12px;
    padding: 6px 16px;
    box-shadow: 0 2px 8px rgba(75, 46, 255, 0.4);
}

.service-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-align: center;
}

.service-card h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.service-description {
    color: #bdbdff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    color: #e0eaff;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
}

.service-features li i {
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.service-button {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #4b2eff 60%, #a259ff 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(162, 89, 255, 0.4);
}

.service-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(108, 99, 255, 0.3);
}

.service-button.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Results Section */
.results-section {
    background: #000000;
}

.myfxbook-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.myfxbook-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    backdrop-filter: blur(10px);
}

.myfxbook-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.myfxbook-header i {
    font-size: 2rem;
    color: var(--accent-color);
}

.myfxbook-header h3 {
    font-size: 1.8rem;
    color: #fff;
}

.myfxbook-content p {
    color: #bdbdff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

.myfxbook-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(108, 99, 255, 0.3);
}

.stat-label {
    color: #bdbdff;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.stat-value {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}


.myfxbook-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4b2eff 60%, #a259ff 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

.myfxbook-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(162, 89, 255, 0.4);
}

.telegram-community-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #229ed9 60%, #0088cc 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

.telegram-community-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 158, 217, 0.4);
}

.myfxbook-actions-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.myfxbook-actions-row > .myfxbook-button,
.myfxbook-actions-row > .telegram-community-button {
    flex: 0 0 auto;
}

.myfxbook-widget-container {
    text-align: center;
    padding: 20px;
    background: rgba(108, 99, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    flex-shrink: 0;
}

.myfxbook-widget-link {
    display: inline-block;
    transition: var(--transition);
}

.myfxbook-widget-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.myfxbook-widget-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    background: #000000;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    backdrop-filter: blur(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group label i {
    color: var(--accent-color);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 10px;
    padding: 15px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(108, 99, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.95rem;
}

.checkbox-group label a {
    color: var(--accent-color);
    text-decoration: underline;
}

.submit-button {
    background: linear-gradient(135deg, #4b2eff 60%, #a259ff 100%);
    color: #fff;
    border: none;
    padding: 18px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(162, 89, 255, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

.form-message {
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 230, 118, 0.2);
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.4);
}

.form-message.error {
    display: block;
    background: rgba(255, 82, 82, 0.2);
    color: #ff5252;
    border: 1px solid rgba(255, 82, 82, 0.4);
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    backdrop-filter: blur(10px);
    height: 100%;
}

.contact-info-card h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-card h3 i {
    color: var(--accent-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(108, 99, 255, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    color: #fff;
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-item a:hover {
    color: #a259ff;
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 30px 0;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: underline;
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent-color);
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4b2eff 60%, #a259ff 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 16px #4b2eff44;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    cursor: pointer;
    z-index: 9999;
    transition: box-shadow 0.18s, background 0.18s, color 0.18s;
    animation: pulse-scrolltop 2.2s cubic-bezier(.4,1.6,.4,1) infinite;
}

.scroll-to-top:hover, .scroll-to-top:focus {
    box-shadow: 0 0 18px 4px #a259ff88, 0 0 0 2px #fff2;
    background: linear-gradient(135deg, #a259ff 60%, #4b2eff 100%);
    color: #fff;
}

@keyframes pulse-scrolltop {
    0% {
        box-shadow: 0 0 0 0 #a259ff33;
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 18px 8px #a259ff55;
        transform: scale(1.08);
    }
    100% {
        box-shadow: 0 0 0 0 #a259ff33;
        transform: scale(1);
    }
}

/* TradingView Widget */
iframe[title="ticker tape TradingView widget"] {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: 46px !important;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
    z-index: 2000;
    background: #222;
    box-sizing: border-box;
    overflow-x: auto;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-main {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .myfxbook-stats {
        grid-template-columns: 1fr;
    }
    
    .results-buttons {
        flex-direction: column;
    }
    
    .myfxbook-button,
    .telegram-community-button {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-card {
        padding: 25px;
    }
    
    .team-profiles {
        gap: 40px;
    }
    
    .profile-image-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .profile-name {
        font-size: 1.3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .objectives-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px;
    }
    
    .myfxbook-card {
        padding: 25px;
    }
    
    .results-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .myfxbook-button,
    .telegram-community-button {
        width: 100%;
        min-width: unset;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .contact-info-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .subsection-title {
        font-size: 1.4rem;
    }
    
    .content-card {
        padding: 20px;
    }
    
    /* Team profiles affiancati su mobile */
    .team-profiles {
        gap: 20px;
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .profile-image-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 1rem;
    }
    
    .mission-text {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .myfxbook-actions-row {
        flex-direction: column;
        gap: 20px;
        margin: 20px 0;
    }
    
    .myfxbook-widget-container {
        padding: 15px;
        width: 100%;
    }
    
    .results-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .myfxbook-button,
    .telegram-community-button {
        width: 100%;
    }
    
    .myfxbook-widget-image {
        max-width: 100%;
    }
    
    /* Layout alternato per le sezioni su mobile */
    /* Sezioni dispari: allineate a sinistra */
    #chi-siamo .content-card,
    #servizi .content-card,
    #contatti .content-card {
        margin-left: 0;
        margin-right: auto;
        max-width: 90%;
        border-left: 3px solid var(--accent-color);
        border-right: none;
    }
    
    #chi-siamo .content-text,
    #servizi .content-text,
    #contatti .content-text {
        text-align: left;
    }
    
    #chi-siamo .section-title,
    #servizi .section-title,
    #contatti .section-title {
        text-align: left;
    }
    
    /* Sezioni pari: allineate a destra */
    #visione .content-card,
    #risultati .content-card {
        margin-left: auto;
        margin-right: 0;
        max-width: 90%;
        border-left: none;
        border-right: 3px solid var(--accent-color);
    }
    
    #visione .content-text,
    #risultati .content-text {
        text-align: right;
    }
    
    #visione .section-title,
    #risultati .section-title {
        text-align: right;
    }
    
    /* Features grid alternato */
    #chi-siamo .features-grid .feature-item,
    #servizi .features-grid .feature-item {
        margin-left: 0;
        margin-right: auto;
        max-width: 95%;
    }
    
    #visione .features-grid .feature-item,
    #risultati .features-grid .feature-item {
        margin-left: auto;
        margin-right: 0;
        max-width: 95%;
    }
    
    /* Service items alternati */
    #visione .service-item {
        flex-direction: row-reverse;
        text-align: right;
    }
    
    /* Objectives grid alternato */
    #visione .objectives-grid .objective-card {
        margin-left: auto;
        margin-right: 0;
        max-width: 95%;
    }
    
    #chi-siamo .objectives-grid .objective-card {
        margin-left: 0;
        margin-right: auto;
        max-width: 95%;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

