:root {
    --color-primary: #030C28;
    --color-secondary: #81D5E3;
    --color-accent: #81D5E3;
    --color-white: #ffffff;
    --color-gray: #B7B7B7;
    --color-light-gray: #f8fafc;
    --color-green: #10b981;
    --color-red: #ef4444;
    --color-dark-gray: #1e293b;
    --color-border: #e5e7eb;
    --color-background: #fafbfc;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F2F2F2;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1158px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #1a202c;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
}

.text-accent {
    color: #00D4FF;
}

.btn-primary {
    background: linear-gradient(98.98deg, #03164F 7.44%, #81D5E3 109.41%);
    color: var(--color-white);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(98.98deg, #021242 7.44%, #6BC0CF 109.41%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 0;
    width: 160px;
    height: 40px;
    border-radius: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-send {
    background: #606364;
    color: var(--color-white);
    border: none;
    padding: 0;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 260px;
    height: 40px;
}

.btn-send:hover {
    background: linear-gradient(98.98deg, #021242 7.44%, #6BC0CF 109.41%);
    transform: translateY(-2px);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
    height: 80px;
}

.header-hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1158px;
    margin: 0 auto;
    padding: 1rem 0;
    height: 80px;
    position: relative;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 188px;
    height: 39px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--color-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-actions .btn-primary {
    width: 160px;
    height: 40px;
    border-radius: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.burger-menu {
    display: none;
    flex-direction: column;
    background: var(--color-primary);
    border: none;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 8px;
    color: white;
    width: 48px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.burger-menu span {
    width: 22px;
    height: 3px;
    background: white;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
    display: block;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    display: none;
}

.mobile-menu.active {
    transform: translateY(0);
    display: block;
}

.mobile-menu-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu-content a {
    color: var(--color-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.hero {
    position: relative;
    color: var(--color-white);
    height: 354px;
    margin-top: 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1158px;
    background: url('crypto-chart-bg.webp');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1158px;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
    padding-left: 2rem;
    margin-right: auto;
}

.hero-content h1 {
    color: #FFFFFF;
    font-size: 64px;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 65px;
    font-family: 'Nunito Sans', sans-serif;
    width: 362px;
    height: 65px;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 28px;
    font-weight: 400;
    font-family: 'Nunito Sans', sans-serif;
    letter-spacing: 0%;
    padding-left: 1rem;
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 28px;
    font-weight: 400;
    font-family: 'Nunito Sans', sans-serif;
    margin-top: 0;
    padding-left: 1rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.features-section {
    padding: 60px 0;
    overflow-x: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    overflow-x: hidden;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.security-icon {
    background: linear-gradient(135deg, #4A90E2, #7BB3F0);
}

.global-icon {
    background: linear-gradient(135deg, #5BC0EB, #81D5E3);
}

.multi-currency-icon {
    background: #50919C;
}

.feature-svg-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #000000;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32.4px;
    letter-spacing: 0%;
    text-align: center;
}

.feature-card p {
    color: black;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 27.9px;
    letter-spacing: 0%;
    text-align: center;
}

.security-section {
    padding: 100px 0 80px 0;
    overflow: hidden;
}

.security-section .section-header {
    text-align: center;
    margin-bottom: calc(3rem + 70px);
}

.security-section .section-header h2 {
    margin-bottom: 1rem;
    color: #4E5965;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    font-size: 64px;
    line-height: 48px;
    letter-spacing: 0;
    text-align: center;
    width: 605px;
    height: 48px;
    margin: 0 auto 1rem auto;
}

.security-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1158px;
    margin: 0 auto;
    gap: 4rem;
    margin-top: 20px;
}

.security-content {
    display: flex;
    flex-direction: column;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.security-feature h4 {
    margin-bottom: 1.5rem;
    color: #1A202C;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0%;
}

.security-feature p {
    color: #64748B;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 28.8px;
    letter-spacing: 0%;
    margin-top: 0.5rem;
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-image-placeholder {
    width: 517px;
    height: 517px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rates-section {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: #1A202C;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: 0;
    text-align: center;
    width: 472px;
    height: 48px;
    margin: 0 auto 1rem auto;
}

.rates-unified-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 980px;
    margin: 0 auto;
}

.rate-card {
    width: 240px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    height: 160px;
    position: relative;
    overflow: hidden;
}

.rate-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.rate-info {
    position: absolute;
    top: 2rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2;
}

.crypto-info {
    display: flex;
    flex-direction: column;
}

.crypto-name {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.crypto-symbol {
    color: var(--color-gray);
    font-size: 0.875rem;
}

.rate-price {
    text-align: right;
}

.price {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.change {
    font-size: 0.875rem;
    font-weight: 500;
}

.change.positive {
    color: var(--color-green);
}

.change.negative {
    color: var(--color-red);
}

.rate-chart {
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    right: 8px !important;
    height: 40px !important;
    z-index: 1 !important;
}

@keyframes priceUpdate {
    0% { background-color: rgba(129, 213, 227, 0.2); }
    100% { background-color: transparent; }
}

.price-updated {
    animation: priceUpdate 1s ease-out;
}

.exchange-section {
    padding: 60px 0;
    overflow: visible;
}

.exchange-wrapper {
    width: 1158px;
    height: 380px;
    border-radius: 12px;
    border: 1px solid black;
    background: #50919C;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 60px;
    margin: 0 auto;
}

.exchange-info {
    flex: 1;
    max-width: 500px;
}

.exchange-info h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 50px;
    letter-spacing: 0%;
}

.exchange-info p {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    letter-spacing: 0%;
}

.exchange-form-container {
    background: var(--color-white);
    border-radius: 4px;
    padding: 25px;
    box-shadow: var(--shadow-xl);
    width: 310px;
    height: 440px;
    flex-shrink: 0;
    position: relative;
    left: -40px;
    z-index: 10;
}

.exchange-form {
    width: 100%;
    height: 409px;
}

.exchange-form .form-group {
    margin-bottom: 0.8rem;
}

.exchange-form label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    color: var(--color-primary);
    font-size: 0.85rem;
}

.exchange-form input,
.exchange-form select {
    width: 100%;
    height: 40px;
    padding: 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: var(--color-white);
}

.exchange-form input::placeholder {
    color: #B7B7B7;
}

.input-with-select {
    display: block;
}

.input-with-select input {
    width: 260px;
    margin-bottom: 8px;
}

.input-with-select select {
    width: 260px;
}

.exchange-form input:focus,
.exchange-form select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(129, 213, 227, 0.1);
}

.form-notice {
    margin-top: 1rem;
    text-align: center;
}

.form-notice p {
    font-size: 0.8rem;
    color: var(--color-gray);
    line-height: 1.4;
}

.form-notice a {
    color: #D4D4D4;
    text-decoration: none;
}

.form-notice a:hover {
    text-decoration: underline;
}

.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: block;
}

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border);
    padding: 1rem;
    z-index: 10000;
    box-shadow: var(--shadow-lg);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    color: var(--color-dark-gray);
    font-size: 0.9rem;
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-accept {
    background: var(--color-dark-gray);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cookie-accept:hover {
    background: var(--color-primary);
    transform: translateY(-1px);
}

.cookie-decline {
    background: transparent;
    color: var(--color-gray);
    border: 1px solid var(--color-border);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cookie-decline:hover {
    background: var(--color-light-gray);
    border-color: var(--color-gray);
}

.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.success-modal {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: scale(0.9);
    animation: modalAppear 0.3s ease forwards;
}

@keyframes modalAppear {
    to {
        transform: scale(1);
    }
}

.success-modal .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-gray);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.success-modal .close-btn:hover {
    background: var(--color-light-gray);
    color: var(--color-dark-gray);
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--color-light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-dark-gray);
    font-size: 1.8rem;
    font-weight: bold;
    border: 2px solid var(--color-border);
}

.success-modal h3 {
    color: var(--color-dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.order-id {
    background: var(--color-light-gray);
    padding: 0.75rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    border: 1px solid var(--color-border);
}

.conversion-details {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #bae6fd;
}

.conversion-details p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--color-dark-gray);
}

.conversion-amount {
    font-weight: 600;
    color: var(--color-primary);
}

.contact-info {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin: 1rem 0;
}

.redirect-info {
    background: var(--color-light-gray);
    padding: 0.75rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-gray);
}

.countdown {
    font-weight: 600;
    color: var(--color-primary);
}

.footer {
    background: #222835;
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1158px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo-placeholder {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-placeholder .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-section h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.8rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .footer-logo-placeholder {
        justify-content: center;
    }

    .nav-menu {
        display: none !important;
    }

    .nav-actions .btn-primary {
        display: none !important;
    }

    .burger-menu {
        display: flex !important;
    }

    .hero {
        height: 300px;
    }

    .hero::before {
        top: 10px;
        bottom: 10px;
        border-radius: 12px;
    }

    .hero-content {
        padding-left: 1rem;
        max-width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        width: auto;
        height: auto;
    }

    .hero-actions {
        align-items: center;
    }

    .hero-subtitle {
        padding-left: 0;
    }

    .hero-description {
        padding-left: 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .rates-unified-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-wrapper {
        flex-direction: column;
        gap: 2rem;
        width: auto;
        max-width: calc(100% - 2rem);
        margin: 0 auto;
    }

    .security-feature h4 {
        text-align: center;
    }

    .security-feature p {
        text-align: center;
    }

    .exchange-section {
        padding: 60px 0;
    }

    .exchange-wrapper {
        width: 100vw;
        max-width: none;
        height: 750px;
        border-radius: 0;
        border: none;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 40px 0;
        justify-content: flex-start;
        align-items: stretch;
        position: absolute;
        left: 0;
        right: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .exchange-info {
        margin: 6rem 0 2rem 0;
        flex-shrink: 0;
        width: 300px;
        text-align: center;
    }

    .exchange-info h2 {
        font-family: 'Nunito Sans', sans-serif;
        font-weight: 500;
        font-size: 48px;
        line-height: 44px;
        letter-spacing: 0%;
        margin-bottom: 0.5rem;
    }

    .exchange-info p {
        font-family: 'Nunito Sans', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 19px;
        letter-spacing: 0%;
        margin-bottom: 0;
    }

    .exchange-form-container {
        width: 310px;
        height: 433px;
        padding: 25px;
        left: 0;
        align-self: center;
        flex-shrink: 0;
    }

    .exchange-form {
        width: 260px;
        height: 409px;
    }

    .exchange-form input,
    .exchange-form select {
        width: 260px;
        height: 40px;
        border-radius: 4px;
    }

    .input-with-select input,
    .input-with-select select {
        width: 260px;
        height: 40px;
    }

    .btn-send {
        width: 260px;
        height: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .security-image-placeholder {
        width: 250px;
        height: 250px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .success-modal {
        margin: 1rem;
        padding: 1.5rem;
    }

    .success-modal h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 1023px) {
    .form-notice p {
        text-align: left;
    }

    .footer {
        padding: 460px 0 20px;
    }

    .exchange-info {
        margin: 0 auto;
    }

    .hero .container {
        justify-content: center;
    }

    .hero-content {
        margin-right: 0;
    }

    .exchange-info p {
        font-size: 14px;
        text-align: left;
    }

    .exchange-info h2 {
        font-size: 1.5rem;
    }

    .security-wrapper, .exchange-wrapper {
        max-width: 100%;
        padding: 0;
    }

    .exchange-form-container {
        left: 0;
    }

    .exchange-section {
        padding: 10px 0 340px 0;
    }

    .security-section .section-header h2 {
        font-size: 40px;
        width: 100%;
    }

    .form-wrapper {
        border-radius: 12px;
        padding: 83px 0 77px 0;
    }

    .section-header {
        margin-bottom: 70px !important;
    }

    .section-header h2 {
        width: 100%;
    }

    .security-section {
        padding: 100px 0 0 0;
    }

    .hero {
        height: 400px;
    }

    .hero::before {
        background-image: linear-gradient(rgba(25, 0, 70, 0.6), rgba(25, 0, 70, 0.6)), url(crypto-chart-bg.webp);
        top: 10px;
        bottom: 10px;
        right: 1rem;
    }

    .hero-content h1 {
        font-size: 3rem;
        width: auto;
        height: auto;
    }

    .exchange-info h2 {
        font-size: 48px;
        line-height: 44px;
        text-align: left;
    }

    .rates-unified-grid {
        grid-template-columns: 1fr;
    }

    .security-image-placeholder {
        width: 300px;
        height: 300px;
    }

    .navbar {
        padding: 1rem 10px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rates-unified-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
        max-width: 600px;
    }

    .rate-card {
        width: 280px;
    }

    .security-wrapper, .exchange-wrapper {
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }

    .exchange-wrapper {
        height: auto;
        align-items: center;
        gap: 2rem;
        position: static;
        width: 100%;
        margin-bottom: 2rem;
    }

    .exchange-info {
        width: 300px;
        text-align: center;
        margin-bottom: 2rem;
    }

    .exchange-form-container {
        left: 0;
        position: static;
    }

    .security-wrapper {
        flex-direction: column-reverse;
    }

    .security-image-placeholder {
        width: 400px;
        height: 400px;
    }

    .footer-logo-placeholder {
        justify-content: center;
    }

    .exchange-section {
        padding: 60px 0;
    }

    .footer {
        padding: 60px 0 20px;
        margin-top: 2rem;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
    .navbar {
        max-width: 1000px;
        padding: 1rem 1rem;
    }

    .hero .container {
        max-width: 1000px;
    }

    .hero-content {
        max-width: 500px;
        padding-left: 1rem;
    }

    .hero-content h1 {
        font-size: 3rem;
        width: auto;
        height: auto;
    }

    .security-wrapper {
        max-width: 1000px;
        gap: 2rem;
        margin: 0 auto;
    }

    .security-content {
        flex: 1;
        max-width: 500px;
    }

    .security-visual {
        flex: 1;
    }

    .security-image-placeholder {
        width: 400px;
        height: 400px;
    }

    .container {
        max-width: 1000px;
    }

    .exchange-wrapper {
        width: 100%;
        max-width: 1000px;
        height: auto;
        border-radius: 12px;
        border: 1px solid black;
        flex-direction: column;
        gap: 2rem;
        margin: 0 auto 4rem auto;
        padding: 40px 0;
        justify-content: center;
        align-items: center;
        position: static;
        box-sizing: border-box;
        overflow: visible;
    }

    .exchange-info {
        text-align: center;
        margin: 0 auto;
        width: 300px;
    }

    .exchange-form-container {
        left: 0;
        position: static;
        align-self: center;
        flex-shrink: 0;
    }

    .exchange-section .container {
        padding: 0 2rem;
        max-width: 1000px;
    }

    .exchange-section {
        padding: 60px 0;
        overflow: visible;
    }

    .rates-unified-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 600px;
    }

    .rate-card {
        width: 280px;
    }

    .footer-content {
        max-width: 1000px;
        padding: 0 1rem;
    }

    .footer {
        padding: 60px 0 20px;
        margin-top: 2rem;
    }
}