/* ============================================
   THE AI BREAK LANDING PAGE STYLES
   ============================================ */

/* CSS Variables */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #1a1a1a;
    --text-secondary: #6c757d;
    --accent-color: #FF8C42;
    --accent-hover: #ff7b29;
    --success-color: #4CAF50;
    --error-color: #ef4444;
    --border-color: #dee2e6;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
    padding: 20px 0 5px;
    text-align: left;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-image {
    height: 60px;
    width: auto;
}

/* Hero Section */
.hero {
    padding-bottom: 15px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 20px;
}

.hero-text {
    max-width: 100%;
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    position: sticky;
    top: 0px;
    margin-top: -50px;
}

.phone-mockup {
    width: 100%;
    max-width: 360px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.highlight {
    position: relative;
    display: inline-block;
    color: var(--text-primary);
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 16px;
    background: linear-gradient(120deg, #FFE066 0%, #FFEB99 100%);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.6;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 400;
}

/* Benefits Section */
.benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    max-width: 100%;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    transition: none;
}

.benefit-item:hover {
    transform: none;
    box-shadow: none;
}

.benefit-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.benefit-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Subscription Section */
.subscription-section {
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.subscribe-form {
    margin-bottom: 0px;
}

.form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 4px;
    max-width: 700px;
}

#emailInput {
    flex: 1;
    padding: 14px 20px;
    font-size: 1rem;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.2s ease;
}

#emailInput::placeholder {
    color: var(--text-secondary);
}

#emailInput:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 140, 66, 0.1);
}

.btn-subscribe {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.btn-subscribe:hover:not(:disabled) {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 140, 66, 0.3);
}

.btn-subscribe:active:not(:disabled) {
    transform: translateY(0);
}

.btn-subscribe:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-message {
    min-height: 24px;
    font-size: 0.875rem;
    text-align: left;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    max-width: 700px;
}

.form-message.success {
    color: var(--success-color);
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.form-message.error {
    color: var(--error-color);
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-message.show {
    animation: fadeIn 0.3s ease;
}

.form-subtext {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 700px;
    margin: 8px 0 0 0;
}

/* Social Proof */
.social-proof {
    margin-bottom: 15px;
}

.avatars {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 12px;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating {
    text-align: left;
}

.stars {
    font-size: 16px;
    margin-bottom: 6px;
    color: #FFD700;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Companies Section */
.companies {
    padding: 15px 0 15px;
    border-top: 1px solid var(--border-color);
}

.companies-title {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 500;
}

.company-logos {
    display: flex;
    justify-content: center;
    align-items: center;
}

.companies-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    opacity: 0.5;
    transition: none;
}

.companies-image:hover {
    opacity: 0.5;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--accent-color);
}

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

@keyframes celebrationPop {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 20px 40px;
    }

    .hero-content {
        gap: 50px;
    }

    .hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 20px 30px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-image {
        justify-content: center;
    }

    .phone-mockup {
        max-width: 300px;
    }

    .benefits {
        max-width: 100%;
    }

    .subscription-section {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .header {
        padding: 25px 0 30px;
        text-align: center;
    }

    .logo {
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .form-group {
        flex-direction: column;
    }

    .btn-subscribe {
        width: 100%;
    }

    .benefits {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .companies-image {
        max-width: 100%;
    }

    .avatars {
        transform: scale(0.9);
    }

    .logo-image {
        height: 50px;
    }

    .subscription-section,
    .social-proof,
    .companies-title,
    .company-logos {
        text-align: center;
    }

    .avatars {
        justify-content: center;
    }

    .rating {
        text-align: center;
    }

    .company-logos {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .container {
        padding: 16px;
    }

    .header {
        padding: 24px 0 40px;
    }

    .highlight::after {
        height: 12px;
        bottom: 4px;
    }

    .phone-mockup {
        max-width: 250px;
    }

    .logo-image {
        height: 50px;
    }
}
