/* CSS Custom Properties & Reset */
:root {
    /* Color Palette */
    --clr-primary: #1EA6E6;
    /* Bright, trustworthy blue */
    --clr-primary-dark: #0F75A8;
    --clr-accent: #FF6B35;
    /* Orange for CTA */
    --clr-accent-hover: #E85D2A;
    --clr-text-main: #2D3748;
    --clr-text-light: #718096;
    --clr-bg-main: #FFFFFF;
    --clr-bg-light: #F7FAFC;
    --clr-border: #E2E8F0;

    /* Gradients */
    --bg-gradient: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
    --primary-gradient: linear-gradient(135deg, #1EA6E6 0%, #4668F2 100%);

    /* Typography */
    --font-base: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Border Radius */
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Max Widths */
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    color: var(--clr-text-main);
    background-color: var(--clr-bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

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

.bg-light {
    background-color: var(--clr-bg-light);
}

.section-padding {
    padding: 90px 0 40px 0;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.mt-4 {
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(30, 166, 230, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 166, 230, 0.5);
    color: white;
}

.btn-accent {
    background: var(--clr-accent);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(255, 107, 53, 0.39);
}

.btn-accent:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    color: white;
}

.btn-outline {
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--clr-primary);
    color: white;
}

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

.btn-outline-white:hover {
    background: white;
    color: var(--clr-primary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.tag-primary {
    background-color: rgba(30, 166, 230, 0.1);
    color: var(--clr-primary-dark);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--clr-border);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--clr-text-main);
}

.badge {
    font-size: 0.7rem;
    background: var(--clr-accent);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: super;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 600;
    color: var(--clr-text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

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

/* Hero Section */
.hero {
    padding: 100px 0 40px;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #4668F2;
    top: -100px;
    right: -100px;
    animation: float 10s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #1EA6E6;
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 30px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 10;
}

.hero-text-area {
    flex: 1.25;
    /* 中間調整 */
}

.hero-title {
    font-size: 2.85rem;
    /* 中間調整 */
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.title-line {
    display: inline-block;
    white-space: nowrap;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.hero-note {
    font-size: 0.8rem;
    color: var(--clr-text-light);
    margin-left: 16px;
}

/* Glassmorphism elements */
.glass-panel,
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero-image-area {
    flex: 1.0;
    /* 中間調整 */
    perspective: 1000px;
    position: relative;
}

.hero-badge-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 100px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.7);
    z-index: 20;
    animation: float-badge 6s ease-in-out infinite;
}

.badge-1 {
    top: 40%;
    right: -40px;
    border-color: rgba(30, 166, 230, 0.3);
}

.badge-2 {
    bottom: 30%;
    left: -50px;
    animation-delay: 3s;
    border-color: rgba(255, 107, 53, 0.3);
}

.badge-3 {
    top: 20%;
    left: -30px;
    animation-delay: 1.5s;
    border-color: rgba(16, 185, 129, 0.3);
}

.badge-4 {
    bottom: -5px;
    right: 45px;
    animation-delay: 4.5s;
    border-color: rgba(139, 92, 246, 0.3);
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.badge-icon {
    font-size: 1.6rem;
}

.badge-text {
    font-size: 0.95rem;
    line-height: 1.3;
}

.badge-text strong {
    font-size: 1.15rem;
}

.dashboard-mockup {
    width: 100%;
    padding: 0;
    box-shadow: var(--shadow-lg);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    overflow: hidden;
}

.dashboard-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    background: #f1f5f9;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--clr-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.mockup-body {
    padding: 24px;
}

.mockup-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-box {
    flex: 1;
    background: white;
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--clr-text-light);
    font-weight: 600;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 900;
}

.stat-unit {
    font-size: 0.8rem;
    margin-left: 4px;
    font-weight: 600;
    color: var(--clr-text-main);
}

.mockup-chart {
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px dashed var(--clr-border);
}

.bar {
    flex: 1;
    background: var(--primary-gradient);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    transition: height 1s ease-out;
}

.bar:hover {
    opacity: 1;
}

/* Highlights */
.highlights {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid var(--clr-border);
    position: relative;
    z-index: 20;
}

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

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
}

.highlight-icon {
    font-size: 2.5rem;
    background: var(--clr-bg-light);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.highlight-num {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.highlight-text p {
    font-size: 0.9rem;
    color: var(--clr-text-light);
    margin: 0;
}

/* Section Common */
.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-light);
}

/* Features */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-num {
    display: inline-block;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(30, 166, 230, 0.2);
    margin-bottom: -10px;
    line-height: 1;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.4;
}

.feature-desc {
    font-size: 1.05rem;
    color: var(--clr-text-light);
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-visual {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(230, 245, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.file-upload-ui {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    width: 100%;
    text-align: center;
}

.icon-csv {
    font-size: 2rem;
    color: #217346;
    margin-bottom: 16px;
    font-weight: bold;
}

.progress-bar {
    height: 8px;
    background: #edf2f7;
    border-radius: 4px;
    margin-top: 16px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 4px;
    animation: load 2s ease-in-out infinite;
}

@keyframes load {
    0% {
        width: 0;
    }

    50% {
        width: 100%;
    }

    100% {
        width: 100%;
    }
}

.automation-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.node {
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    font-size: 0.9rem;
}

.node.action {
    border: 2px solid var(--clr-primary);
    transform: scale(1.1);
}

.mobile-mockup {
    width: 200px;
    height: 400px;
    background: #1a202c;
    border-radius: 30px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.email-preview {
    background: white;
    height: 100%;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ep-img {
    height: 100px;
    background: var(--clr-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
}

.ep-text {
    height: 40px;
    background: #edf2f7;
    border-radius: 4px;
}

.ep-btn {
    height: 36px;
    background: var(--clr-primary);
    border-radius: 50px;
    width: 80%;
    margin: 0 auto;
}

/* Pricing Section */
.pricing {
    position: relative;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    flex: 1;
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid var(--clr-border);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.popular {
    border: 2px solid var(--clr-primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-accent);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-header {
    margin-bottom: 24px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--clr-text-light);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.pricing-card:first-child .pricing-price {
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
}

.period {
    font-size: 1rem;
    color: var(--clr-text-light);
    font-weight: normal;
}

.price-breakdown {
    background: #F0F7FF;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.plus-icon {
    color: var(--clr-primary);
}

.pricing-features {
    margin-bottom: 10px;
    flex-grow: 1;
}

.pricing-features ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--clr-border);
    font-size: 0.95rem;
}

.pricing-features ul li:last-child {
    border-bottom: none;
}

/* Flow Section */
.tech-features {
    background: #FFFFFF;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.tech-card {
    background: #F7FAFC;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 15px;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-primary);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.tech-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--clr-text-main);
}

.tech-desc {
    color: var(--clr-text-light);
    line-height: 1.7;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step {
    text-align: center;
    position: relative;
}

.step::after {
    content: '>';
    position: absolute;
    right: -15px;
    top: 20px;
    font-size: 2rem;
    color: var(--clr-border);
    font-family: monospace;
}

.step:last-child::after {
    display: none;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--clr-text-light);
}

/* Support Section */
.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.support-item {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.support-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.support-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.support-icon {
    font-size: 2.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.support-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.support-desc {
    color: var(--clr-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Cases Section */
.cases-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: white;
    border: 1px solid var(--clr-border);
    border-left: 4px solid var(--clr-primary);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.case-header {
    margin-bottom: 06px;
}

.case-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1px;
}

.case-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.95rem;
}

.case-problem,
.case-solution {
    padding: 12px 16px;
    border-radius: var(--radius-md);
}

.case-problem {
    background: #FFF5F5;
    color: #C53030;
}

.case-problem strong {
    color: #9B2C2C;
}

.case-solution {
    background: #F0FFF4;
    color: #276749;
}

.case-solution strong {
    color: #22543D;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-q {
    padding: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    gap: 12px;
    border-bottom: 1px dashed var(--clr-border);
}

.faq-q span {
    color: var(--clr-primary);
}

.faq-a {
    padding: 20px;
    color: var(--clr-text-light);
    font-size: 0.95rem;
    display: flex;
    gap: 12px;
    background: #FAFAFA;
}

.faq-a span {
    color: var(--clr-accent);
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
    color: white;
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

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

.btn-outline-white:hover {
    background: white;
    color: var(--clr-primary-dark);
}

/* Buttons in CTA should pop more */
.cta-section .btn-primary {
    background: var(--clr-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.cta-section .btn-primary:hover {
    background: var(--clr-accent-hover);
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 107, 53, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Section */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    padding: 60px;
    background: white;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.required {
    background: #E53E3E;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--clr-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 4px rgba(30, 166, 230, 0.1);
}

.form-privacy {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
}

.checkbox-container input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-submit .btn {
    width: auto;
}

@media (max-width: 768px) {

    .pain-grid,
    .tech-grid,
    .optional-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-form {
        padding: 40px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 40px;
}

.brand-col {
    flex: 1;
    max-width: 300px;
}

.brand-col .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-desc {
    color: #a0aec0;
    font-size: 0.9rem;
}

.footer-links-wrap {
    display: flex;
    flex: 2;
    justify-content: flex-end;
    gap: 80px;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a0aec0;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--clr-border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 800px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid var(--clr-border);
    border-right: 1px solid var(--clr-border);
    vertical-align: middle;
}

.comparison-table th {
    background: #FAFAFA;
    font-weight: 700;
    color: var(--clr-text-main);
}

.comparison-table thead th:first-child {
    background: transparent;
    border-right: none;
    border-bottom: none;
}

.comparison-table tbody th {
    text-align: left;
    background: #F0F7FF;
    border-right: none;
}

.comparison-table .highlight-col {
    background: #F4FBFF;
    border-left: 2px solid var(--clr-primary);
    border-right: 2px solid var(--clr-primary);
}

.comparison-table thead .highlight-col {
    background: var(--clr-primary);
    color: white;
    font-size: 1.2rem;
    border-top: 2px solid var(--clr-primary);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.comparison-table tbody tr:last-child td.highlight-col {
    border-bottom: 2px solid var(--clr-primary);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.text-accent {
    color: var(--clr-accent);
}

.fw-bold {
    font-weight: 900;
}

/* Responsive Design */
@media (max-width: 1024px) {

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

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

    .feature-row {
        gap: 40px;
    }

    .pricing-cards {
        flex-direction: column;
        max-width: 500px;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .step:nth-child(2)::after {
        display: none;
    }

    .step::after {
        top: auto;
        bottom: -30px;
        right: 50%;
        transform: translateX(50%) rotate(90deg);
    }
}

@media (max-width: 768px) {

    .header-cta,
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 15px;
        text-align: center;
        border-top: 1px solid var(--clr-border);
    }

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

    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }

    .hero-title {
        font-size: 1.6rem;
        word-break: break-word;
    }

    .title-line {
        white-space: normal;
    }

    .hero-badge-float {
        transform: scale(0.8);
        transform-origin: center;
    }

    .badge-1 { right: 0; }
    .badge-2 { left: 0; }
    .badge-3 { left: 0; }
    .badge-4 { right: 0; }

    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-actions {
        align-items: center;
    }

    .hero-note {
        margin-left: 0;
        margin-top: 8px;
    }

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

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

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links-wrap {
        flex-direction: column;
        gap: 40px;
        justify-content: flex-start;
    }
}

/* New Layout Styles */
/* Accordion FAQ */
.accordion-style {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.accordion-style .faq-item {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.accordion-style .faq-q {
    padding: 20px 40px 20px 20px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
    background: #F8FAFC;
    color: var(--clr-text-main);
    transition: background 0.2s;
}

.accordion-style .faq-q::-webkit-details-marker {
    display: none;
}

.accordion-style .faq-q:hover {
    background: #EDF2F7;
}

.accordion-style .faq-q::after {
    content: '＋';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.accordion-style details[open] .faq-q::after {
    content: '－';
}

.accordion-style .faq-a {
    padding: 20px;
    color: var(--clr-text-light);
    line-height: 1.7;
    border-top: 1px solid var(--clr-border);
    background: white;
}

/* Contact Split Layout */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-split > * {
    min-width: 0;
}

@media (max-width: 1150px) {
    .nav-links a {
        font-size: 0.9rem !important;
        padding: 5px;
    }
}

@media (max-width: 900px) {
    .contact-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cases-list {
        grid-template-columns: 1fr !important;
    }
}

/* Thanks Page Styles */
.thanks-section {
    padding: 160px 0 100px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.thanks-card {
    max-width: 750px;
    margin: 0 auto;
    padding: 60px 40px;
    background: white;
    text-align: center;
}

.thanks-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1;
}

.thanks-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.thanks-desc {
    font-size: 1.1rem;
    color: var(--clr-text-main);
    line-height: 1.8;
    margin-bottom: 40px;
}

.thanks-desc-sub {
    font-size: 0.95rem;
    color: var(--clr-text-light);
    background: var(--clr-bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .thanks-section {
        padding: 120px 0 80px;
    }
    .thanks-card {
        padding: 40px 20px;
    }
    .thanks-title {
        font-size: 1.6rem;
    }
}