/* ===================================
   InPark - Apple-like Emotional Design
   =================================== */

:root {
    /* Colors */
    --black: #000000;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F7;
    --gray-200: #E8E8ED;
    --gray-400: #86868B;
    --gray-600: #6E6E73;
    --gray-800: #1D1D1F;
    
    --green: #10B981;
    --green-light: #34D399;
    --green-dark: #059669;
    --gradient: linear-gradient(135deg, #34D399 0%, #10B981 50%, #059669 100%);
    
    /* Typography */
    --font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    
    /* Spacing */
    --section-spacing: 160px;
    --container: 1120px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--gray-800);
    font-size: 17px;
    line-height: 1.5;
    overflow-x: hidden;
}

::selection {
    background: var(--green);
    color: white;
}

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

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
.headline-hero {
    font-size: clamp(48px, 8vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--gray-800);
}

.headline-lg {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--gray-800);
}

.headline-md {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.headline-sm {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.text-lg {
    font-size: 21px;
    line-height: 1.5;
    color: var(--gray-600);
}

.text-md {
    font-size: 17px;
    line-height: 1.5;
    color: var(--gray-600);
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    height: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    color: var(--gray-800);
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-cta {
    font-size: 14px;
    font-weight: 500;
    color: white;
    background: var(--black);
    padding: 8px 16px;
    border-radius: 980px;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--gray-800);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gray-800);
    transition: all 0.3s;
}

.nav-toggle span:first-child { top: 6px; }
.nav-toggle span:last-child { bottom: 6px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 980px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 30px rgba(16, 185, 129, 0.5);
}

.btn-dark {
    background: var(--black);
    color: white;
}

.btn-dark:hover {
    background: var(--gray-800);
}

.btn-outline {
    background: transparent;
    color: var(--gray-800);
    border: 1.5px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--gray-800);
}

.btn-link {
    background: none;
    padding: 0;
    color: var(--green);
    font-weight: 500;
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Sections */
.section {
    padding: var(--section-spacing) 0;
}

.section-gray {
    background: var(--gray-100);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-dark .headline-lg,
.section-dark .headline-md,
.section-dark .headline-sm {
    color: var(--white);
}

.section-dark .text-lg,
.section-dark .text-md {
    color: rgba(255,255,255,0.7);
}

/* ==================
   HERO
   ================== */
.hero {
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 0;
}

.hero .container {
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
}

.hero-content {
    padding-bottom: 80px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--green);
    margin-bottom: 24px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 980px;
}

.hero-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    align-self: end;
}

.hero-phone {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
}

/* ==================
   PAIN SECTION
   ================== */
.pain {
    background: var(--gray-100);
}

.pain-header {
    text-align: center;
    margin-bottom: 80px;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pain-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.3s;
}

.pain-card:hover {
    transform: translateY(-4px);
}

.pain-icon {
    width: 64px;
    height: 64px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EF4444;
    margin: 0 auto 20px;
}

.pain-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.pain-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ==================
   SOLUTION
   ================== */
.solution-header {
    text-align: center;
    margin-bottom: 100px;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.solution-visual {
    position: relative;
}

.solution-phone {
    width: 100%;
    margin: 0 auto;
}

.solution-content {
    max-width: 480px;
}

.solution-step {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.solution-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.step-content h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ==================
   SOCIAL PROOF
   ================== */
.proof {
    background: var(--gray-100);
    overflow: hidden;
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    margin-bottom: 80px;
}

.stat-value {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: var(--gray-600);
}

.proof-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s;
}

.testimonial:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: white;
}

.testimonial-name {
    font-weight: 500;
    font-size: 15px;
    color: var(--gray-800);
}

.testimonial-role {
    font-size: 13px;
    color: var(--gray-600);
}

/* ==================
   OWNERS SECTION
   ================== */
.owners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.owners-content {
    max-width: 500px;
}

.owners-eyebrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.owners-title {
    margin-bottom: 24px;
}

.owners-text {
    margin-bottom: 40px;
}

.owners-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.feature-text h5 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 15px;
    color: var(--gray-600);
}

.owners-visual {
    position: relative;
}

.owners-image {
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

/* ==================
   BUSINESS SECTION
   ================== */
.business {
    background: var(--gray-100);
}

.business-header {
    text-align: center;
    margin-bottom: 80px;
}

.business-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.business-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
}

.business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.business-card-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.business-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.business-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

.business-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: 16px;
}

.flow-number {
    width: 36px;
    height: 36px;
    background: var(--black);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.flow-text {
    font-size: 15px;
    font-weight: 500;
}

.flow-arrow {
    color: var(--gray-400);
    font-size: 20px;
}

/* ==================
   CTA SECTION
   ================== */
.cta {
    background: var(--gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta .headline-md {
    color: white;
    margin-bottom: 16px;
}

.cta .text-lg {
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--gray-800);
}

.btn-white:hover {
    background: var(--gray-100);
}

.btn-ghost {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

/* ==================
   CONTACT
   ================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 48px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-200);
}

.contact-item:first-of-type {
    border-top: 1px solid var(--gray-200);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-label {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 17px;
    font-weight: 500;
}

.contact-value a:hover {
    color: var(--green);
}

.contact-form {
    background: var(--gray-100);
    padding: 48px;
    border-radius: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--gradient);
    color: white;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(16, 185, 129, 0.5);
}

/* ==================
   FOOTER
   ================== */
.footer {
    background: var(--gray-100);
    padding: 60px 0 40px;
    border-top: 1px solid var(--gray-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--gray-600);
    font-size: 15px;
    margin-top: 16px;
    max-width: 280px;
}

.footer-col h5 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
}

.footer-col a {
    font-size: 15px;
    color: var(--gray-600);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    font-size: 14px;
    color: var(--gray-600);
}

/* ==================
   ANIMATIONS
   ================== */
[data-aos] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-in"] {
    transform: none;
}

/* ==================
   RESPONSIVE
   ================== */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 100px;
    }
    
    .solution-grid,
    .owners-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .solution-visual {
        order: -1;
    }
    
    .proof-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .proof-testimonials {
        grid-template-columns: 1fr;
    }
    
    .business-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-links.active {
        display: flex !important;
        position: fixed;
        top: 52px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100vh - 52px);
        background: #FFFFFF;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 60px 24px;
        gap: 32px;
        z-index: 9999;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    }
    
    .nav-links.active li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links.active a {
        font-size: 22px;
        font-weight: 600;
        color: #1D1D1F;
        opacity: 1;
        display: block;
        padding: 12px 0;
    }
    
    .hero {
        min-height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 100px 0 40px;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        display: flex;
        justify-content: center;
    }
    
    .hero-phone {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .pain-grid {
        grid-template-columns: 1fr;
    }
    
    .proof-stats {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .business-cards {
        grid-template-columns: 1fr;
    }
    
    .business-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 32px 24px;
    }
    
    .stat-value {
        font-size: 40px;
    }
}
