/* Base Styles */
:root {
    --primary-color: #8f3a69;
    --secondary-color: #41122c;
    --accent-color: #b47c9b;
    --light-color: #a8668a;
    --dark-color: #1a0711;
    --gray-color: #a8668a;
    --gradient-primary: linear-gradient(135deg, #832559 0%, #41122c 100%);
    --box-shadow: 0 5px 15px rgba(26, 7, 17, 0.2);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--light-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
    background-image: radial-gradient(circle at top right, rgba(131, 37, 89, 0.1), transparent 60%), 
                      radial-gradient(circle at bottom left, rgba(65, 18, 44, 0.1), transparent 60%);
    background-attachment: fixed;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.section-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
}

section {
    padding: 100px 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(131, 37, 89, 0.05), transparent 70%);
    pointer-events: none;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(131, 37, 89, 0.3);
}

.btn-primary:hover {
    background: #752150;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(131, 37, 89, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(65, 18, 44, 0.3);
}

.btn-secondary:hover {
    background: #340e23;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(65, 18, 44, 0.4);
}

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

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(180, 124, 155, 0.3);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 7, 17, 0.85); /*#09002F;*/ /*rgba(26, 7, 17, 0.85);*/
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(131, 37, 89, 0.2);
}

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

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

.logo .accent {
    margin-left: 5px;
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: 500;
}

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

.nav-links a {
    color: var(--light-color);
    font-weight: 500;
    position: relative;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-links a:hover {
    opacity: 1;
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(131, 37, 89, 0.9) 0%, rgba(65, 18, 44, 0.9) 100%);
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(180, 124, 155, 0.2) 0%, transparent 60%);
    transform: rotate(30deg);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

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

.hero-products-display {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hero-product-item {
    width: 220px;
    height: 400px;
    background: rgba(26, 7, 17, 0.7);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(131, 37, 89, 0.4);
    border: 2px solid rgba(131, 37, 89, 0.3);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-product-item:hover {
    transform: translateY(-10px) rotate(0deg) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(131, 37, 89, 0.6);
    z-index: 10 !important;
}

/* Image Placeholders */
.image-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    width: 100%;
    color: white;
    font-weight: 500;
}

.products .image-placeholder,
.projects .image-placeholder,
.team .image-placeholder {
    background: rgba(124, 77, 255, 0.05);
    border: 2px dashed rgba(124, 77, 255, 0.2);
    color: var(--primary-color);
}

/* Products Section */
.products {
    background-color: white;
}

/* Product Showcase Styles */
.product-showcase {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 80px 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.product-showcase.reverse {
    flex-direction: row-reverse;
}

.product-phone {
    flex: 0 0 300px;
    position: relative;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 0 auto;
    background: #0d0308;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 20px rgba(131, 37, 89, 0.3);
    overflow: hidden;
    padding: 10px;
    border: 2px solid #270b1a;
}

/* Phone notch */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #1a0711;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 2;
}

/* Home indicator */
.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: rgba(180, 124, 155, 0.5);
    border-radius: 5px;
    z-index: 2;
    box-shadow: 0 0 10px rgba(131, 37, 89, 0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Add a subtle pattern overlay */
.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="none"/><circle cx="3" cy="3" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.product-details {
    flex: 1;
    padding: 30px;
}

.product-details h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.product-details h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.product-description {
    font-size: 1.1rem;
    color: #c192ac;
    margin-bottom: 30px;
    line-height: 1.8;
}

.product-features {
    margin-bottom: 30px;
}

.product-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.product-features i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1rem;
}

.product-showcase .btn-outline {
    padding: 12px 30px;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .product-showcase,
    .product-showcase.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .product-details h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .product-features li {
        justify-content: center;
    }
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.product-features {
    margin-bottom: 25px;
}

.product-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.product-features i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Projects Section */
.projects {
    background-color: #f9f9ff;
}

.project-showcase {
    display: flex;
    align-items: center;
    gap: 50px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.project-content {
    flex: 1;
    padding: 40px;
}

.project-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.project-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.project-highlights {
    margin-bottom: 30px;
}

.project-highlights li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

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

.project-image {
    flex: 1;
    min-height: 400px;
}

/* Team Section */
.team {
    background-color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    left: 0;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.founder {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.founder-image {
    flex: 1;
    min-height: 300px;
}

.founder-bio {
    flex: 2;
    padding: 30px;
}

.founder-bio h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    background: #f9f9ff;
}

.contact-content {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    background: rgba(26, 7, 17, 0.6);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--light-color);
}

.contact-info .email {
    display: inline-block;
    color: var(--accent-color);
    font-size: 1.2rem;
    margin: 20px 0;
    transition: var(--transition);
    text-decoration: none;
}

.contact-info .email:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(143, 58, 105, 0.1);
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(131, 37, 89, 0.3);
}

.contact-info {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    color: var(--gray-color);
}

.email {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.email:hover {
    color: var(--accent-color);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(131, 37, 89, 0.2);
    color: var(--light-color);
    margin-right: 10px;
    transition: var(--transition);
    border: 1px solid rgba(131, 37, 89, 0.3);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(131, 37, 89, 0.4);
}

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

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #270b1a;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background-color: rgba(26, 7, 17, 0.5);
    color: var(--light-color);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(131, 37, 89, 0.2);
}

/* Footer */
footer {
    background-color: rgba(26, 7, 17, 0.95);
    color: var(--light-color);
    padding: 50px 0 20px;
    position: relative;
    border-top: 1px solid rgba(131, 37, 89, 0.3);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(131, 37, 89, 0.1), transparent 70%);
    pointer-events: none;
}

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

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo .accent {
    color: var(--secondary-color);
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-link-group h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-link-group a {
    display: block;
    margin-bottom: 10px;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-link-group a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

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

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .project-showcase {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        left: 60px !important;
    }
    
    .founder {
        flex-direction: column;
    }
}

/* Animation Effects */
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card, .project-showcase, .timeline-item, .founder {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card.animate, .project-showcase.animate, .timeline-item.animate, .founder.animate {
    opacity: 1;
    transform: translateY(0);
}

.product-card:nth-child(2) {
    transition-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    transition-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    transition-delay: 0.4s;
}
