/* Home Landing Page Styles - Exact Match to Screenshots */

/* Prevent horizontal overflow */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    max-width: 100%;
}

:root {
    --primary-blue: #1e40af;
    --dark-blue: #1e3a8a;
    --light-blue: #3b82f6;
    --gradient-blue-start: #3b82f6;
    --gradient-blue-end: #2563eb;
    --purple-gradient-start: #a855f7;
    --purple-gradient-end: #ec4899;
    --orange-gradient-start: #f97316;
    --orange-gradient-end: #dc2626;
    --green-gradient-start: #10b981;
    --green-gradient-end: #059669;
    --yellow-orange-start: #fbbf24;
    --yellow-orange-end: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
}

/* Hero Banner Section */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px 40px 20px; /* уменьшили нижний отступ */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    border-radius: 20px;
    margin: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('/images/golden-gate-flag.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: flagWave 10s ease-in-out infinite;
    border-radius: 0 20px 20px 0;
}

.hero-banner-background {
    display: none;
}

.hero-banner-image {
    display: none;
}


.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    z-index: 1;
}

.hero-banner-pattern {
    display: none;
}

@keyframes flagWave {
    0% {
        transform: scale(1) translateX(0) translateY(0) skewY(0deg);
        filter: blur(0px) brightness(1);
    }
    20% {
        transform: scale(1.008) translateX(-2px) translateY(0.5px) skewY(-0.3deg);
        filter: blur(0.2px) brightness(1.01);
    }
    40% {
        transform: scale(1.012) translateX(-1px) translateY(1px) skewY(-0.5deg);
        filter: blur(0.3px) brightness(1.02);
    }
    60% {
        transform: scale(1.008) translateX(1px) translateY(0.5px) skewY(0.3deg);
        filter: blur(0.2px) brightness(1.01);
    }
    80% {
        transform: scale(1.012) translateX(2px) translateY(1px) skewY(0.5deg);
        filter: blur(0.3px) brightness(1.02);
    }
    100% {
        transform: scale(1) translateX(0) translateY(0) skewY(0deg);
        filter: blur(0px) brightness(1);
    }
}

@keyframes flagWaveSecondary {
    0% {
        transform: scale(1.005) translateX(1px) translateY(-0.5px) skewY(0.2deg);
        filter: blur(0.15px) brightness(0.99);
    }
    30% {
        transform: scale(1) translateX(0) translateY(0) skewY(0deg);
        filter: blur(0px) brightness(1);
    }
    60% {
        transform: scale(1.005) translateX(-1px) translateY(-0.5px) skewY(-0.2deg);
        filter: blur(0.15px) brightness(0.99);
    }
    100% {
        transform: scale(1.005) translateX(1px) translateY(-0.5px) skewY(0.2deg);
        filter: blur(0.15px) brightness(0.99);
    }
}

.hero-banner-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    width: 50%;
    padding-left: 60px;
    text-align: left;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
    text-align: left;
}

.hero-highlight {
    font-size: 2.5rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 20px;
    text-align: left;
}

.hero-subtitle {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fee7a0;
    margin-bottom: 30px;
    text-align: left;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: left;
}

.hero-service-description {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: left;
}

.highlight-service {
    color: #60a5fa;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-email-input {
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    min-width: 300px;
    outline: none;
}

.hero-cta-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 600px;
}

.hero-cta-button:hover {
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.9rem;
}

.hero-stats i {
    color: #10b981;
}

/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px; /* уменьшили в два раза: 80px -> 40px */
    box-sizing: border-box;
    width: 100%;
}

.section-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
}

.what-you-get-section .section-main-title {
    color: var(--text-dark); /* черный */
}

.what-you-get-section .section-subtitle {
    color: var(--text-dark); /* черный */
}

/* Why EB-1A Section */
.why-eb1a-section {
    background: var(--white);
    padding: 20px 0 20px; /* стандартный зазор между блоками */
}

.why-eb1a-section .section-container {
    border: 2px solid #667eea; /* фиолетовая рамка как в герое */
    border-radius: 20px;
    padding: 30px 40px; /* уменьшили в два раза */
    background: var(--white);
    box-shadow: 0 16px 35px rgba(102, 126, 234, 0.12);
    width: calc(100% - 40px); /* такая же ширина, как у героя с отступами 20px */
    max-width: none;
    margin: 0 auto;
    box-sizing: border-box;
}

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

.why-eb1a-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.why-eb1a-icon {
    width: 80px;
    height: 80px;
    background: #e0e7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-eb1a-icon i {
    font-size: 2rem;
    color: #667eea; /* фиолетовый как у кнопки "Войти" */
}

.why-eb1a-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.why-eb1a-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.why-eb1a-cta {
    text-align: center;
    margin-top: 50px;
}

.why-eb1a-cta-button {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 12px;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.why-eb1a-cta-button:hover {
    opacity: 0.9;
}

.why-eb1a-cta-button i {
    font-size: 1.25rem;
}

/* 5 Directions Section */
.directions-section {
    background: var(--white);
    padding: 20px 0 20px; /* стандартный зазор между блоками */
}

.directions-section .section-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid #667eea;
    border-radius: 20px;
    padding: 30px 40px; /* уменьшили в два раза */
    box-shadow: 0 16px 35px rgba(102, 126, 234, 0.2);
    width: calc(100% - 40px);
    max-width: none;
    margin: 0 auto;
    box-sizing: border-box;
}

.directions-section .section-main-title {
    color: #ffffff;
}

.directions-section .section-subtitle {
    color: #ffffff; /* сделать белым */
}

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

.directions-grid .direction-card:nth-child(4) {
    grid-column: 1;
}

.directions-grid .direction-card:nth-child(5) {
    grid-column: 2;
}

.direction-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #ffffff; /* белый фон для всех карточек */
}

.direction-card-header {
    padding: 30px 20px;
    color: var(--white);
    text-align: center;
    position: relative;
}

.direction-card-header i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.direction-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.business-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.science-header {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
}

.art-header {
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
}

.education-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.sport-header {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.direction-card-body {
    padding: 30px 20px;
    background: #ffffff; /* белый фон принудительно */
    color: var(--text-dark);
}

.directions-footer {
    color: #ffffff !important; /* белый текст */
    text-align: center;
}

.direction-card-body p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.directions-footer {
    text-align: center;
    font-size: 1rem;
    color: var(--text-dark);
    margin-top: 40px;
}

/* What You Get Section */
.what-you-get-section {
    background: var(--white);
    padding: 20px 0 20px; /* стандартный зазор между блоками */
}

.criteria-explainer-section {
    background: var(--white);
    padding: 20px 0 20px; /* стандартный зазор между блоками */
}

.criteria-explainer-section .section-container {
    border: 2px solid #667eea; /* Purple border */
    border-radius: 20px; /* Rounded corners */
    padding: 30px 40px; /* уменьшили в два раза */
    box-shadow: 0 16px 35px rgba(102, 126, 234, 0.2); /* Soft shadow */
    width: calc(100% - 40px); /* Match hero width with 20px margin on each side */
    max-width: calc(100% - 40px); /* Prevent overflow */
    margin: 0 auto; /* Center the container */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.criteria-art {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.additional-criteria {
    margin-top: 40px;
    border-top: 1px solid #e5e7eb;
    padding-top: 30px;
}

.additional-criteria h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

/* Email Form in Criteria Section */
.criteria-cta-form {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.criteria-form-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.criteria-email-input {
    flex: 1;
    min-width: 300px;
    padding: 18px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.criteria-email-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.criteria-email-input::placeholder {
    color: #94a3b8;
}

.criteria-cta-button {
    position: relative;
    padding: 18px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: #fee7a0; /* желтый цвет как у "Получите Green Card..." */
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
    overflow: hidden;
}

.criteria-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 30%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.4) 70%,
        transparent 100%
    );
    animation: shine 2s infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    30% {
        left: 100%;
    }
    31%, 100% {
        left: 100%;
    }
}

.criteria-cta-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.criteria-cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.roadmap-message {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
    animation: fadeIn 0.3s ease-in;
}

.roadmap-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.roadmap-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.criteria-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    align-items: flex-start;
}

.criteria-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.criteria-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px 0;
}

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

@media (max-width: 1024px) {
    .criteria-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .criteria-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.what-you-get-section .section-container {
    background: #ffffff; /* белый фон */
    border: 2px solid #667eea;
    border-radius: 20px;
    padding: 30px 40px; /* уменьшили в два раза */
    box-shadow: 0 16px 35px rgba(102, 126, 234, 0.2);
    width: calc(100% - 40px);
    max-width: none;
    margin: 0 auto;
    box-sizing: border-box;
}

.what-you-get-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.feature-item-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Фиолетовый градиент */
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    border: none;
}

.feature-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff; /* Белый цвет номера */
    min-width: 30px;
}

.feature-content {
    flex: 1;
}

/* Скрываем старые мокап-плейсхолдеры, чтобы не было пустых блоков */
.what-you-get-top,
.what-you-get-bottom,
.ui-mockup-large,
.mockup-screen,
.ui-mockup-small,
.mockup-document,
.expert-image,
.expert-placeholder {
    display: none !important;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2); /* Полупрозрачный белый фон */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff; /* Белый цвет заголовка */
    margin-bottom: 10px;
}

.feature-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9); /* Почти белый цвет текста */
    line-height: 1.6;
}

.what-you-get-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    align-items: center;
}

.feature-item-bottom {
    display: flex;
    gap: 20px;
}

.ui-mockup-small {
    width: 100%;
    height: 300px;
    background: #e5e7eb;
    border-radius: 12px;
}

.mockup-document {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 12px;
}

.expert-image {
    width: 100%;
    height: 400px;
    background: #1e293b;
    border-radius: 12px;
    position: relative;
}

.expert-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
}

.all-tools-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* фиолетовый как кнопка Войти */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
}

.all-tools-banner p {
    font-size: 1.25rem; /* крупнее подзаголовка */
    font-weight: 700;   /* жирный */
    color: #fee7a0; /* как текст hero-subtitle (Получите Green Card...) */
    margin: 6px 0;
    line-height: 1.5;
}

.all-tools-banner p:first-child {
    font-weight: 600;
}

/* How It Works Section */
.how-it-works-section {
    background: var(--white);
    padding: 20px 0 20px; /* стандартный зазор между блоками */
}

.how-it-works-section .section-container {
    border: 2px solid #667eea; /* Purple border */
    border-radius: 20px; /* Rounded corners */
    padding: 30px 40px; /* уменьшили в два раза */
    box-shadow: 0 16px 35px rgba(102, 126, 234, 0.2); /* Soft shadow */
    width: calc(100% - 40px); /* Match hero width with 20px margin on each side */
    max-width: calc(100% - 40px); /* Prevent overflow */
    margin: 0 auto; /* Center the container */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.video-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.video-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: var(--dark-blue);
    border-radius: 12px;
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 100px;
    height: 100px;
    background: rgba(59, 130, 246, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button i {
    font-size: 2.5rem;
    color: var(--white);
    margin-left: 5px;
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: var(--white);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 4px;
}

/* Comparison Section */
.comparison-section {
    background: var(--white);
    padding: 20px 0 20px; /* стандартный зазор между блоками */
}

.comparison-section .section-container {
    border: 2px solid #667eea; /* Purple border */
    border-radius: 20px; /* Rounded corners */
    padding: 30px 40px; /* уменьшили в два раза */
    box-shadow: 0 16px 35px rgba(102, 126, 234, 0.2); /* Soft shadow */
    width: calc(100% - 40px); /* Match hero width with 20px margin on each side */
    max-width: calc(100% - 40px); /* Prevent overflow */
    margin: 0 auto; /* Center the container */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.comparison-table {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    background: var(--primary-blue);
    color: var(--white);
}

.comparison-header > div {
    padding: 20px;
    font-weight: 600;
    text-align: center;
    color: #ffffff !important; /* Белый цвет для всех заголовков */
}

.comparison-col-talent {
    background: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-row > div {
    padding: 20px;
    text-align: center;
    background: var(--white);
}

.comparison-row .comparison-col-feature {
    font-weight: 600;
    color: var(--text-dark); /* Темный цвет для строк */
}

.comparison-row .comparison-col-lawyer {
    color: var(--text-light); /* Серый цвет для строк */
}

.comparison-col-talent.highlight {
    color: var(--primary-blue);
    font-weight: 600;
}

.comparison-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 150px;
}

.benefit-number,
.benefit-symbol {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.benefit-text {
    font-size: 1rem;
    color: var(--text-light);
}

/* Lawyer Truth Section */
.lawyer-truth-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Фиолетовый градиент как у кнопки Войти */
    padding: 40px 20px; /* уменьшили в два раза */
    position: relative;
    border-radius: 20px; /* Закругленные края как у hero */
    margin: 0 20px 20px 20px; /* боковые отступы и нижний отступ */
}

.lawyer-truth-container {
    max-width: 1200px;
    margin: 0 auto;
}

.lawyer-truth-header {
    text-align: center;
    margin-bottom: 30px; /* уменьшили в два раза */
}

.warning-badge {
    display: inline-block;
    background: #dc2626;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 15px; /* уменьшили в два раза */
    font-weight: 600;
}

.warning-badge i {
    margin-right: 10px;
}

.lawyer-truth-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.lawyer-truth-subtitle {
    font-size: 1.25rem;
    color: #ffffff; /* Белый цвет */
    margin-bottom: 0;
}

.lawyer-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px; /* уменьшили в два раза */
}

.lawyer-box {
    padding: 20px; /* уменьшили в два раза */
    border-radius: 12px;
}

.lawyer-box.negative {
    background: #FF6440;
}

.lawyer-box.positive {
    background: #3b82f6;
}

.lawyer-box-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.lawyer-box-header i {
    font-size: 2rem;
    color: var(--white);
}

.lawyer-box-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.lawyer-box-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lawyer-box-list li {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.lawyer-box-list li i {
    margin-top: 5px;
    flex-shrink: 0;
}

.lawyer-warning-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
}

.lawyer-warning-box i {
    font-size: 2rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.lawyer-warning-box p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    background: var(--white);
    padding: 20px 0 20px; /* стандартный зазор между блоками */
}

.pricing-section .section-container {
    padding: 20px 20px; /* уменьшили в два раза */
}

.pricing-card {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    border: 2px solid #667eea; /* Фиолетовая рамка вокруг карточки */
    box-shadow: 0 16px 35px rgba(102, 126, 234, 0.2);
}

.pricing-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Фиолетовый градиент */
    padding: 30px 40px 20px; /* уменьшили в два раза */
    text-align: center;
    color: var(--white); /* Белый цвет текста */
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white); /* Белый цвет */
}

.pricing-header p {
    font-size: 1rem;
    margin: 0;
    color: var(--white); /* Белый цвет */
}

.strikethrough {
    text-decoration: line-through;
}


.pricing-timer {
    background: var(--white);
    padding: 20px 40px 10px; /* уменьшили нижний отступ */
    text-align: center;
}

.timer-label {
    font-size: 1rem;
    margin-bottom: 15px; /* уменьшили вдвое */
    color: var(--text-dark);
    font-weight: 700; /* жирный шрифт */
}

.countdown-timer {
    font-size: 2.5rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 20px; /* сократили примерно на треть */
    padding-bottom: 20px; /* отступ для линии */
    border-bottom: 2px solid #e5e7eb; /* серая черта */
}

.pricing-duration {
    background: var(--white);
    padding: 10px 40px 5px; /* уменьшили нижний отступ */
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 600;
}

.pricing-price {
    background: var(--white);
    padding: 5px 40px 10px; /* уменьшили верхний отступ */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 15px;
    justify-content: center;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: #60a5fa;
}

.price-old {
    font-size: 1.75rem; /* немного меньше чем price-current (2.5rem) */
    color: #94a3b8;
}

.price-old .strikethrough {
    text-decoration: line-through;
}

.price-savings {
    font-size: 1.125rem;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 0; /* убрали большой отступ */
}

.pricing-features {
    background: var(--white);
    padding: 10px 20px 5px; /* уменьшили нижний отступ */
    color: var(--text-dark);
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px; /* уменьшили отступ */
}

.pricing-feature:last-child {
    margin-bottom: 0;
}

.pricing-feature i {
    color: #10b981;
    font-size: 1.25rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.pricing-feature span {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.pricing-cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Фиолетовый градиент как у кнопки Войти */
    color: var(--white);
    padding: 20px 40px;
    border: none;
    border-radius: 12px; /* Скругленные края */
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    width: calc(100% - 80px);
    margin: 20px 40px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pricing-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.pricing-disclaimer {
    background: var(--white);
    padding: 0 40px 20px; /* уменьшили отступ снизу */
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    font-style: italic;
    margin: 0;
}

/* Who We Are Section */
.who-we-are-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Фиолетовый градиент */
    padding: 40px 20px; /* уменьшили в два раза */
    position: relative;
    border-radius: 20px; /* Скругленные края */
    margin: 0 20px; /* только боковые отступы */
}

.who-we-are-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 20px,
        rgba(59, 130, 246, 0.1) 20px,
        rgba(59, 130, 246, 0.1) 21px
    ),
    repeating-linear-gradient(
        90deg,
        transparent,
        transparent 20px,
        rgba(59, 130, 246, 0.1) 20px,
        rgba(59, 130, 246, 0.1) 21px
    );
    opacity: 0.3;
}

.who-we-are-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.who-we-are-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--white);
    margin-bottom: 60px;
}

.who-we-are-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #60a5fa;
    border-radius: 16px;
    padding: 25px; /* уменьшили в два раза */
    margin-bottom: 20px; /* также уменьшили margin */
}

.who-we-are-card p {
    font-size: 1.125rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.who-we-are-card p:last-child {
    margin-bottom: 0;
}

.talent-visa-ai-brand {
    color: #3b82f6;
    font-weight: 700;
}

.who-we-are-quote {
    border-left: 4px solid #fbbf24;
    padding-left: 30px;
    margin-top: 30px;
}

.who-we-are-quote p {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
}

.who-we-are-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important; /* Фиолетовый градиент */
    border: 2px solid #ffffff; /* Белая обводка */
    border-radius: 16px;
    padding: 20px; /* уменьшили в два раза */
    text-align: center;
    min-width: 200px;
    box-shadow: none !important; /* убираем любые тени */
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.9;
}

/* Testimonials Landing Section */
.testimonials-landing-section {
    background: var(--white);
    padding: 20px 0 20px; /* стандартный зазор между блоками */
}

.testimonials-landing-section .section-container {
    border: 2px solid #667eea; /* Purple border */
    border-radius: 20px; /* Rounded corners */
    padding: 30px 40px; /* уменьшили в два раза */
    box-shadow: 0 16px 35px rgba(102, 126, 234, 0.2); /* Soft shadow */
    width: calc(100% - 40px); /* Match hero width with 20px margin on each side */
    max-width: calc(100% - 40px); /* Prevent overflow */
    margin: 0 auto; /* Center the container */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.testimonials-landing-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* 3 колонки для горизонтального расположения */
    gap: 30px;
    margin-top: 40px;
}

.testimonial-landing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-landing-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.testimonial-landing-avatar.candidate {
    background: #bfdbfe;
}

.testimonial-landing-avatar.engineer {
    background: #e9d5ff;
}

.testimonial-landing-avatar.illustrator {
    background: #fed7aa;
}

.testimonial-landing-avatar i {
    font-size: 2rem;
    color: var(--white);
}

.testimonial-landing-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-landing-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.testimonial-landing-quote {
    position: relative;
    margin-bottom: 20px;
}

.quote-mark {
    font-size: 4rem;
    color: #bfdbfe;
    font-weight: 700;
    line-height: 0.5;
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial-landing-quote p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
    padding-left: 30px;
}

.testimonial-landing-rating {
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonials-success-banner {
    background: #d1fae5;
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 30px;
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonials-success-banner i {
    font-size: 2.5rem;
    color: #10b981;
    flex-shrink: 0;
}

.success-banner-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 5px;
}

.success-banner-subtitle {
    font-size: 1rem;
    color: #059669;
}

/* Final CTA Section */
.final-cta-section {
    background: var(--white);
    padding: 20px 0 20px; /* стандартный зазор между блоками */
}

.final-cta-section .section-container {
    padding: 20px 20px; /* уменьшили в два раза */
    width: calc(100% - 40px); /* Match hero width with 20px margin on each side */
    max-width: calc(100% - 40px); /* Prevent overflow */
    margin: 0 auto; /* Center the container */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.final-cta-card {
    width: 100%; /* на всю ширину */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid #667eea; /* рамка вокруг карточки */
    background: var(--white);
}

.final-cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 20px,
        rgba(59, 130, 246, 0.1) 20px,
        rgba(59, 130, 246, 0.1) 21px
    ),
    repeating-linear-gradient(
        90deg,
        transparent,
        transparent 20px,
        rgba(59, 130, 246, 0.1) 20px,
        rgba(59, 130, 246, 0.1) 21px
    );
    opacity: 0.3;
}

.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-icon {
    width: 80px;
    height: 80px;
    background: #60a5fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.final-cta-icon i {
    font-size: 2rem;
    color: var(--dark-blue);
}

.final-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.3;
}

.final-cta-subtitle {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 40px;
    line-height: 1.6;
}

.final-cta-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 8px;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 60px;
    transition: opacity 0.3s;
}

.final-cta-button:hover {
    opacity: 0.9;
}

.final-cta-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.final-cta-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.final-cta-feature i {
    font-size: 2rem;
    color: #60a5fa;
}

.final-cta-feature span {
    font-size: 1rem;
    color: var(--white);
}

/* Responsive Design */
/* Large tablets and small laptops */
@media (max-width: 1200px) {
    .section-container {
        padding: 40px 30px;
    }
    
    .hero-banner {
        padding: 70px 20px 40px 20px;
    }
    
    .hero-banner-content {
        padding-left: 40px;
    }
}

/* Tablets */
@media (max-width: 991px) {
    .hero-banner {
        padding: 60px 20px 40px 20px;
        min-height: 500px;
    }
    
    .hero-banner-content {
        padding-left: 30px;
        max-width: 500px;
    }
    
    .hero-main-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .section-main-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Grids - 2 columns on tablets */
    .why-eb1a-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .directions-grid .direction-card:nth-child(4),
    .directions-grid .direction-card:nth-child(5) {
        grid-column: auto;
    }
    
    .criteria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .what-you-get-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-landing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
    
    .lawyer-comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .who-we-are-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-card {
        min-width: calc(50% - 10px);
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    /* Hero section */
    .hero-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px 20px 15px; /* уменьшили padding сверху и увеличили снизу */
        margin: 10px;
        min-height: auto;
        max-width: calc(100% - 20px);
        width: calc(100% - 20px);
    }
    
    .hero-banner::after {
        width: 100%;
        height: 35%; /* уменьшили высоту изображения */
        top: auto;
        bottom: 0;
        border-radius: 0 0 20px 20px;
    }
    
    .hero-banner-content {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
        max-width: 100%;
        margin-bottom: 20px; /* добавили отступ снизу от текста */
        position: relative;
        z-index: 10; /* поднимаем текст выше */
    }
    
    .hero-main-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 20px; /* добавили отступ снизу */
        padding-bottom: 10px; /* дополнительный отступ */
    }
    
    .hero-cta {
        align-items: center;
        margin-bottom: 15px; /* добавили отступ снизу от кнопки */
    }
    
    .hero-cta-button {
        width: 100%;
        max-width: none;
    }
    
    /* Sections */
    .section-container {
        padding: 30px 15px;
        width: calc(100% - 20px) !important;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .section-main-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* All grids - 1 column on mobile */
    .why-eb1a-grid,
    .directions-grid,
    .criteria-grid,
    .additional-criteria-grid,
    .criteria-art,
    .what-you-get-grid,
    .testimonials-landing-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .directions-grid .direction-card {
        grid-column: auto !important;
    }
    
    /* Comparison table - stack on mobile */
    .comparison-table {
        overflow-x: auto;
    }
    
    .comparison-header,
    .comparison-row {
        min-width: 600px;
    }
    
    /* Cards padding */
    .why-eb1a-card,
    .direction-card,
    .criteria-card,
    .testimonial-landing-card {
        padding: 20px 15px;
    }
    
    /* Sections with borders */
    .why-eb1a-section .section-container,
    .directions-section .section-container,
    .criteria-explainer-section .section-container,
    .what-you-get-section .section-container,
    .how-it-works-section .section-container,
    .comparison-section .section-container,
    .pricing-section .section-container,
    .testimonials-landing-section .section-container,
    .final-cta-section .section-container {
        padding: 20px 15px;
    }
    
    .lawyer-truth-section,
    .who-we-are-section {
        margin: 0 10px 20px 10px;
        padding: 30px 15px;
        max-width: calc(100% - 20px);
        box-sizing: border-box;
    }
    
    /* Pricing */
    .pricing-card,
    .final-cta-card {
        margin: 0;
    }
    
    .pricing-header h3,
    .final-cta-header h3 {
        font-size: 1.75rem;
    }
    
    .pricing-header p,
    .final-cta-header p {
        font-size: 0.95rem;
    }
    
    .countdown-timer,
    .final-cta-timer .countdown-timer {
        font-size: 2rem;
    }
    
    .price-current,
    .final-cta-price .price-current {
        font-size: 2rem;
    }
    
    .price-old,
    .final-cta-price .price-old {
        font-size: 1.25rem;
    }
    
    .price-savings,
    .final-cta-price .price-savings,
    .pricing-duration span,
    .final-cta-duration span {
        font-size: 1rem;
    }
    
    .pricing-cta-button,
    .final-cta-button {
        width: auto;
        max-width: calc(100% - 30px);
        margin: 20px auto 30px auto;
        padding: 15px 30px;
        font-size: 1.1rem;
        display: block;
    }
    
    .pricing-header,
    .pricing-timer,
    .pricing-duration,
    .pricing-price,
    .pricing-features,
    .pricing-disclaimer,
    .final-cta-header,
    .final-cta-timer,
    .final-cta-duration,
    .final-cta-price,
    .final-cta-button-wrapper,
    .final-cta-disclaimer {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Email form */
    .email-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .email-input-group input[type="email"] {
        width: 100%;
        min-width: auto;
    }
    
    .email-cta-button {
        width: 100%;
    }
    
    /* Video */
    .video-container {
        margin: 20px 0;
    }
    
    /* Stats */
    .who-we-are-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 300px;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .hero-banner {
        padding: 25px 10px 15px 10px; /* еще меньше padding сверху */
        margin: 5px;
        max-width: calc(100% - 10px);
        width: calc(100% - 10px);
    }
    
    .hero-banner::after {
        height: 30%; /* еще меньше высота изображения */
    }
    
    .hero-banner-content {
        margin-bottom: 15px;
    }
    
    .hero-main-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    
    .section-main-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .section-container {
        padding: 20px 10px;
        width: calc(100% - 10px) !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .lawyer-truth-section,
    .who-we-are-section {
        max-width: calc(100% - 10px);
    }
    
    .pricing-cta-button,
    .final-cta-button {
        max-width: calc(100% - 20px);
        padding: 12px 25px;
    }
    
    .lawyer-truth-section,
    .who-we-are-section {
        margin: 0 5px 20px 5px;
        padding: 25px 10px;
    }
    
    .pricing-header h3,
    .final-cta-header h3 {
        font-size: 1.5rem;
    }
    
    .countdown-timer,
    .final-cta-timer .countdown-timer {
        font-size: 1.75rem;
    }
    
    .price-current,
    .final-cta-price .price-current {
        font-size: 1.75rem;
    }
    
    .price-old,
    .final-cta-price .price-old {
        font-size: 1.1rem;
    }
    
    .pricing-cta-button,
    .final-cta-button {
        font-size: 1rem;
        padding: 12px 15px;
    }
    
    .why-eb1a-card,
    .direction-card,
    .criteria-card,
    .testimonial-landing-card {
        padding: 15px 10px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-main-title {
        font-size: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-main-title {
        font-size: 1.25rem;
    }
    
    .countdown-timer,
    .final-cta-timer .countdown-timer {
        font-size: 1.5rem;
    }
    
    .price-current,
    .final-cta-price .price-current {
        font-size: 1.5rem;
    }
    
    .pricing-header h3,
    .final-cta-header h3 {
        font-size: 1.25rem;
    }
}
