/* css/landing.css - Landing page specific styles */

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
    background: linear-gradient(135deg, #fef9f3 0%, #fff 100%);
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23aa336a" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #333 0%, #aa336a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.google-signin-wrapper {
    display: flex;
    justify-content: center;
    min-height: 44px;
}

.cta-text {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-preview {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.code-preview:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.code-header {
    background: #374151;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-header::before {
    content: '';
    display: flex;
    gap: 6px;
}

.code-header::before {
    content: '● ● ●';
    font-size: 12px;
    color: #9ca3af;
}

.code-title {
    color: #f3f4f6;
    font-size: 14px;
    font-weight: 500;
    margin-left: auto;
}

.code-content {
    padding: 24px;
    overflow-x: auto;
}

.code-content code {
    color: #e2e8f0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre;
}

/* ============================================================================
   FEATURES SECTION
   ============================================================================ */
.features {
    padding: 120px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.section-header h3 {
    font-size: 1.5rem;
    color: #aa336a;
    margin-bottom: 16px;
    font-weight: 600;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    background: white;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #aa336a;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* ============================================================================
   HOW IT WORKS SECTION
   ============================================================================ */
.how-it-works {
    padding: 120px 0;
    background: #fafafa;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-top: 60px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #aa336a, #ff0077);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(170, 51, 106, 0.3);
}

.step h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
}

.step p {
    color: #6b7280;
    line-height: 1.6;
}

/* ============================================================================
   FORM TEMPLATES SECTION
   ============================================================================ */
.form-templates {
    padding: 120px 0;
    background: white;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.template-card {
    background: white;
    border: 2px solid #f3f4f6;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.template-card:hover,
.template-card:focus {
    border-color: #aa336a;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(170, 51, 106, 0.15);
    outline: none;
}

.template-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.template-card p {
    font-weight: 500;
    color: #374151;
    margin: 0;
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #aa336a 0%, #ff0077 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    margin-bottom: 16px;
    background: linear-gradient(135deg, #aa336a, #ff0077);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #aa336a;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .features,
    .how-it-works,
    .form-templates,
    .cta {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .steps-grid,
    .templates-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .code-preview {
        transform: none;
        max-width: 100%;
        overflow-x: auto;
    }
    
    .code-preview:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}