/* Sahab Tasks - Custom Brand Styles */
/* Brand Color: Dark/Black with Blue accents */

:root {
    --st-primary: #3b82f6;
    --st-primary-dark: #2563eb;
    --st-primary-light: #60a5fa;
    --st-secondary: #1e293b;
    --st-accent: #0f172a;
    --st-text: #f8fafc;
    --st-text-light: #94a3b8;
    --st-text-dark: #1e293b;
    --st-bg-dark: #0f172a;
    --st-bg-darker: #020617;
    --st-bg-card: #1e293b;
    --st-white: #ffffff;
    --st-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --st-gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --st-gradient-hero: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
}

/* Page Base */
.sahab-tasks-page {
    background-color: var(--st-bg-darker);
}

/* Custom Navigation */
.st-nav {
    background: var(--st-bg-dark);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.st-nav .nav-link {
    color: var(--st-text-light);
}

.st-nav .nav-link:hover,
.st-nav .nav-link.active {
    color: var(--st-primary);
}

.st-nav .nav-cta {
    background: var(--st-gradient);
    color: var(--st-white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.st-nav .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.st-logo h2 {
    color: var(--st-text);
}

.st-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--st-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-logo-icon i {
    font-size: 1.25rem;
    color: var(--st-white);
}

/* Buttons */
.btn-st-primary {
    background: var(--st-gradient);
    color: var(--st-white);
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-st-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-st-secondary {
    background: transparent;
    color: var(--st-primary);
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid var(--st-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-st-secondary:hover {
    background: var(--st-primary);
    color: var(--st-white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.st-hero {
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
    background: var(--st-gradient-hero);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.st-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 90%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.st-hero .container {
    position: relative;
    z-index: 1;
}

.st-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.st-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.2);
    color: var(--st-primary-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.st-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--st-text);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.st-hero-subtitle {
    font-size: 1.2rem;
    color: var(--st-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.st-hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.st-hero-meta {
    display: flex;
    gap: 2rem;
}

.st-hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--st-text-light);
}

.st-hero-meta i {
    color: var(--st-primary);
}

/* App Preview (Browser Mockup) */
.st-app-preview {
    background: var(--st-bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.st-preview-header {
    background: var(--st-bg-dark);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.st-preview-dots {
    display: flex;
    gap: 6px;
}

.st-preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.st-preview-dots span:first-child {
    background: #ef4444;
}

.st-preview-dots span:nth-child(2) {
    background: #eab308;
}

.st-preview-dots span:nth-child(3) {
    background: #22c55e;
}

.st-preview-title {
    color: var(--st-text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.st-preview-content {
    padding: 1.5rem;
}

.st-preview-task {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--st-bg-dark);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.st-preview-task i {
    font-size: 1.1rem;
    color: var(--st-text-light);
}

.st-preview-task.completed i {
    color: var(--st-primary);
}

.st-preview-task.completed span {
    text-decoration: line-through;
    color: var(--st-text-light);
    opacity: 0.7;
}

.st-preview-task span {
    color: var(--st-text);
    font-size: 0.9rem;
}

.st-preview-add {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 2px dashed rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.st-preview-add:hover {
    border-color: var(--st-primary);
    background: rgba(59, 130, 246, 0.1);
}

.st-preview-add i {
    color: var(--st-primary);
}

.st-preview-add span {
    color: var(--st-text-light);
    font-size: 0.9rem;
}

/* Section Headers */
.st-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.st-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--st-text);
    margin-bottom: 1rem;
}

.st-section-header p {
    font-size: 1.125rem;
    color: var(--st-text-light);
}

/* Benefits Section */
.st-benefits {
    padding: 6rem 0;
    background: var(--st-bg-dark);
}

.st-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.st-benefit-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--st-bg-card);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.st-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.st-benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--st-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.st-benefit-icon i {
    font-size: 2rem;
    color: var(--st-white);
}

.st-benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--st-text);
    margin-bottom: 0.75rem;
}

.st-benefit-card p {
    color: var(--st-text-light);
    line-height: 1.6;
}

/* Features Section */
.st-features {
    padding: 6rem 0;
    background: var(--st-bg-darker);
}

.st-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.st-feature-card {
    background: var(--st-bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.st-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.st-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--st-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.st-feature-icon i {
    font-size: 1.5rem;
    color: var(--st-white);
}

.st-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--st-text);
    margin-bottom: 0.75rem;
}

.st-feature-card p {
    color: var(--st-text-light);
    line-height: 1.6;
}

/* How It Works Section */
.st-how-it-works {
    padding: 6rem 0;
    background: var(--st-bg-dark);
}

.st-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.st-step {
    text-align: center;
    max-width: 220px;
}

.st-step-number {
    width: 60px;
    height: 60px;
    background: var(--st-gradient);
    color: var(--st-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.st-step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--st-text);
    margin-bottom: 0.5rem;
}

.st-step-content p {
    font-size: 0.9rem;
    color: var(--st-text-light);
    line-height: 1.5;
}

.st-step-connector {
    width: 60px;
    height: 2px;
    background: var(--st-primary);
    margin-top: 30px;
    opacity: 0.5;
}

/* Value Section */
.st-value {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    position: relative;
    overflow: hidden;
}

.st-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.st-value-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--st-white);
    position: relative;
    z-index: 1;
}

.st-value-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
}

.st-value-icon i {
    font-size: 3rem;
    color: var(--st-white);
}

.st-value h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.st-value p {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.st-value-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.st-value-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.st-value-feature i {
    color: #86efac;
}

/* CTA Section */
.st-cta {
    padding: 6rem 0;
    background: var(--st-bg-darker);
}

.st-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.st-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--st-text);
    margin-bottom: 1rem;
}

.st-cta p {
    font-size: 1.125rem;
    color: var(--st-text-light);
    margin-bottom: 2rem;
}

.st-cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--st-text-light);
}

/* Footer */
.st-footer {
    background: var(--st-bg-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.st-footer-content {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.st-footer-brand {
    color: var(--st-text-light);
}

.st-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.st-footer-logo h3 {
    color: var(--st-text);
    font-size: 1.25rem;
    font-weight: 700;
}

.st-footer-brand p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.st-footer-powered a {
    color: var(--st-primary-light);
    text-decoration: none;
}

.st-footer-powered a:hover {
    text-decoration: underline;
}

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

.st-footer-col h4 {
    color: var(--st-text);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.st-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.st-footer-col a {
    color: var(--st-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.st-footer-col a:hover {
    color: var(--st-primary-light);
}

.st-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.st-footer-bottom p {
    color: var(--st-text-light);
    font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .st-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .st-hero-actions {
        justify-content: center;
    }

    .st-hero-meta {
        justify-content: center;
    }

    .st-hero-visual {
        margin-top: 3rem;
    }

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

    .st-footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .st-hero {
        padding: 5rem 0 3rem;
        min-height: auto;
    }

    .st-hero h1 {
        font-size: 2.5rem;
    }

    .st-hero-subtitle {
        font-size: 1.1rem;
    }

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

    .st-hero-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .st-section-header h2 {
        font-size: 2rem;
    }

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

    .st-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .st-step {
        max-width: 100%;
    }

    .st-step-connector {
        width: 2px;
        height: 40px;
        margin: 0 auto;
    }

    .st-value-features {
        flex-direction: column;
        gap: 1rem;
    }

    .st-cta h2 {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .st-hero h1 {
        font-size: 2rem;
    }

    .st-section-header h2 {
        font-size: 1.75rem;
    }

    .st-value h2,
    .st-cta h2 {
        font-size: 1.75rem;
    }

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

    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
