/* ============================================
   CALCULATOR AI - MAIN STYLESHEET
   ============================================ */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #4b5563;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
    background: #eff6ff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4b5563;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.2);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: #3b82f6;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #3b82f6;
}

.btn-light {
    background: white;
    color: #3b82f6;
}

.btn-light:hover {
    background: #eff6ff;
}

.btn-full {
    width: 100%;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-card:nth-child(2) {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
}

.feature-card:nth-child(3) {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
}

.feature-card:nth-child(4) {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.feature-card:nth-child(5) {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.feature-card:nth-child(6) {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #4b5563;
    line-height: 1.8;
}

/* ============================================
   SCREENSHOTS SECTION
   ============================================ */
.screenshots {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.screenshot-card {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.screenshot-placeholder {
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    padding: 5rem 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-size: 1.125rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-col p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col a {
    color: #9ca3af;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.copyright {
    font-size: 0.875rem;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto;
}

.last-updated {
    font-size: 0.875rem;
    margin-top: 1rem;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
    padding: 5rem 0;
    background: white;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

.content-wrapper p {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ============================================
   MISSION & VISION
   ============================================ */
.mission-vision {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mv-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mv-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.mv-card p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.8;
}

/* ============================================
   VALUES
   ============================================ */
.values {
    padding: 5rem 0;
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.value-card p {
    color: #4b5563;
    line-height: 1.8;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
}

.team-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.team-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.team-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.team-card p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.8;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-card p,
.contact-card a {
    color: #4b5563;
    word-break: break-all;
}

.contact-card a:hover {
    color: #3b82f6;
}

.business-hours {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
}

.business-hours h3 {
    color: white;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form-wrapper {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
}

.faq-card {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    padding: 2rem;
    border-radius: 12px;
}

.faq-card:nth-child(2) {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
}

.faq-card:nth-child(3) {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
}

.faq-card:nth-child(4) {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.faq-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.faq-card p {
    color: #4b5563;
    line-height: 1.8;
}

/* ============================================
   PRIVACY POLICY
   ============================================ */
.privacy-content {
    padding: 5rem 0;
    background: white;
}

.policy-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.policy-intro {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-bottom: 3rem;
}

.policy-intro p {
    color: #1f2937;
    line-height: 1.8;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.policy-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.policy-section h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: #1f2937;
}

.policy-section p {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-section ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-section li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.policy-note {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1rem;
}

.contact-box {
    background: linear-gradient(135deg, #eff6ff, #faf5ff);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.contact-box p {
    margin-bottom: 0.5rem;
}

.contact-box strong {
    color: #1f2937;
}

.policy-consent {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-top: 3rem;
}

.policy-consent h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.policy-consent p {
    line-height: 1.8;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .screenshots-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
