/* Reset and Base Styles - Updated 2025-07-24 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e40af;
    overflow-x: hidden;
    background: #ffffff;
    min-height: 100vh;
}

/* Container */
.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow: hidden;
}

/* Old CSS grid disabled - now using Canvas */

/* Canvas Retro Grid */
.retro-grid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    animation: backgroundMotion 20s linear infinite;
}

@keyframes backgroundMotion {
    0% {
        transform: scale(1) translateZ(0);
    }
    50% {
        transform: scale(1.02) translateZ(10px);
    }
    100% {
        transform: scale(1) translateZ(0);
    }
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float linear infinite;
}

/* Old building styles removed - now using Canvas */

@keyframes float {
    0% {
        opacity: 0;
        transform: translateY(100vh) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    padding: 0.5rem 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.logo-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.logo-svg {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.brand-text h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    text-shadow: none;
    white-space: nowrap;
    margin: 0;
    line-height: 1.2;
}

.tagline {
    font-size: 0.75rem;
    font-weight: 400;
    color: #6b7280;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
}

/* Main Content */
.content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    position: relative;
    z-index: 10;
}

.hero-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Typography */
.main-title {
    font-size: clamp(1.2rem, 3.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #1e40af;
    white-space: nowrap;
}

.title-primary {
    display: block;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    font-size: 0.9em;
}

.title-secondary {
    display: block;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    font-size: 0.8em;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: #eff6ff;
    border: 1px solid #3b82f6;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #1e40af;
    font-size: 0.875rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Features Preview */
.features-preview {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 1rem 0.75rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

/* Border beam effect */
.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: #f8fafc;
    border-color: #3b82f6;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    color: #3b82f6;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.2));
    position: relative;
    z-index: 2;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-item span {
    color: #1e40af;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Sales Process Section */
.sales-process-section {
    margin: 1rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
}

.process-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.step-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1e40af;
    font-family: 'Inter', monospace;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.moving-progress-container {
    width: 100%;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    border: 1px solid #d1d5db;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 2s ease-out;
    position: relative;
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: progressShine 2s ease-in-out infinite;
}

.moving-icon {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #3b82f6;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: left 2s ease-out;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.moving-icon svg {
    width: 10px;
    height: 10px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

@keyframes progressShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.animated-beam {
    position: absolute;
    right: -10px;
    top: 50%;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translateY(-50%);
}

.animated-beam::before {
    content: '';
    position: absolute;
    right: -8px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 8px solid #1d4ed8;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

@keyframes beamPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(-50%) scaleX(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scaleX(1.2);
    }
}

/* Contact Section */
.contact-section {
    margin: 0;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.contact-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Request Form Container */
.request-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Animated shine border effect */
.shine-border-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(251, 191, 36, 0.6),
        transparent,
        rgba(251, 191, 36, 0.6),
        transparent
    );
    background-size: 300% 300%;
    border-radius: 20px;
    animation: shineRotate 3s linear infinite;
    z-index: -1;
}

@keyframes shineRotate {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.form-title {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1.4;
}

.form-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.4;
}

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

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
}

.form-group.full-width textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group {
    position: relative;
}


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    font-size: 0.875rem;
}

.form-group select option {
    background: #ffffff;
    color: #1f2937;
    padding: 0.5rem;
}

.submit-btn {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-arrow {
    transition: transform 0.2s ease;
}

.shine-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transition: left 0.6s ease;
    z-index: 1;
}

.shine-submit-btn:hover::before {
    left: 100%;
}

.shine-submit-btn > * {
    position: relative;
    z-index: 2;
}

.submit-btn:hover {
    background: #2563eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.submit-btn:hover .btn-arrow {
    transform: translateX(3px);
}

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

.submit-btn:active {
    transform: translateY(1px);
}

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

.shine-submit-btn.loading {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.shine-submit-btn.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.shine-submit-btn.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.shine-submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Footer */
footer {
    position: relative;
    z-index: 10;
    padding: 1.5rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.footer-content p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.social-links span {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 1rem 0;
        justify-content: center;
    }
    
    .logo-link {
        gap: 0.75rem;
    }
    
    .logo-svg {
        width: 56px;
        height: 56px;
    }
    
    .brand-text h1 {
        font-size: 1.25rem;
    }
    
    .tagline {
        font-size: 0.7rem;
    }
    
    .content {
        padding: 0.5rem 1rem;
    }
    
    .features-preview {
        gap: 0.75rem;
    }
    
    .feature-item {
        min-width: 100px;
        padding: 0.875rem 0.625rem;
    }
    
    .sales-process-section {
        margin: 1rem 0;
        padding: 0.875rem;
    }
    
    .process-title {
        font-size: 1.2rem;
        margin-bottom: 0.875rem;
    }
    
    .process-step {
        gap: 0.5rem;
        padding: 0.625rem 0.75rem;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .step-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .step-metric {
        font-size: 1rem;
    }
    
    .progress-container {
        width: 100px;
        height: 6px;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .request-form-container {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .form-title {
        font-size: 1.125rem;
    }
    
    .form-subtitle {
        font-size: 0.8125rem;
    }
    
    .form-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .submit-btn {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.5rem 0.5rem 0;
    }
    
    .logo-link {
        gap: 0.5rem;
    }
    
    .logo-svg {
        width: 48px;
        height: 48px;
    }
    
    .brand-text h1 {
        font-size: 1.125rem;
    }
    
    .tagline {
        font-size: 0.65rem;
    }
    
    .features-preview {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        width: 100%;
        max-width: 220px;
    }
    
    .sales-process-section {
        padding: 0.625rem;
        margin: 0.75rem 0;
    }
    
    .process-title {
        font-size: 1rem;
        margin-bottom: 0.625rem;
    }
    
    .process-step {
        gap: 0.375rem;
        padding: 0.5rem 0.625rem;
    }
    
    .step-content {
        flex-direction: column;
        gap: 0.375rem;
    }
    
    .progress-container {
        width: 80px;
        height: 6px;
    }
    
    .animated-beam {
        display: none;
    }
    
    .request-form-container {
        padding: 1rem;
        margin: 0 0.25rem;
    }
    
    .form-title {
        font-size: 1rem;
    }
    
    .form-subtitle {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .request-form {
        gap: 0.75rem;
    }
    
    
    .contact-form {
        gap: 0.625rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0.625rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.5rem 0.625rem;
        font-size: 0.8rem;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-section > *:nth-child(1) { animation-delay: 0.1s; }
.hero-section > *:nth-child(2) { animation-delay: 0.2s; }
.hero-section > *:nth-child(3) { animation-delay: 0.3s; }
.hero-section > *:nth-child(4) { animation-delay: 0.4s; }
.hero-section > *:nth-child(5) { animation-delay: 0.5s; }