/* eSigner Page Styles */

/* Hero Section */
.esigner-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 20px 80px;
}

.esigner-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.esigner-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0d47a1 50%, #1565c0 100%);
}

.esigner-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.esigner-hero-particles .particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(25, 118, 210, 0.4);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.esigner-hero-particles .particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.esigner-hero-particles .particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; }
.esigner-hero-particles .particle:nth-child(3) { top: 40%; left: 30%; animation-delay: 2s; }
.esigner-hero-particles .particle:nth-child(4) { top: 80%; left: 60%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    50% { transform: translateY(-30px) translateX(20px); opacity: 0.8; }
}

.esigner-hero-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.esigner-hero-content {
    color: #fff;
}

.esigner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(25, 118, 210, 0.15);
    border: 1px solid rgba(25, 118, 210, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: #64b5f6;
}

.esigner-badge i {
    font-size: 1rem;
}

.esigner-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.esigner-hero-title .title-highlight {
    background: linear-gradient(90deg, #1976d2, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.esigner-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #42a5f5;
    margin-bottom: 20px;
}

.esigner-hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.esigner-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.esigner-hero-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.esigner-hero-stats .stat-number {
    font-size: 2rem;
    color: #ff9800;
}

.esigner-hero-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.esigner-hero-stats .stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.esigner-hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(25, 118, 210, 0.4);
}

.btn-secondary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary-large:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-outline-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #25D366;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #25D366;
    transition: all 0.3s ease;
}

.btn-outline-large:hover {
    background: #25D366;
    color: #fff;
    transform: translateY(-3px);
}

/* Section Common Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.1), rgba(255, 152, 0, 0.1));
    border: 1px solid rgba(25, 118, 210, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1976d2;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

/* Overview Section */
.esigner-overview {
    padding: 80px 20px;
    background: #f8f9fa;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 24px;
}

.overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overview-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1.05rem;
    color: #333;
}

.overview-list li i {
    color: #ff9800;
    font-size: 1.1rem;
}

.overview-visual {
    text-align: center;
}

.visual-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.visual-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    border-radius: 16px;
    color: #fff;
    font-size: 2rem;
}

.visual-icon.kra {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.visual-flow {
    color: #1976d2;
    font-size: 1.5rem;
}

.visual-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.visual-labels span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

/* Features Section */
.esigner-features {
    padding: 80px 20px;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    border-radius: 12px;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* How It Works Section */
.esigner-how-it-works {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0d47a1 100%);
    color: #fff;
}

.esigner-how-it-works .section-title {
    color: #fff;
}

.steps-container {
    max-width: 600px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

.step-content a {
    color: #64b5f6;
    text-decoration: none;
}

.step-content a:hover {
    text-decoration: underline;
}

.step-connector {
    text-align: center;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

/* Invoice Types Section */
.esigner-invoice-types {
    padding: 80px 20px;
    background: #f8f9fa;
}

.invoice-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.invoice-type-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.invoice-type-card:hover {
    transform: translateY(-5px);
    border-color: #1976d2;
    box-shadow: 0 10px 30px rgba(25, 118, 210, 0.15);
}

.type-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    border-radius: 16px;
    color: #fff;
    font-size: 1.8rem;
}

.invoice-type-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.invoice-type-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Compliance Section */
.esigner-compliance {
    padding: 80px 20px;
    background: #fff;
}

.compliance-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.compliance-badge {
    width: 200px;
    height: 200px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 20px 50px rgba(25, 118, 210, 0.3);
}

.compliance-badge i {
    font-size: 4rem;
    margin-bottom: 8px;
}

.compliance-badge span {
    font-size: 1.2rem;
    font-weight: 700;
}

.compliance-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.compliance-text > p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

.compliance-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.compliance-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #333;
}

.compliance-list li i {
    color: #ff9800;
}

/* Roles Section */
.esigner-roles {
    padding: 80px 20px;
    background: #f8f9fa;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.role-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.role-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
}

.role-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.role-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.role-card ul li {
    padding: 8px 0;
    color: #555;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
    padding-left: 20px;
    position: relative;
}

.role-card ul li:last-child {
    border-bottom: none;
}

.role-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff9800;
    font-weight: bold;
}

/* Benefits Section */
.esigner-benefits {
    padding: 80px 20px;
    background: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    border-radius: 12px;
    color: #fff;
    font-size: 1.3rem;
}

.benefit-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.benefit-text p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* CTA Section */
.esigner-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0d47a1 100%);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-tagline {
    font-size: 1.3rem;
    color: #42a5f5;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .esigner-hero-title {
        font-size: 2.5rem;
    }
    
    .overview-content,
    .compliance-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .overview-list {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .compliance-content {
        flex-direction: column;
    }
    
    .compliance-list {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .esigner-hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }
    
    .esigner-hero-title {
        font-size: 2rem;
    }
    
    .esigner-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .esigner-hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .esigner-hero-stats .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .esigner-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .visual-card {
        flex-direction: column;
        gap: 16px;
    }
    
    .visual-flow {
        transform: rotate(90deg);
    }
    
    .visual-labels {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-large,
    .btn-secondary-large,
    .btn-outline-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Dark mode support */
.dark .section-title {
    color: #fff;
}

.dark .esigner-overview,
.dark .esigner-invoice-types,
.dark .esigner-roles {
    background: #0f0f1a;
}

.dark .esigner-features,
.dark .esigner-compliance,
.dark .esigner-benefits {
    background: #1a1a2e;
}

.dark .overview-text p,
.dark .overview-list li,
.dark .feature-card p,
.dark .invoice-type-card p,
.dark .compliance-text > p,
.dark .compliance-list li,
.dark .role-card ul li,
.dark .benefit-text p {
    color: rgba(255, 255, 255, 0.7);
}

.dark .feature-card,
.dark .invoice-type-card,
.dark .role-card,
.dark .benefit-item {
    background: #0f0f1a;
}

.dark .feature-card h3,
.dark .invoice-type-card h3,
.dark .compliance-text h2,
.dark .role-card h3,
.dark .benefit-text h4 {
    color: #fff;
}

.dark .visual-card {
    background: #1a1a2e;
}

.dark .visual-labels span {
    color: rgba(255, 255, 255, 0.7);
}
