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

:root {
    /* SapioChain Brand Colors */
    --primary-blue: #3B5FDE;
    --secondary-green: #22C55E;
    --accent-teal: #14B8A6;
    --light-blue: #EFF6FF;
    --dark-blue: #1E3A8A;

    /* Supporting colors */
    --bg-light: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-300: #D1D5DB;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #1F2937;
    --white: #FFFFFF;
    --black: #000000;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-image {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 95, 222, 0.3);
}

.btn-success {
    background: var(--secondary-green);
    color: white;
    font-size: 18px;
    padding: 16px 32px;
}

.btn-success:hover {
    background: #16A34A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-text {
    background: transparent;
    color: var(--gray-500);
    padding: 8px 16px;
}

.btn-text:hover {
    color: var(--primary-blue);
}

.btn-start {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    font-weight: 600;
    padding: 16px 32px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-start:hover,
.btn-start:focus {
    background: var(--dark-blue);
    color: var(--white);
    border-color: var(--dark-blue);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */

.hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--black);
    color: var(--white);
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-background {
    display: block;
    width: 100vw;
    max-width: 100vw;
    height: auto;
    object-fit: cover;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: var(--white);
    text-align: center;
    pointer-events: auto;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 60px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-checkmarks {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.checkmark-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 500;
}

.checkmark-icon {
    width: 24px;
    height: 24px;
    background: var(--secondary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkmark-icon::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin: 60px 0 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    margin-top: 40px;
}

.hero-note {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 2;
    margin-top: 100vh;
    background: linear-gradient(180deg, var(--light-blue) 0%, var(--white) 40%);
}

.content-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Industry Cards Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.industry-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-align: center;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.industry-card h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.industry-card p {
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

/* Compliance Banner */
.compliance-banner {
    background: var(--primary-blue);
    color: var(--white);
    padding: 32px 40px;
    border-radius: 16px;
    text-align: center;
    margin: 60px 0;
    box-shadow: 0 4px 12px rgba(59, 95, 222, 0.2);
}

.compliance-banner p {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

/* How It Works Section */
.how-it-works {
    background: var(--white);
    padding: 80px 40px;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.step {
    flex: 1;
    text-align: center;
}

.step-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.step-icon {
    width: 64px;
    height: 64px;
    display: inline-block;
    fill: var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.step-letter {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

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

.arrow {
    font-size: 48px;
    color: var(--secondary-green);
    font-weight: 300;
}

/* Feature Sections with Images */
.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 100px 0;
}

.feature-section.reverse {
    direction: rtl;
}

.feature-section.reverse>* {
    direction: ltr;
}

.feature-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.feature-content h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.feature-content p {
    color: var(--gray-600);
    font-size: 18px;
    line-height: 1.8;
}

.feature-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Three Features Grid */
.three-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card-content {
    padding: 24px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
}

/* Testimonial Section */
.testimonial-section {
    background: var(--light-blue);
    padding: 80px 40px;
    margin: 80px 0;
}

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

.testimonial-quote {
    font-size: 28px;
    font-style: italic;
    color: var(--gray-900);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Team Section */
.team-section {
    padding: 80px 40px;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
}

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

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.team-member h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.team-member h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.team-member p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

.site-footer {
    background: #E7F6FF;
    color: #0f172a;
    padding: 28px 20px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    margin-top: 48px;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 8px;
}

.site-footer .links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 8px;
    font-size: 15px;
    line-height: 1.4;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 40px 100px;
    background: linear-gradient(180deg, var(--light-blue) 0%, var(--white) 40%);
    min-height: 100vh;
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.pricing-subtitle {
    font-size: 20px;
    color: var(--gray-500);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
}

/* Tablet: 2 columns */
@media (min-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Desktop: 4 columns */
@media (min-width: 1200px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border: 3px solid var(--primary-blue);
    box-shadow: 0 8px 24px rgba(59, 95, 222, 0.15);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tier-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    text-align: center;
}

.tier-capacity {
    font-size: 16px;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.tier-price {
    text-align: center;
    margin-bottom: 12px;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
}

.price-period {
    font-size: 16px;
    color: var(--gray-500);
}

.price-per-logger {
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
    font-style: italic;
}

.pricing-divider {
    border: none;
    border-top: 1px solid var(--gray-300);
    margin: 24px 0;
}

.features-list {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.features-list li {
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--gray-700);
    padding-left: 24px;
    position: relative;
}

.features-list li.included::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-green);
    font-size: 20px;
    font-weight: bold;
}

.features-list li.excluded {
    opacity: 0.5;
}

.features-list li.excluded::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--error-red);
    font-size: 20px;
}

.features-section {
    margin-bottom: 16px;
}

.features-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.cta-button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: auto;
}

/* FAQ Placeholder */
.faq-placeholder {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-light);
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-placeholder h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.faq-placeholder p {
    font-size: 18px;
    color: var(--gray-500);
}

.smartphone-concept-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    margin-bottom: 60px;
}

.smartphone-concept-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.smartphone-concept-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.smartphone-concept-card h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.smartphone-concept-card p,
.smartphone-concept-card li {
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.6;
}

.smartphone-concept-card ul {
    margin-left: 20px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.smartphone-concept-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

    .steps-container {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .industry-grid,
    .three-features-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-section {
        grid-template-columns: 1fr;
    }

    .feature-section.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {

    /* Navigation */
    .nav-links {
        display: none;
    }

    .nav-cta {
        margin-left: auto;
        justify-content: flex-end;
        width: auto;
    }

    .nav-cta .btn-text {
        display: inline-block;
    }

    .nav-cta .btn-primary {
        display: none;
    }

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

    /* Hero Section */
    .hero-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .hero-checkmarks {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    /* Content */
    .section-title {
        font-size: 32px;
    }

    .content-section {
        padding: 60px 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    /* Feature Sections */
    .feature-content h3 {
        font-size: 24px;
    }

    .feature-content p {
        font-size: 16px;
    }

    /* Grids */
    .industry-grid,
    .three-features-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .testimonial-quote {
        font-size: 22px;
    }

    /* Footer */
    .site-footer {
        position: relative;
        z-index: 100;
        background: #E7F6FF;
        color: #0f172a;
        padding: 28px 20px;
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
        margin-top: 48px;
    }

    .site-footer .container {
        justify-content: center;
    }

    .site-footer .links {
        align-items: center;
        text-align: center;
    }

    /* Steps/Icons */
    .step-icon {
        display: inline-block !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px;
        min-height: 48px;
        vertical-align: middle;
        fill: var(--primary-blue);
    }

    .industry-card .step-icon {
        display: block;
        margin: 0 auto 12px;
        width: 56px;
        height: 56px;
    }

    .arrow {
        display: inline-block;
        transform: rotate(90deg);
        transform-origin: center;
        margin: 12px auto;
        font-size: 28px;
        line-height: 1;
    }

    .steps-container .arrow {
        display: inline-block;
        transform: rotate(90deg);
        transform-origin: center;
        margin: 12px auto;
        font-size: 38px;
        line-height: 1;
    }

    /* Pricing */
    .pricing-title {
        font-size: 36px;
    }

    .pricing-subtitle {
        font-size: 18px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-card.featured::before {
        top: -12px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .pricing-section {
        padding: 60px 20px 80px;
    }

    .tier-name {
        font-size: 24px;
    }

    .price-amount {
        font-size: 32px;
    }
}

/* Remove this section entirely - it was causing the 2-column issue on mobile */
/* 
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .pricing-card.featured::before {
        top: 20px;
        right: 20px;
        left: auto;
        transform: none;
    }
}
*/

/* Add tablet breakpoint for 2-column layout */
@media (min-width: 769px) and (max-width: 1199px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .pricing-card.featured::before {
        top: 20px;
        right: 20px;
        left: auto;
        transform: none;
    }
}

@media (min-width: 769px) {
    .smartphone-concept-content {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .smartphone-concept-text {
        flex: 1;
    }

    .smartphone-concept-image-wrapper {
        flex: 0 0 45%;
    }

    .solution-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}