/* Subscribe page - стили из Figma */

/* Subscribe */
.subscribe-page {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    position: relative;
    width: 100%;
    height: 100vh !important;
    min-height: 100vh !important;
    background: var(--color-bg-primary) !important;
    background: color(display-p3 0.102 0.102 0.102) !important;
    overflow: visible !important;
}

.subscribe-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    position: relative;
}

/* Content - Левая часть */
.subscribe-form-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-6xl) 140px;
    gap: var(--spacing-6xl);
    width: 50%;
    max-width: 50%;
    order: 0;
    align-self: stretch;
    flex: 1 1 50%;
    min-width: 0;
    position: relative;
    overflow-y: auto;
    box-sizing: border-box;
}

.subscribe-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: var(--spacing-6xl);
    max-width: 560px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
}

/* Text */
.subscribe-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 0;
    width: 100%;
    height: auto;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    text-align: center;
    margin-bottom: var(--spacing-8xl);
}

/* LogoFull */
.subscribe-logo {
    width: 100%;
    height: auto;
    font-family: var(--font-serif);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-normal);
    letter-spacing: 2px;
    color: var(--color-text-tertiary);
    margin-bottom: var(--spacing-2xl);
}

/* Content */
.subscribe-form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 var(--spacing-5xl) var(--spacing-5xl) var(--spacing-5xl);
    gap: 0;
    width: 100%;
    height: auto;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    border: none;
}

/* Title */
.subscribe-title-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: var(--spacing-sm);
    width: 100%;
    height: auto;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Be the first to know! */
.subscribe-title {
    width: 100%;
    height: auto;
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--color-text-primary);
    margin: 0 0 var(--spacing-md) 0;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Fresh tools, smarter AI, product updates */
.subscribe-subtitle {
    width: 100%;
    height: auto;
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-tertiary);
    margin: 0;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Content - форма */
.subscribe-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: var(--spacing-2xl);
    width: 100%;
    height: auto;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    margin-bottom: var(--spacing-2xl);
}

/* Input */
.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: var(--spacing-sm);
    width: 100%;
    height: auto;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.form-group:nth-child(2) {
    order: 1;
}

.form-group:nth-child(3) {
    order: 2;
    height: auto;
    margin-bottom: var(--spacing-2xl);
}

/* Email * / Name (optional) / What interests you? (optional) */
.form-label {
    width: 100%;
    height: auto;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-md);
    color: var(--color-text-primary);
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Input */
.form-input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) calc(var(--spacing-md) + 4px);
    min-height: 44px;
    background: var(--color-input-bg);
    border: var(--color-input-border);
    border-radius: var(--radius-xl);
    color: var(--color-input-text);
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-normal);
    transition: all var(--transition-base);
    box-sizing: border-box;
    caret-color: var(--color-accent-primary);
}

.form-input:hover {
    background: var(--color-input-bg-hover);
}

.form-input:focus {
    outline: none;
    border: var(--color-input-border-focus);
    background: var(--color-input-bg-focus);
    box-shadow: none;
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

/* Texteria */
.form-textarea {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) calc(var(--spacing-md) + 4px);
    min-height: 120px;
    height: 120px;
    background: var(--color-input-bg);
    border: var(--color-input-border);
    border-radius: var(--radius-xl);
    color: var(--color-input-text);
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-normal);
    transition: all var(--transition-base);
    box-sizing: border-box;
    resize: vertical;
    caret-color: var(--color-accent-primary);
}

.form-textarea:hover {
    background: var(--color-input-bg-hover);
}

.form-textarea:focus {
    outline: none;
    border: var(--color-input-border-focus);
    background: var(--color-input-bg-focus);
    box-shadow: none;
}

.form-textarea::placeholder {
    color: var(--color-text-muted);
}

/* Buttons */
.subscribe-buttons {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: var(--spacing-lg);
    width: 100%;
    height: 44px;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
}

/* Basic buttons - Back */
/* Back button - matching settings.html style */
.subscribe-back-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-2xl);
    gap: var(--spacing-sm);
    width: 109px;
    height: 44px;
    min-height: 44px;
    background: var(--color-bg-button-secondary);
    background: color(display-p3 1.000 1.000 1.000 / 0.08);
    border-radius: var(--radius-full);
    border: none;
    text-decoration: none;
    flex: none;
    order: 0;
    flex-grow: 0;
    cursor: pointer;
    transition: all var(--transition-base);
    align-self: flex-start;
    box-sizing: border-box;
}

.subscribe-back-button:hover {
    background: var(--color-button-secondary-hover);
    background: color(display-p3 1.000 1.000 1.000 / 0.12);
}

.subscribe-back-button:hover .subscribe-back-arrow svg path,
.subscribe-back-button:hover .subscribe-back-arrow-svg path {
    fill: #FFFFFF;
}

.subscribe-back-button:hover .subscribe-back-text {
    color: #FFFFFF;
    color: color(display-p3 1.000 1.000 1.000);
}

/* Light theme styles for back button */
body.light-theme .subscribe-back-button {
    background: rgba(0, 0, 0, 0.05);
    border: none;
}

body.light-theme .subscribe-back-button:hover {
    background: rgba(0, 0, 0, 0.1);
    border: none;
}

body.light-theme .subscribe-back-button .subscribe-back-arrow svg path,
body.light-theme .subscribe-back-button .subscribe-back-arrow-svg path {
    fill: #000000;
}

body.light-theme .subscribe-back-button .subscribe-back-text {
    color: #000000;
}

body.light-theme .subscribe-back-button:hover .subscribe-back-arrow svg path,
body.light-theme .subscribe-back-button:hover .subscribe-back-arrow-svg path {
    fill: #000000;
}

body.light-theme .subscribe-back-button:hover .subscribe-back-text {
    color: #000000;
}

.subscribe-back-arrow {
    width: var(--spacing-lg);
    height: var(--spacing-lg);
    flex: none;
    order: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe-back-arrow svg,
.subscribe-back-arrow-svg {
    display: block;
    width: var(--spacing-lg);
    height: var(--spacing-lg);
    transition: fill var(--transition-base);
}

.subscribe-back-arrow svg path,
.subscribe-back-arrow-svg path {
    fill: var(--color-text-tertiary);
    transition: fill var(--transition-base);
}

.subscribe-back-text {
    width: 34px;
    height: 17px;
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-md);
    line-height: 17px;
    text-align: center;
    color: var(--color-text-tertiary);
    color: color(display-p3 0.502 0.502 0.502);
    flex: none;
    order: 1;
    flex-grow: 0;
    transition: color var(--transition-base);
}

/* Basic buttons - Subscribe */
.subscribe-button {
    width: auto;
    height: 44px;
    min-height: 44px;
    background: var(--color-accent-primary);
    border-radius: var(--radius-full);
    border: none;
    flex: 1;
    order: 1;
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-md);
    line-height: 17px;
    text-align: center;
    color: #FFFFFF !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    box-sizing: border-box;
}

.subscribe-button:hover:not(:disabled) {
    background: var(--color-accent-hover);
    color: #FFFFFF !important;
}

.subscribe-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    color: #FFFFFF !important;
}

.subscribe-button:active {
    color: #FFFFFF !important;
}

/* Light theme: Основные стили для страницы подписки - как в signup.html */
body.light-theme .subscribe-page {
    background: #ffffff;
    color: #000000;
}

body.light-theme .subscribe-title {
    color: #000000;
}

body.light-theme .subscribe-subtitle {
    color: rgba(0, 0, 0, 0.6);
}

body.light-theme .subscribe-logo {
    color: rgba(0, 0, 0, 0.5);
}

body.light-theme .form-label {
    color: #000000;
}

body.light-theme .form-input {
    background: rgb(240, 240, 240);
    border: none;
    color: #000000;
}

body.light-theme .form-input:hover {
    background: rgb(235, 235, 235);
    border: none;
}

body.light-theme .form-input:focus {
    background: rgb(240, 240, 240);
    border: none;
    box-shadow: none;
    outline: none;
}

body.light-theme .form-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

body.light-theme .form-textarea {
    background: rgb(240, 240, 240);
    border: none;
    color: #000000;
}

body.light-theme .form-textarea:hover {
    background: rgb(235, 235, 235);
    border: none;
}

body.light-theme .form-textarea:focus {
    background: rgb(240, 240, 240);
    border: none;
    box-shadow: none;
    outline: none;
}

body.light-theme .form-textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

body.light-theme .subscribe-button {
    background: var(--color-button-primary);
    color: #ffffff !important;
}

body.light-theme .subscribe-button:hover:not(:disabled) {
    background: var(--color-button-primary-hover);
    color: #ffffff !important;
}

body.light-theme .subscribe-button:disabled {
    color: #ffffff !important;
}

/* Light theme styles for back button moved to main .subscribe-back-button block above */

/* Правая часть (изображение) в светлой теме */
body.light-theme .subscribe-image-section {
    background: transparent;
}

body.light-theme .subscribe-image-bg {
    background: rgb(245, 245, 245) !important;
    border: none;
}

body.light-theme .subscribe-image-typing-text {
    color: #000000;
}

body.light-theme .subscribe-image-text {
    color: rgba(0, 0, 0, 0.5) !important;
    opacity: 1 !important;
}

/* Сообщение об успехе в светлой теме */
body.light-theme .success-text-inner {
    color: rgba(0, 0, 0, 0.6);
}

body.light-theme .success-text-inner strong {
    color: #000000;
}

/* Кнопка Go back home в светлой теме */
body.light-theme .subscribe-go-home-button {
    background: var(--color-button-primary);
    color: #ffffff;
}

body.light-theme .subscribe-go-home-button:hover {
    background: var(--color-button-primary-hover);
    color: #ffffff;
}

/* Сообщение об успехе */
.subscribe-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 200px;
    height: auto;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    margin: 0;
    text-align: center;
}


.success-text {
    width: 100%;
    min-height: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.success-text-inner {
    width: 100%;
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-3xl);
    line-height: 40px;
    display: block;
    text-align: center;
    color: var(--color-text-tertiary);
    word-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.success-text-inner strong {
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    word-break: break-all;
    overflow-wrap: anywhere;
}

/* Кнопка Go back home */
.subscribe-go-home-button {
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-2xl);
    gap: var(--spacing-sm);
    width: 100%;
    height: 44px;
    min-height: 44px;
    background: var(--color-bg-button-primary);
    background: color(display-p3 1.000 1.000 1.000);
    border-radius: var(--radius-full);
    border: none;
    text-decoration: none;
    flex: none;
    order: 0;
    flex-grow: 0;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-md);
    line-height: 17px;
    text-align: center;
    color: var(--color-text-inverse);
    color: color(display-p3 0.071 0.071 0.071);
    box-sizing: border-box;
}

.subscribe-go-home-button:hover {
    opacity: 0.9;
}

/* Правая часть - изображение */
.subscribe-image-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: var(--spacing-4xl);
    gap: var(--spacing-sm);
    flex: 1 1 50%;
    height: 100vh;
    min-height: 100vh;
    order: 1;
    align-self: stretch;
    width: 50%;
    max-width: 50%;
    min-width: 0;
    box-sizing: border-box;
    position: relative;
}

.subscribe-image-bg {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 308px var(--spacing-4xl);
    gap: var(--spacing-sm);
    isolation: isolate;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: var(--color-bg-menu);
    border-radius: var(--radius-3xl);
    flex: 1;
    order: 0;
    align-self: stretch;
    position: relative;
    min-height: 0;
    box-sizing: border-box;
}

.subscribe-image-bg > img:not(.subscribe-close-icon) {
    max-width: 408px;
    width: 100%;
    height: auto;
    flex: none;
    order: 0;
    flex-grow: 0;
    z-index: 0;
    object-fit: contain;
}

.subscribe-image-bg > canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: auto;
    cursor: pointer;
    object-fit: contain;
}

.subscribe-image-typing-text {
    position: absolute;
    width: 500px;
    max-width: calc(100% - 40px);
    min-height: 60px;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    top: calc(75% + var(--spacing-4xl));
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: var(--font-weight-normal);
    font-size: calc(var(--font-size-lg) * 2);
    line-height: var(--line-height-relaxed);
    display: block;
    text-align: center;
    color: var(--color-text-primary);
    opacity: 0.9;
    flex: none;
    order: 1;
    flex-grow: 0;
    z-index: 2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 var(--spacing-lg);
}

.subscribe-image-typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 2px;
    background: var(--color-accent-primary);
    animation: blink-cursor 1s infinite;
    vertical-align: baseline;
}

@keyframes blink-cursor {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.subscribe-image-text {
    position: absolute;
    width: 408px;
    max-width: calc(100% - 64px);
    min-height: var(--line-height-md);
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: var(--spacing-5xl);
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-md);
    line-height: var(--line-height-md);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-primary);
    opacity: 0.2;
    flex: none;
    order: 1;
    flex-grow: 0;
    z-index: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    padding: 0 var(--spacing-4xl);
    box-sizing: border-box;
}

/* Сообщение об успехе */
.subscribe-success {
    display: none;
    text-align: center;
    padding: var(--spacing-4xl) var(--spacing-xl);
}

.subscribe-success.show {
    display: block;
}

.success-icon {
    width: var(--spacing-6xl);
    height: var(--spacing-6xl);
    margin: 0 auto var(--spacing-xl);
    border-radius: var(--radius-circle);
    background: rgba(76, 175, 80, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-4xl);
}

.success-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-serif);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
}

.success-message {
    font-size: var(--font-size-lg);
    font-family: var(--font-primary);
    color: var(--color-text-tertiary);
    line-height: var(--line-height-relaxed);
}

.back-link {
    display: inline-block;
    margin-top: var(--spacing-2xl);
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: var(--font-size-md);
    font-family: var(--font-primary);
    transition: color var(--transition-base);
}

.back-link:hover {
    color: var(--color-text-primary);
}

/* Toast Notification */
.subscribe-toast {
    position: fixed;
    top: var(--spacing-2xl);
    right: var(--spacing-2xl);
    min-width: 300px;
    max-width: 400px;
    background: var(--color-error);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.subscribe-toast-show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.subscribe-toast-content {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-xl);
}

.subscribe-toast-icon {
    width: var(--spacing-2xl);
    height: var(--spacing-2xl);
    min-width: var(--spacing-2xl);
    border-radius: var(--radius-circle);
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-inverse);
    flex-shrink: 0;
}

.subscribe-toast-message {
    flex: 1;
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-md);
    color: var(--color-text-inverse);
}

.subscribe-toast-close {
    background: none;
    border: none;
    width: var(--spacing-2xl);
    height: var(--spacing-2xl);
    min-width: var(--spacing-2xl);
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    font-weight: 300;
    font-family: var(--font-primary);
    color: var(--color-text-inverse);
    opacity: 0.8;
    transition: opacity var(--transition-base);
    flex-shrink: 0;
    line-height: 1;
}

.subscribe-toast-close:hover {
    opacity: 1;
}

.subscribe-toast-close:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Адаптивная верстка для toast */
@media (max-width: 768px) {
    .subscribe-toast {
        top: var(--spacing-lg);
        right: var(--spacing-lg);
        left: var(--spacing-lg);
        max-width: none;
        min-width: auto;
    }
}

/* Адаптивная верстка для 1024px */
@media (max-width: 1200px) and (min-width: 980px) {
    .subscribe-form-section {
        padding: var(--spacing-5xl) var(--spacing-4xl);
    }
    
    .subscribe-container {
        max-width: 480px;
    }
    
    .subscribe-image-section {
        flex: 0 0 45%;
        width: 45%;
    }
    
    .subscribe-form-section {
        flex: 0 0 55%;
        width: 55%;
    }
    
    .subscribe-image-bg {
        padding: 120px var(--spacing-3xl) var(--spacing-5xl);
    }
    
    .subscribe-image-bg > canvas {
        width: 350px;
        height: 350px;
        max-width: 100%;
        max-height: 350px;
        top: calc(25% - 60px);
        left: 50%;
        transform: translateX(-50%);
    }
    
    .subscribe-image-typing-text {
        width: 380px;
        max-width: calc(100% - 48px);
        font-size: calc(var(--font-size-lg) * 1.5);
        top: calc(25% + 300px);
    }
}

@media (max-width: 979px) {
    .subscribe-image-section {
        display: none;
    }
    
    .subscribe-form-section {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        padding: var(--spacing-6xl) var(--spacing-4xl);
    }
    
    .subscribe-container {
        max-width: 560px;
        width: 100%;
    }
    
    .subscribe-form-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .subscribe-form {
        width: 100%;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-input,
    .form-textarea {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .subscribe-page {
        min-height: auto;
    }
    
    .subscribe-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .subscribe-form-section {
        width: 100%;
        padding: 40px 24px;
        gap: 32px;
        height: auto;
    }
    
    .subscribe-container {
        width: 100%;
        max-width: 432px;
        gap: 32px;
    }
    
    .subscribe-header {
        width: 100%;
        gap: 32px;
        height: auto;
    }
    
    .subscribe-logo {
        width: 100%;
        height: auto;
    }
    
    .subscribe-title-block {
        width: 100%;
        height: auto;
    }
    
    .subscribe-title {
        width: 100%;
        height: auto;
        font-size: 28px;
        line-height: 38px;
    }
    
    .subscribe-subtitle {
        width: 100%;
        height: auto;
        font-size: var(--font-size-md);
    }
    
    .subscribe-logo {
        font-size: var(--font-size-sm);
    }
    
    .subscribe-form-wrapper {
        width: 100%;
        height: auto;
        gap: 32px;
    }
    
    .subscribe-form {
        width: 100%;
        height: auto;
    }
    
    .form-group {
        width: 100%;
        height: auto;
    }
    
    .form-group:nth-child(3) {
        height: auto;
    }
    
    .form-label {
        width: 100%;
    }
    
    .form-input {
        width: 100%;
    }
    
    .form-textarea {
        width: 100%;
        height: 120px;
    }
    
    .subscribe-buttons {
        width: 100%;
        flex-direction: column;
        gap: 12px;
        height: auto;
    }
    
    .subscribe-back-button {
        width: 100%;
        height: 44px;
        min-height: 44px;
        order: 1;
    }
    
    .subscribe-button {
        width: 100%;
        height: 44px;
        min-height: 44px;
        flex-grow: 0;
        order: 0;
    }
    
    .subscribe-success-message {
        width: 100%;
        height: auto;
        min-height: 200px;
    }
    
    .success-text {
        width: 100%;
        min-height: auto;
        height: auto;
    }
    
    .success-text-inner {
        width: 100%;
        font-size: 18px;
        line-height: 24px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .subscribe-go-home-button {
        width: 100%;
    }
    
    .subscribe-image-section {
        width: 100%;
        height: auto;
        min-height: 400px;
        padding: 24px;
    }
    
    .subscribe-image-bg {
        width: 100%;
        height: auto;
        min-height: 400px;
        padding: 60px 20px;
    }
    
    .subscribe-image-bg > img:not(.subscribe-close-icon) {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    
    .subscribe-image-bg > canvas {
        width: 100%;
        height: 100%;
    }
    
    .subscribe-image-typing-text {
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        left: 50%;
        transform: translateX(-50%);
        top: calc(50% + var(--spacing-4xl));
        font-size: 18px;
        line-height: 24px;
        justify-content: center;
        text-align: center;
        padding: 0 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .subscribe-image-text {
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        left: 50%;
        transform: translateX(-50%);
        bottom: 24px;
        font-size: 12px;
        justify-content: center;
        text-align: center;
        padding: 0 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
}
