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

:root {
    --color-white: #ffffff;
    --color-dark: #020202;
    --color-teal: #4fb8b2;
    --color-gray: rgba(255, 255, 255, 0.6);
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--color-white);
    height: 100vh;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #000;
}

/* Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    padding: 40px 0 20px;
    flex-shrink: 0;
}

.logo {
    height: 17px;
    width: auto;
}

/* Main */
.main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 40px;
    min-height: 0;
}

.content {
    flex: 1;
    max-width: 700px;
}

/* Typography */
.title {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-gray);
    margin-bottom: 57px;
}

/* Inline Form */
.inline-form {
    display: flex;
    align-items: center;
    gap: 20px;
}

.inline-input {
    width: 229px;
    height: 50px;
    padding: 0 20px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    color: var(--color-white);
    outline: none;
    transition: all 0.2s ease;
}

.inline-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.inline-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.inline-btn {
    height: 50px;
    padding: 0 25px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-family);
    background: var(--color-white);
    color: var(--color-dark);
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.inline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.inline-btn:active {
    transform: translateY(0);
}

.inline-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Phone */
.phone-wrapper {
    flex-shrink: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.phone-image {
    max-width: 380px;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.4));
}

/* Toast */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(30, 50, 60, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--color-white);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1001;
}

.toast.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

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

    .title {
        font-size: 3.25rem;
    }

    .phone-image {
        max-width: 320px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 40px;
    }

    .main {
        flex-direction: column;
        text-align: center;
        padding-bottom: 20px;
        justify-content: center;
        gap: 30px;
    }

    .content {
        max-width: 100%;
        order: 1;
        flex-shrink: 0;
    }

    .phone-wrapper {
        order: 0;
        flex-shrink: 1;
        min-height: 0;
    }

    .phone-image {
        max-width: 280px;
        max-height: 40vh;
    }

    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        margin-bottom: 32px;
    }

    .subtitle br {
        display: none;
    }

    .inline-form {
        justify-content: center;
    }
}

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

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

    .title {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .subtitle {
        font-size: 0.9375rem;
        margin-bottom: 24px;
    }

    .phone-image {
        max-width: 220px;
        max-height: 35vh;
    }

    .main {
        gap: 20px;
    }

    .inline-form {
        flex-direction: column;
        width: 100%;
    }

    .inline-input {
        width: 100%;
        max-width: 300px;
    }

    .inline-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 16px 0 8px;
    }

    .title {
        font-size: 1.625rem;
        margin-bottom: 12px;
    }

    .subtitle {
        font-size: 0.875rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .phone-image {
        max-width: 180px;
        max-height: 30vh;
    }

    .main {
        gap: 16px;
    }

    .inline-input,
    .inline-btn {
        max-width: 100%;
    }

    .toast {
        left: 20px;
        right: 20px;
        transform: translateX(0) translateY(100px);
        width: auto;
    }

    .toast.active {
        transform: translateX(0) translateY(0);
    }
}

/* Prevent layout shift */
.desktop-break {
    display: inline;
}

@media (max-width: 768px) {
    .desktop-break {
        display: none;
    }
}