/* Potts Technology Services - Modern One-Page Website */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    color: #1a1a2e;
    line-height: 1.7;
    background: #ffffff;
    overflow-x: hidden;
    font-size: 16px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04);
    padding: 0.75rem 0;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1e293b;
    text-decoration: none;
}

.logo-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav.scrolled .logo-img {
    width: 70px;
    height: 70px;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #0d9488;
}

.nav-btn {
    padding: 0.6rem 1.4rem;
    background: #f97316;
    color: #fff;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.nav-btn:hover {
    background: #ea580c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #1a1a2e;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 7rem 2rem 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13, 148, 136, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(249, 115, 22, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: #f97316;
    color: #fff;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #ea580c;
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: transparent;
    color: #1a1a2e;
    border: 2px solid #0d9488;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #0d9488;
    color: #fff;
    transform: translateY(-2px);
}

/* Grid lines decoration */
.hero-grid {
    position: absolute;
    top: 50%;
    right: -5%;
    width: 500px;
    height: 500px;
    transform: translateY(-50%);
    opacity: 0.3;
    pointer-events: none;
}

.hero-grid-line {
    position: absolute;
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.3) 0%, transparent 100%);
}

/* Sections */
.section {
    padding: 5rem 2rem;
    position: relative;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #1a1a2e;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    max-width: 600px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.1);
    border-color: rgba(13, 148, 136, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #f97316);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(249, 115, 22, 0.06));
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #0d9488;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
}

/* Stats */
.stats-section {
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

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

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.stat-number span {
    color: #0d9488;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 450;
}

/* Process / How it Works */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.process-card {
    padding: 2.5rem 2rem;
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.process-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.4), rgba(13, 148, 136, 0.05));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.process-card h3 {
    font-size: 1.2rem;
    font-weight: 650;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.process-card p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    padding: 2.5rem;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    background: #fff;
    border-color: #0d9488;
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.12);
    transform: scale(1.02);
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #0d9488;
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-tier {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.pricing-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #94a3b8;
}

.pricing-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0.75rem 0 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #475569;
}

.pricing-features li svg {
    flex-shrink: 0;
    color: #10b981;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 0.85rem;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pricing-btn-primary {
    background: #f97316;
    color: #fff;
}

.pricing-btn-primary:hover {
    background: #ea580c;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.35);
    transform: translateY(-1px);
}

.pricing-btn-secondary {
    background: #f8fafc;
    border: 2px solid #0d9488;
    color: #0d9488;
    font-weight: 600;
}

.pricing-btn-secondary:hover {
    background: #0d9488;
    color: #fff;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #64748b;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

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

.contact-item-icon {
    width: 40px;
    height: 40px;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.9rem;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.contact-item p {
    font-size: 0.85rem;
    color: #64748b;
}

.contact-form {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 2.5rem;
}

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

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #1e293b;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0d9488;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-submit {
    width: 100%;
    padding: 0.9rem;
    background: #f97316;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 0.02em;
}

.form-submit:hover {
    background: #ea580c;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
    transform: translateY(-1px);
}

/* Footer */
.footer {
    border-top: 1px solid #f1f5f9;
    padding: 4rem 2rem 2rem;
    background: #f8fafc;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #64748b;
    max-width: 280px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.65rem;
}

.footer-col a {
    font-size: 0.85rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #0d9488;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom span {
    font-size: 0.8rem;
    color: #94a3b8;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(13, 148, 136, 0.08);
    border-color: #0d9488;
    color: #0d9488;
}


/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-btn {
        display: none;
    }

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

    .hero h1 {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

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

    .section {
        padding: 3.5rem 1.5rem;
    }

    .features-grid,
    .pricing-grid,
    .process-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-grid {
        display: none;
    }
}
