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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

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

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

nav {
    background: transparent;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle:hover {
    opacity: 0.8;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Trading Consultation - Geometric Pattern Hero */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-30px) translateX(20px);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

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

/* Keep hero typography legible on colorful backgrounds */
.hero,
.hero h1,
.hero h2,
.hero h3,
.hero p,
.hero li,
.hero span,
.hero strong {
    color: #fff;
}

.hero .subtitle {
    color: rgba(255, 255, 255, 0.92);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Trading Consultation - Warning-Style Disclaimer */
.disclaimer-box {
    background: linear-gradient(135deg, #fff8e1 0%, #fffbf0 100%);
    border-left: 5px solid #ff9800;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 850px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
    position: relative;
}

.disclaimer-box::before {
    content: '⚠️';
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    font-size: 1.5rem;
}

.disclaimer-box p {
    margin: 0 0 0.5rem 2rem;
    font-size: 0.95rem;
    color: #d84315 !important;
    font-weight: 500;
}

.disclaimer-box strong {
    color: #b71c1c !important;
    font-weight: 700;
}

.disclaimer-box ul {
    margin-left: 3.5rem;
    margin-top: 0.5rem;
    color: #d84315;
}

section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: white;
}

section .container {
    text-align: center;
}

section .container > h2,
section .container > p:not(.disclaimer-box p),
section .container > .intro-content,
section .container > .intro-text {
    text-align: center;
}

section .container ul,
section .container ol,
section .container .about-text,
section .container .service-item,
section .container .about-content {
    text-align: left;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #667eea;
}

h3 {
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Trading Consultation - Modern Text Styles */
section:not(.hero) p {
    line-height: 1.7;
    font-size: 1.05rem;
    color: #444;
}

section:not(.hero) strong {
    font-weight: 600;
    color: #667eea;
}

section:not(.hero) .subtitle {
    font-size: 1.3rem;
    color: #764ba2;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Trading - Card with Gradient Border */
.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -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(-5px) scale(1.02);
}

.service-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.ai-tools {
    background-color: #f9f9f9;
}

.ai-content {
    max-width: 1000px;
    margin: 0 auto;
}

.ai-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.ai-tool-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.ai-tool-card h3 {
    color: #764ba2;
    margin-bottom: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Trading - Pricing Card with Badge */
.pricing-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
    text-align: center;
    transition: all 0.3s;
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: visible;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

.pricing-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.pricing-card.featured::before {
    content: 'ПОПУЛЯРНЫЙ';
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: bold;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.pricing-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #764ba2;
    margin: 1rem 0;
}

.pricing-card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.btn-order {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
    width: 100%;
}

.btn-order:hover {
    opacity: 0.9;
}

.contact {
    text-align: center;
}

.contact p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Trading Consultation - Modern Gradient Footer with Glow */
footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: footerGlow 10s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

footer .container {
    position: relative;
    z-index: 1;
}

footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

footer a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form label {
    font-weight: bold;
    margin-top: 0.5rem;
}

form input,
form textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

form textarea {
    resize: vertical;
}

/* Trading Consultation - Modern Form Input Styles */
form input:not([type="submit"]),
form textarea,
form select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
}

form input:not([type="submit"]):focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-disclaimer {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-submit:hover {
    opacity: 0.9;
}

.intro {
    padding: 4rem 0;
    background-color: white;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-list {
    margin-bottom: 3rem;
    text-align: left;
}

.service-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.service-item p {
    margin-bottom: 0;
}

.cta-buttons {
    margin-top: 2.5rem;
}

.btn-primary,
.btn-secondary {
    margin-bottom: 1rem;
}

.btn-primary:last-child,
.btn-secondary:last-child {
    margin-bottom: 1rem;
}

section .container > p:not(.disclaimer-box p) {
    margin-bottom: 2rem;
}

section .container > .btn-primary,
section .container > .btn-secondary {
    margin-top: 2rem;
}

.intro-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.intro-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-primary:hover, .btn-secondary:hover {
    opacity: 0.9;
}

.about-detailed, .services-detailed, .ai-tools-detailed, .pricing-detailed, .contact-detailed {
    padding: 4rem 0;
}

.about-detailed {
    background-color: white;
}

.about-detailed .container {
    text-align: center;
}

.about-detailed .about-content {
    text-align: left;
}

.about-detailed h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-detailed h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #764ba2;
}

.about-detailed p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-detailed ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-detailed ul li {
    margin-bottom: 0.5rem;
}

.terms-detailed {
    padding: 4rem 0;
    background-color: white;
}

.terms-detailed .container {
    text-align: center;
}

.terms-detailed .about-content {
    text-align: left;
    max-width: 900px;
}

.terms-detailed h2 {
    text-align: left;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #667eea;
}

.terms-detailed h2:first-child {
    margin-top: 0;
}

.terms-detailed p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.terms-detailed ul {
    margin-left: 2rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.terms-detailed ul li {
    margin-bottom: 0.5rem;
}

.terms-detailed .disclaimer-box {
    text-align: left;
}

.terms-detailed .disclaimer-box ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.terms-detailed .btn-order {
    margin-top: 2rem;
}

.services-detailed, .ai-tools-detailed {
    background-color: #f9f9f9;
}

.pricing-detailed, .contact-detailed {
    background-color: white;
}

/* Trading - Detailed Sections with Border */
.service-detailed, .ai-tool-detailed {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.12);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.service-detailed:hover, .ai-tool-detailed:hover {
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

.service-detailed h2, .ai-tool-detailed h2 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.service-detailed h3, .ai-tool-detailed h3 {
    color: #764ba2;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-detailed ul, .ai-tool-detailed ul {
    margin-left: 2rem;
    margin-top: 1rem;
    line-height: 1.8;
}

.service-detailed ul li, .ai-tool-detailed ul li {
    margin-bottom: 0.5rem;
}

.service-detailed ul li::marker, .ai-tool-detailed ul li::marker {
    color: #667eea;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.pricing-details {
    text-align: left;
    margin: 2rem 0;
}

.pricing-details h4 {
    color: #667eea;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-details ul {
    list-style: none;
    margin-left: 0;
}

.pricing-details ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-details ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.duration {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.savings {
    color: #28a745;
    font-weight: bold;
    margin-bottom: 1rem;
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #ffd700;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.pricing-card {
    position: relative;
}

.payment-info, .faq-section {
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Trading - FAQ Accordion Style */
.faq-item {
    margin-bottom: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
    border-left-width: 6px;
}

.faq-item h3 {
    color: #667eea;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.faq-item h3::before {
    content: 'Q: ';
    color: #764ba2;
    font-weight: 700;
}

.faq-item p {
    line-height: 1.8;
    padding-left: 1rem;
    border-left: 2px solid #f0f0f0;
}

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

.contact-method {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.contact-method h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.response-time, .consultation-process {
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-process ol {
    margin-left: 2rem;
    line-height: 1.8;
}

.consultation-process ol li {
    margin-bottom: 1rem;
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: white !important;
}

.cta-section .btn-primary {
    background: white;
    color: #667eea;
    margin-right: 1rem;
    display: inline-block;
    margin-bottom: 1rem;
    vertical-align: middle;
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    display: inline-block;
    margin-bottom: 1rem;
    vertical-align: middle;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-image-container {
    max-width: 400px;
    margin: 0 auto 2rem;
    text-align: center;
}

.person-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.person-portrait {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

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

/* Trading - Feature Card with Icon Circle */
.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.12);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.feature-card::before {
    content: '●';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8px;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

.feature-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.feature-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.15);
}

.about-image {
    text-align: center;
    margin-bottom: 2rem;
}

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

.intro-image, .service-image-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.content-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .content-image {
        max-width: 100%;
    }
    
    .modal-content {
        margin: 2% auto;
        padding: 1.5rem;
        max-width: 95%;
        max-height: 95vh;
    }
}

@media (max-width: 1200px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        padding: 0;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
    }

    nav .container {
        position: relative;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .cta-section .btn-primary,
    .cta-section .btn-secondary {
        display: block;
        margin: 0.5rem 0;
    }

    .hero-image-container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .person-image {
        max-width: 250px;
    }

    .person-portrait {
        max-width: 100%;
    }

    .feature-card img {
        max-width: 100%;
    }

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

    .map-wrapper {
        margin-top: 1rem;
    }

    .map-wrapper iframe {
        width: 100%;
        height: 300px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo img {
        height: 30px;
    }
}

.map-wrapper {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

.map-placeholder {
    background: #f5f5f5;
    padding: 3rem;
    text-align: center;
    border-radius: 10px;
    border: 2px dashed #ccc;
}

.contact-info-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.contact-form-main {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .contact-info-main {
        grid-template-columns: 1fr;
    }

    .contact-form-main {
        max-width: 100%;
    }
}

.map-container {
    margin-top: 3rem;
}

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

/* Trading - AI Feature with Side Icon */
.ai-feature {
    background: white;
    padding: 2rem 2rem 2rem 4rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.12);
    position: relative;
    border-left: 4px solid #667eea;
}

.ai-feature::before {
    content: '🤖';
    position: absolute;
    left: 1rem;
    top: 2rem;
    font-size: 1.8rem;
}

.ai-feature h3 {
    color: #764ba2;
    margin-bottom: 1rem;
    font-weight: 600;
}

.services-preview, .ai-preview, .pricing-preview, .pricing-highlight, .about-preview, .disclaimer-section, .contact-section {
    padding: 4rem 0;
}

.pricing-highlight {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

/* Trading Consultation - Smooth Fade-in Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.service-card,
.pricing-card,
.feature-card {
    animation: fadeInUp 0.6s ease-out;
    transition: all 0.3s ease;
}

.service-card:hover,
.pricing-card:hover,
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

h1 {
    animation: fadeInUp 0.8s ease-out;
}

/* Testimonial Section - Trading Consultation */
.testimonials-section {
    background: #f9f9f9;
    padding: 4rem 0;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    margin: 0;
    color: #333;
}

.testimonial-rating {
    color: #ffd700;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    line-height: 1.6;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

/* Trading Consultation - Unique Layout: Alternating Grid Pattern with Offset */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
}

.service-card:nth-child(even) {
    margin-top: 2rem;
}

.service-card:nth-child(1) {
    grid-column: 1 / 2;
}

.service-card:nth-child(2) {
    grid-column: 2 / 3;
}

.service-card:nth-child(3) {
    grid-column: 1 / 3;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    flex: 0 1 300px;
}

.pricing-card.featured {
    flex: 0 1 350px;
    order: -1;
}

/* Unique card icon styles */
.service-card h3::before,
.pricing-card h3::before {
    content: '▸ ';
    color: #667eea;
    font-size: 1.2em;
}

/* Zigzag section backgrounds */
section:nth-child(odd) {
    position: relative;
}

section:nth-child(odd)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(45deg, transparent 33.33%, #f5f5f5 33.33%, #f5f5f5 66.66%, transparent 66.66%),
                linear-gradient(-45deg, transparent 33.33%, #f5f5f5 33.33%, #f5f5f5 66.66%, transparent 66.66%);
    background-size: 20px 40px;
    background-position: 0 0;
    transform: scaleY(-1) scaleX(-1);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card:nth-child(3) {
        grid-column: 1;
        grid-template-columns: 1fr;
    }
}

