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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fafafa;
    position: relative;
    overflow-x: hidden;
}

/* Subtle Grid Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(0,0,0,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.015) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    background: #fff;
    min-height: 100vh;
    box-shadow: 0 0 60px rgba(0,0,0,0.08);
}

/* Header */
.header {
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}

.logo {
    font-family: 'Vollkorn', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.logo-tagline {
    color: #666;
    font-style: italic;
    font-size: 1rem;
    font-weight: 300;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Intro Section */
.intro-section {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 1rem 0;
}

.intro-section p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Simple Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 1.5rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 300;
}

/* Clean Service Cards */
.services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    border-color: #e0e0e0;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.service-header {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.4rem 0;
    color: #666;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.2rem;
    line-height: 1.5;
}

.feature-list li:before {
    content: "•";
    color: #000;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Buttons */
.btn-primary {
    background: #000;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
}

.btn-send {
    background: #000;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-send:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background: transparent;
    color: #666;
    border: 1px solid #e0e0e0;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background: #f8f8f8;
    border-color: #ccc;
    color: #333;
}

.back-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 1rem;
    cursor: pointer;
    padding: 1rem 0;
    margin-bottom: 2rem;
    transition: color 0.2s ease;
}

.back-btn:hover {
    color: #000;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    animation: fadeIn 0.3s ease;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    display: none;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #000;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #f0f0f0;
    color: #000;
}

/* Typeform Modal Styles */
.typeform-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fafafa;
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.typeform-content {
    width: 100%;
    max-width: 700px;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    color: #1a1a1a;
    position: relative;
    background: #fff;
    margin: 0 auto;
    box-shadow: 0 0 60px rgba(0,0,0,0.08);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.typeform-progress {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #000;
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 14.3%;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
    white-space: nowrap;
    font-weight: 300;
}

.typeform-close {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.typeform-close:hover {
    background: rgba(255, 255, 255, 1);
    color: #000;
    border-color: #ccc;
}

.typeform-step {
    display: none;
    flex: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: slideInUp 0.5s ease;
    padding: 4rem 0;
}

.typeform-step.active {
    display: flex;
    flex-direction: column;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-content {
    margin-bottom: 3rem;
}

.question-content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #000;
    letter-spacing: -0.02em;
}

.required {
    color: #ff6b6b;
}

.question-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.5;
}

.typeform-input, .typeform-textarea {
    background: transparent;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    color: #1a1a1a;
    font-size: 1.6rem;
    padding: 1rem 0;
    width: 100%;
    max-width: 500px;
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
}

.typeform-input:focus, .typeform-textarea:focus {
    outline: none;
    border-bottom-color: #000;
    transform: scale(1.02);
}

.typeform-input::placeholder, .typeform-textarea::placeholder {
    color: #999;
}

.typeform-textarea {
    resize: none;
    min-height: 120px;
    text-align: left;
    font-family: inherit;
    line-height: 1.6;
}

.typeform-options {
    display: grid;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.typeform-option {
    background: #fff;
    border: 1px solid #f0f0f0;
    color: #1a1a1a;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.typeform-option:hover {
    border-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.typeform-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.typeform-back {
    background: none;
    border: none;
    color: #666;
    font-size: 1rem;
    cursor: pointer;
    padding: 1rem;
    transition: color 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.typeform-back:hover {
    color: #000;
}

.typeform-next, .typeform-submit {
    background: #000;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.01em;
}

.typeform-next:hover, .typeform-submit:hover {
    background: #333;
    transform: translateY(-2px);
}

.typeform-submit {
    background: #000;
    color: #fff;
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

.key-hint {
    font-size: 0.9rem;
    color: #999;
    font-weight: 300;
}

/* Enhanced Success Modal */
.success-modal-content {
    max-width: 650px;
    padding: 3rem;
}

.success-content {
    text-align: center;
}

.success-icon {
    margin-bottom: 1.5rem;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.success-content h2 {
    color: #000;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    line-height: 1.3;
    font-weight: 600;
}

.success-main {
    color: #555;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.delivery-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.delivery-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.delivery-item:last-child {
    margin-bottom: 0;
}

.delivery-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.delivery-item strong {
    display: block;
    color: #000;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.delivery-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.next-steps {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.next-steps h3 {
    color: #000;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.next-steps ol {
    color: #555;
    margin-left: 1.2rem;
    line-height: 1.6;
}

.next-steps li {
    margin-bottom: 0.5rem;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

/* Modal animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.9);
    }
    to { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Forms */
.clean-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #000;
    font-size: 1rem;
    line-height: 1.4;
}

.clean-form input,
.clean-form select,
.clean-form textarea {
    padding: 1rem 1.25rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fff;
    line-height: 1.5;
}

.clean-form input:focus,
.clean-form select:focus,
.clean-form textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.clean-form textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

/* Chat */
.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}

.chat-message {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #f0f0f0;
}

.chat-message.user-message {
    background: #000;
    color: #fff;
    text-align: right;
    margin-left: 2rem;
    border: none;
}

.chat-message.ai-message {
    background: #f0f0f0;
    color: #333;
    margin-right: 2rem;
}

.chat-message.typing {
    opacity: 0.7;
    font-style: italic;
}

.chat-message p {
    color: inherit;
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

.chat-input-container {
    display: grid;
    gap: 1.5rem;
}

.chat-input {
    display: flex;
    gap: 1rem;
}

.chat-input input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
}

.chat-input input:focus {
    outline: none;
    border-color: #000;
}

.chat-session-status {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin: 1rem 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .services {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .chat-input {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header {
        padding: 1.5rem 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .intro-section {
        margin-bottom: 2rem;
        padding: 0.5rem 0;
    }
    
    .hero {
        margin-bottom: 1.5rem;
    }
    
    .stats {
        margin-bottom: 2rem;
    }
    
    /* Mobile Typeform Adjustments */
    .typeform-content {
        padding: 1rem;
    }
    
    .question-content h2 {
        font-size: 1.8rem;
    }
    
    .typeform-input {
        font-size: 1.4rem;
    }
    
    .typeform-progress {
        top: 1rem;
        left: 1rem;
        right: 1rem;
    }
    
    .typeform-close {
        bottom: 1rem;
        right: 1rem;
    }
    
    .typeform-step {
        padding: 2rem 0;
    }
    
    .typeform-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Mobile Success Modal Adjustments */
    .success-modal-content {
        padding: 2rem 1.5rem;
    }
    
    .success-content h2 {
        font-size: 1.5rem;
    }
    
    .delivery-info {
        padding: 1.5rem;
    }
    
    .success-actions {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .modal-content {
        padding: 1.5rem 1rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .stats {
        gap: 1.5rem;
    }
}
