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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(45, 55, 72, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-logo {
    width: 2.25rem;
    height: 2.25rem;
    background: #e07830;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.header-logo svg {
    width: 1.25rem;
    height: 1.25rem;
}

.header-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: #fff;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.header-link:hover {
    color: #fff;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    background: #e07830;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.header-btn:hover {
    background: rgba(224, 120, 48, 0.9);
}

@media (max-width: 480px) {
    .header-link {
        display: none;
    }

    .site-header {
        padding: 0.75rem 1rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(to bottom right, #eda04a, #e07335, #4a5568, #2d3748);
    padding: 4rem 1rem;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero {
        padding: 6rem 1rem;
    }
}

.hero-content {
    max-width: 42rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 96px;
    height: 96px;
    margin-bottom: 2rem;
    border-radius: 50%;
    box-shadow: 0 0 0 4px white, 0 25px 50px -12px rgba(0,0,0,0.25);
    object-fit: cover;
}

@media (min-width: 768px) {
    .logo {
        width: 128px;
        height: 128px;
    }
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .subtitle {
        font-size: 1.875rem;
    }
}

.description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 42rem;
    margin-bottom: 3rem;
    line-height: 1.625;
}

.description strong {
    color: #fff;
    font-weight: 600;
}

.description .desc-break {
    display: block;
    margin-top: 0.75rem;
}

.description .highlight {
    background: #fcd34d;
    color: #000;
    font-style: normal;
    font-weight: 700;
    padding: 0.1em 0.3em;
    border-radius: 3px;
}

.description .highlight-white {
    color: #fff;
    font-weight: 700;
}

@media (min-width: 768px) {
    .description {
        font-size: 1.25rem;
    }
}

/* Signup Card */
.signup-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 1.5rem;
    color: #333;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 28rem;
}

.signup-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.signup-form input {
    height: 3rem;
    padding: 0 0.75rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.signup-form input:focus {
    border-color: hsl(200, 80%, 35%);
    box-shadow: 0 0 0 2px hsl(200, 80%, 35%, 0.2);
}

.signup-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    width: 100%;
    height: 3rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: #e07830;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.signup-form button:hover {
    background: rgba(224, 120, 48, 0.9);
}

.signup-form button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e07830;
}

.form-note {
    font-size: 0.875rem;
    color: #666;
    margin-top: 1rem;
}

.requirements-tooltip {
    position: relative;
    color: #e07830;
    cursor: pointer;
    border-bottom: 1px dotted #e07830;
    margin-left: 0.25rem;
}

.tooltip-text {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    margin-bottom: 6px;
    z-index: 10;
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1a1a2e;
}

.requirements-tooltip:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

.success-message {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e07830;
    padding: 1rem 0;
}

/* Prompt Card */
.prompt-card {
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 1.5rem;
    padding: 1rem;
    width: 100%;
    max-width: 35rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.prompt-text-area {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    color: #fff;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    line-height: 1.6;
    text-align: left;
}

.prompt-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.25rem 0.25rem;
    border-top: 1px solid #404040;
    margin-top: 0.5rem;
}

.prompt-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.prompt-btn-plus {
    background: transparent;
    color: #888;
}

.prompt-btn-plus:hover {
    background: #404040;
    color: #fff;
}

.prompt-btn-send {
    background: #e07830;
    color: #fff;
}

.prompt-btn-send:hover {
    background: #c96a28;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1rem;
    background: #e07830;
    margin-left: 1px;
    animation: blink 0.8s infinite;
    vertical-align: text-bottom;
}

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

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
    background: #e07830;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(224, 120, 48, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: rgba(224, 120, 48, 0.9);
    box-shadow: 0 20px 25px -5px rgba(224, 120, 48, 0.4);
    transform: translateY(-2px);
}

.cta-button svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Signup Section */
.signup-section {
    padding: 4rem 0;
    background: #f3f4f6;
}

@media (min-width: 768px) {
    .signup-section {
        padding: 6rem 0;
    }
}

.signup-section .signup-card {
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: #fff;
}

@media (min-width: 768px) {
    .features {
        padding: 6rem 0;
    }
}

.features h2,
.why h2,
.requirements h2 {
    text-align: center;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

@media (min-width: 768px) {
    .features h2,
    .why h2,
    .requirements h2 {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 60rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
}

.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

.feature-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    padding: 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-primary {
    background: rgba(224, 120, 48, 0.1);
    color: #e07830;
}

.feature-icon-accent {
    background: rgba(224, 120, 48, 0.1);
    color: #e07830;
}

.icon-svg-sm {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Why Section */
.why {
    padding: 4rem 0;
    background: #f3f4f6;
}

@media (min-width: 768px) {
    .why {
        padding: 6rem 0;
    }
}

.why h2 {
    margin-bottom: 3rem;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-card {
    text-align: center;
}

.why-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.why-icon-primary {
    background: rgba(224, 120, 48, 0.1);
    color: #e07830;
}

.why-icon-accent {
    background: rgba(224, 120, 48, 0.1);
    color: #e07830;
}

.why-icon .icon-svg {
    width: 2rem;
    height: 2rem;
}

.why-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.why-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Requirements Section */
.requirements {
    padding: 4rem 0;
    background: #fff;
}

@media (min-width: 768px) {
    .requirements {
        padding: 6rem 0;
    }
}

.requirements h2 {
    margin-bottom: 3rem;
}

.requirements-list {
    max-width: 42rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}

.requirement-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.requirement-icon-orange {
    color: #e07830;
}

.requirement-item p {
    color: #1a1a2e;
    font-size: 1rem;
    margin: 0;
}

/* How It Works */
.how-it-works {
    padding: 5rem 1rem;
    background: #f8f9fa;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 3rem;
}

.flow-diagram {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.flow-item {
    flex: 1;
    text-align: center;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.flow-icon-ai {
    background: linear-gradient(135deg, #d4a574 0%, #c4956a 100%);
    color: white;
}

.flow-icon-cloud {
    background: linear-gradient(135deg, #e07830 0%, #d06820 100%);
    color: white;
}

.flow-icon-phone {
    background: linear-gradient(135deg, #2d3748 0%, #1a1a2e 100%);
    color: white;
}

.flow-item h3 {
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-item p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    flex: 1;
}

.flow-arrow {
    color: #cbd5e1;
    flex-shrink: 0;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .flow-diagram {
        flex-direction: column;
        gap: 0.5rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .flow-item {
        max-width: 250px;
    }

    .flow-item h3 {
        min-height: auto;
    }
}

/* Footer */
footer {
    background: #1a1a2e;
    padding: 3rem 1rem;
    text-align: center;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-tagline a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-tagline a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .features,
    .why,
    .requirements {
        padding: 3rem 0;
    }

    .features h2,
    .why h2,
    .requirements h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}
