/* === BASE STYLES & RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6C63FF;
    --primary-dark: #554fd8;
    --secondary-color: #FF6584;
    --dark-color: #2D2B55;
    --light-color: #F8F9FA;
    --gray-color: #6C757D;
    --light-gray: #E9ECEF;
    --success-color: #28a745;
    --font-heading: 'Roboto Slab', serif;
    --font-body: 'Poppins', sans-serif;
    --shadow: 0 10px 30px rgba(108, 99, 255, 0.1);
    --shadow-heavy: 0 15px 40px rgba(108, 99, 255, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-body);
    color: #333;
    background-color: #fafbff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

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

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

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 6px 15px rgba(108, 99, 255, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--light-gray);
    transform: translateY(-3px);
}

/* === NAVIGATION === */
.main-nav {
    background-color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-color);
}

.logo-icon {
    font-size: 2rem;
}

.logo-highlight {
    color: var(--primary-color);
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--gray-color);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.nav-link i {
    font-size: 1.1rem;
}

/* === HERO SECTIONS === */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #e6e9ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, rgba(108, 99, 255, 0) 70%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 35px;
}

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

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

.floating-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-heavy);
    width: 100%;
    max-width: 350px;
    border-top: 5px solid var(--primary-color);
    animation: float 3s ease-in-out infinite;
}

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

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.card-icon {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.card-content p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.page-hero.app-hero {
    background: linear-gradient(135deg, #2D2B55 0%, #6C63FF 100%);
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 15px;
}

.page-hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.hero-tagline {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: var(--border-radius);
}

/* === SECTION STYLES === */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

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

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

/* === LINKS SECTION === */
.links-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.link-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--card-color, var(--primary-color));
    display: block;
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.link-card i {
    font-size: 2.5rem;
    color: var(--card-color, var(--primary-color));
    margin-bottom: 20px;
}

.link-card h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.link-card p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* === ABOUT PAGE === */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.about-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.about-card.main-card {
    padding: 40px;
}

.about-card-header {
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.about-card-header h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--dark-color);
}

.tagline {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: -10px;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.detail-item {
    margin-bottom: 30px;
}

.detail-item h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.skill-tag {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.quote {
    font-style: italic;
    padding: 20px;
    background: rgba(108, 99, 255, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 50px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 50px;
}

.cta-box h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-box .btn {
    background: white;
    color: var(--primary-color);
}

.cta-box .btn:hover {
    background: var(--light-gray);
}

/* === APP PAGE === */
.app-highlight-card {
    background: linear-gradient(135deg, #2D2B55 0%, #6C63FF 100%);
    color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    box-shadow: var(--shadow-heavy);
}

.highlight-content h2 {
    color: white;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-content p {
    font-size: 1.1rem;
    max-width: 600px;
    opacity: 0.9;
}

.highlight-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat h3 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 5px;
}

.stat p {
    opacity: 0.8;
    margin-bottom: 0;
}

.section-block {
    margin-bottom: 80px;
}

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

.tech-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.tech-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.2rem;
}

.tech-card h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.tech-card ul {
    list-style: none;
    text-align: left;
}

.tech-card li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.tech-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.models-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.model-tag {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(108, 99, 255, 0.2);
    transition: var(--transition);
}

.model-tag:hover {
    background: rgba(108, 99, 255, 0.2);
    transform: translateY(-3px);
}

.founder-note {
    background: rgba(108, 99, 255, 0.05);
    padding: 40px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
    margin-top: 60px;
}

.founder-note h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.founder-signature {
    text-align: right;
    margin-top: 25px;
    font-style: italic;
    color: var(--gray-color);
}

/* === CONTACT PAGE === */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-form-card, .info-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.contact-form-card h2, .info-card h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

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

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

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-note {
    margin-top: 20px;
    color: var(--gray-color);
    font-size: 0.9rem;
    text-align: center;
}

.social-contact-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-color);
    border-radius: 8px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.social-contact-link:hover {
    background: rgba(108, 99, 255, 0.1);
    transform: translateX(5px);
}

.social-contact-link i {
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

.info-card ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.info-card li {
    margin-bottom: 10px;
}

.response-time {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.time-item {
    text-align: center;
}

.time-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-cta {
    background: linear-gradient(135deg, #f5f7ff 0%, #e6e9ff 100%);
    padding: 50px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 60px;
}

.contact-cta h2 {
    margin-bottom: 15px;
}

.contact-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === FOOTER === */
.main-footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-brand {
    text-align: center;
}

.footer-brand .logo {
    justify-content: center;
    color: white;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 400px;
    margin: 0 auto;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    opacity: 0.7;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .hero-container, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .page-hero-title {
        font-size: 2.8rem;
    }
    
    .app-highlight-card {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .highlight-stats {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.9rem;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .page-hero-title {
        font-size: 2.3rem;
    }
    
    .links-grid, .tech-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    
    .response-time {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-buttons, .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .about-card, .contact-form-card, .info-card {
        padding: 25px;
    }
    
    .contact-cta, .cta-box {
        padding: 30px 20px;
    }
}
