/* Base Styles */
:root {
    --primary: #01035b;
    --primary-dark: #010234;
    --secondary: #8e0202;
    --dark: #111827;
    --gray-light: #F3F4F6;
    --gray: #9CA3AF;
    --gray-dark: #4B5563;
    --white: #FFFFFF;
    --border-radius: 10px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: linear-gradient(135deg, #999, #fff, #bbb, #eee);
    background-size: 400% 400%;
    animation: gradient 10s ease infinite;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Buttons and CTAs */
.cta-primary, .cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s;
}

.cta-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow);
}

.cta-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-secondary:hover {
    background-color: var(--gray-light);
    color: var(--primary-dark);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.cta-buttons i {
    margin-right: 5px;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(-45deg, #01035b, #01035b, #666666, #01035b);
    background-size: 200% 200%;
    animation: gradient 10s ease infinite;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

header.scrolled {
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    position: relative;
}

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

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

.github-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-light) !important;
}

.github-link i {
    font-size: 1.2rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--white) !important;
    border-radius: 3px;
    transition: all 0.3s;
}
.mobile-menu-btn a {
    color: var(--primary);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 90vh;
    padding: 120px 0 80px;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-dark);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--gray-light);
}

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

.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin: 0px auto 20px auto;
    height: 60px;
    width: 60px;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.feature-card p {
    color: var(--gray-dark);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
}

.steps {
    max-width: 700px;
    margin: 0 auto 60px;
}

.step {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.step-number {
    background-color: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    font-size: 1.25rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray-dark);
}

.demo-container {
    text-align: center;
    margin-top: 40px;
}

.demo-gif {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    width: 100%;
}

/* Use Cases Section */
.use-cases {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.use-case-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.use-case-card img {
    height: 80px;
    margin-bottom: 20px;
}

.use-case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.use-case-card p {
    color: var(--gray-dark);
}

/* Privacy Section */
.privacy {
    padding: 100px 0;
}

.privacy-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.privacy-info {
    flex: 1;
}

.privacy-info h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.privacy-info p {
    color: var(--gray-dark);
    margin-bottom: 30px;
}

.privacy-list {
    list-style: none;
}

.privacy-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.privacy-list i {
    color: var(--secondary);
    margin-right: 10px;
}

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

.privacy-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: var(--gray-light);
    opacity: 0.75;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    opacity: 0.85;
    color: var(--white);
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    justify-content: center;
}

.cta-section .cta-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-section .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    background-color: var(--dark);
    opacity: 0.85;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--white);
}

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

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

.footer-links a {
    color: var(--gray);
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .privacy-content {
        flex-direction: column-reverse;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--primary);
        box-shadow: var(--shadow);
        padding: 20px 0;
        clip-path: circle(0px at top right);
        transition: clip-path 0.5s ease-in-out;
        opacity: 0;
    }

    .nav-links.active {
        clip-path: circle(1500px at top right);
        opacity: 1;
    }

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

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

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

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

    .section-title {
        font-size: 1.8rem;
    }

    .feature-card, .use-case-card {
        padding: 20px;
    }

    .step {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 15px;
    }
}

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

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

    .cta-buttons .cta-primary, .cta-buttons .cta-secondary {
        width: 100%;
    }

    .features-grid, .use-cases-grid {
        grid-template-columns: 1fr;
    }

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

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #f6f9ff 0%, #f1f4fd 100%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    position: relative;
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-content p {
    color: var(--gray-dark);
    font-style: italic;
    line-height: 1.7;
}

.testimonial-content::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark);
}

.testimonial-author-info p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.testimonial-rating {
    margin-top: 10px;
    color: #F59E0B;
    /* Amber color for stars */
}

.privacy-page {
    padding: 140px 0 80px;
}

.privacy-page h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.privacy-page h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
}

.privacy-page h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-page p,
.privacy-page ul,
.privacy-page ol {
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.privacy-page ul,
.privacy-page ol {
    padding-left: 20px;
}

.privacy-page li {
    margin-bottom: 10px;
}

.privacy-page strong {
    color: var(--dark);
}

.update-date {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 40px;
}

.privacy-highlight {
    background-color: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--secondary);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.terms-page {
    padding: 140px 0 80px;
}

.terms-page h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.terms-page h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
}

.terms-page h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.terms-page p,
.terms-page ul,
.terms-page ol {
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.terms-page ul,
.terms-page ol {
    padding-left: 20px;
}

.terms-page li {
    margin-bottom: 10px;
}

.terms-page strong {
    color: var(--dark);
}

.update-date {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-page {
    padding: 140px 0 80px;
}

.contact-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 2;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}

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

/* YouTube Player Styles */
.youtube-player-wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.youtube-player {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: #000;
    aspect-ratio: 16/9;
}

.youtube-player-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.youtube-player.active .youtube-player-thumbnail {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.youtube-player-thumbnail:hover .thumbnail-img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(1, 3, 91, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button i {
    color: #fff;
    font-size: 36px;
    transition: all 0.3s ease;
}

.youtube-player-thumbnail:hover .play-button {
    background-color: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.youtube-player-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.youtube-player-thumbnail:hover .youtube-player-overlay {
    opacity: 1;
    transform: translateY(0);
}

.youtube-player-overlay span {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

iframe#youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    text-align: center;
    margin-top: 15px;
    color: var(--gray-dark);
    font-style: italic;
}

@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 24px;
    }
    
    .youtube-player-overlay span {
        font-size: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.flex {
    display: flex;
}

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

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

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.gap-5 { gap: 3rem; }
