/* ==========================================================================
   TenSy Flow - Modern SaaS Website Stylesheet
   Product: TenSy Flow by Ten Sol Software Private Limited
   ========================================================================== */

:root {
    --bg-dark: #0b0f17;
    --bg-card: rgba(18, 24, 38, 0.85);
    --bg-card-hover: rgba(26, 34, 52, 0.95);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(37, 211, 102, 0.35);
    
    --primary: #25d366; /* WhatsApp Green */
    --primary-glow: rgba(37, 211, 102, 0.25);
    --primary-hover: #1ebd5a;
    
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-gold: #f59e0b;
    --danger: #ef4444;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px var(--primary-glow);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Ambient Glows */
body::before, body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.18;
}

body::before {
    top: -100px;
    left: -150px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
}

body::after {
    top: 600px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-purple), transparent 70%);
}

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

/* Typography */
h1, h2, h3, h4 {
    color: #fff;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-muted);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(11, 15, 23, 0.85);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 22px;
}

.brand-icon-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), #10b981);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b0f17;
    font-weight: 900;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14.5px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #16a34a 100%);
    color: #051b11;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #2fe673 0%, #18b352 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: #0b0f17;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-green {
    background: rgba(37, 211, 102, 0.12);
    color: #4ade80;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.badge-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-purple {
    background: rgba(139, 92, 246, 0.12);
    color: #c084fc;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

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

.hero-title {
    font-size: clamp(38px, 6vw, 62px);
    font-weight: 900;
    margin-bottom: 22px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: clamp(17px, 2.2vw, 20px);
    max-width: 740px;
    margin: 0 auto 36px;
    color: var(--text-muted);
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 13.5px;
    color: var(--text-dim);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Interactive Action Section (Trial + Checker Split) */
.action-grid-section {
    padding: 40px 0 80px;
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

@media (max-width: 900px) {
    .action-grid {
        grid-template-columns: 1fr;
    }
}

.action-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.action-card:hover {
    border-color: var(--border-highlight);
}

.action-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.action-icon.green {
    background: rgba(37, 211, 102, 0.15);
    color: var(--primary);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.action-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.action-card-title {
    font-size: 22px;
    font-weight: 800;
}

.action-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Form Styles */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 14.5px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
    background: rgba(0, 0, 0, 0.5);
}

.form-input::placeholder {
    color: var(--text-dim);
}

/* Result / Status Cards */
.result-box {
    margin-top: 24px;
    padding: 20px;
    border-radius: var(--radius-md);
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.result-box.success {
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.result-box.warning {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.result-box.danger {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.key-display {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0;
    border: 1px dashed rgba(37, 211, 102, 0.4);
}

.btn-copy {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: var(--primary);
    color: #0b0f17;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-row:last-child {
    border-bottom: none;
}

.meta-label {
    color: var(--text-dim);
}

.meta-val {
    font-weight: 600;
    color: #fff;
}

/* Features Grid */
.features-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-tag {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
    background: var(--bg-card-hover);
}

.feature-icon-bubble {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.feature-title {
    font-size: 19px;
    font-weight: 700;
}

.feature-text {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Steps / How It Works */
.steps-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

@media (max-width: 800px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #059669);
    color: #0b0f17;
    font-weight: 900;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Pricing Grid */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    max-width: 1050px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 35px rgba(37, 211, 102, 0.2);
    transform: scale(1.03);
}

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

.pricing-price {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    margin: 16px 0 24px;
}

.pricing-price span {
    font-size: 16px;
    color: var(--text-dim);
    font-weight: 500;
}

.pricing-features-list {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features-list li {
    padding: 8px 0;
    font-size: 14.5px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 900;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: #070a10;
    border-top: 1px solid var(--border-color);
    color: var(--text-dim);
    font-size: 14px;
}

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

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

.footer-brand-desc {
    margin-top: 12px;
    max-width: 380px;
    line-height: 1.6;
}

.footer-col h5 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
