/* Base Styles */
:root {
    --primary: #FF8A00;
    --secondary: #0066CC;
    --dark: #1A1A2E;
    --darker: #16213E;
    --light: #f5f5f5;
    --gray: #888;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    --radius: 0; /* Sharp corners as base design */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--dark);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    background: var(--gradient);
    color: var(--light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    margin-right: 15px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.btn-outline:hover {
    background: var(--gradient);
    color: var(--light);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(26, 26, 46, 0.95);
    transition: all 0.3s ease;
}

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

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    height: 80px;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-link {
    color: var(--light);
    padding: 0 20px;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

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

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    background: var(--darker);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(0deg, rgba(255,138,0,0.05) 0px, rgba(255,138,0,0.05) 1px, transparent 1px, transparent 30px), 
                      repeating-linear-gradient(90deg, rgba(0,102,204,0.05) 0px, rgba(0,102,204,0.05) 1px, transparent 1px, transparent 30px);
    z-index: 1;
}

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

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

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 80px;
    height: 3px;
    background: var(--gradient);
    transform: translateX(-50%);
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 15px auto 0;
}

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

.feature-card {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.6), rgba(22, 33, 62, 0.8));
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    opacity: 0.2;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card:hover::before {
    width: 150%;
    height: 150%;
    opacity: 0.05;
}

.feature-icon {
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    margin-bottom: 15px;
    color: var(--light);
}

.feature-text {
    color: var(--gray);
}

/* Chat Section */
.chat {
    padding: 100px 0;
    background-color: var(--darker);
    position: relative;
    overflow: hidden;
}

.chat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    z-index: 1;
}

.chat .container {
    position: relative;
    z-index: 2;
}

.chat-container {
    background-color: rgba(26, 26, 46, 0.8);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
    max-width: 700px;
    margin: 0 auto;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}

.chat-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,138,0,0.2);
}

.chat-title {
    font-size: 1.5rem;
    margin-bottom: 0;
    margin-left: 15px;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.chat-message {
    display: flex;
    max-width: 80%;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-content {
    padding: 12px 20px;
    border-radius: 20px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.message-content.bot {
    background: linear-gradient(135deg, rgba(0,102,204,0.2), rgba(0,102,204,0.1));
    border-radius: 0 20px 20px 20px;
}

.message-content.user {
    background: linear-gradient(135deg, rgba(255,138,0,0.3), rgba(255,138,0,0.2));
    border-radius: 20px 0 20px 20px;
    text-align: right;
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background-color: var(--dark);
}

.exp-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.exp-content {
    flex: 1;
    min-width: 300px;
}

.exp-title {
    margin-bottom: 25px;
}

.exp-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.exp-text {
    color: var(--gray);
    margin-bottom: 30px;
}

.exp-features {
    margin: 30px 0;
}

.exp-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.exp-feature-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.exp-feature-text {
    margin-bottom: 0;
}

.exp-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.exp-image-hexagon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.1;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    z-index: 1;
}

.exp-image-content {
    position: relative;
    z-index: 2;
    padding: 50px 0;
    text-align: center;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: var(--darker);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-hexagon {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient);
    opacity: 0.05;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    z-index: 1;
}

.cta-hexagon.top {
    top: -150px;
    right: 10%;
}

.cta-hexagon.bottom {
    bottom: -150px;
    left: 10%;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.cta-text {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Footer */
.footer {
    background-color: var(--dark);
    padding: 70px 0 30px;
}

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

.footer-about p {
    color: var(--gray);
    margin-top: 20px;
}

.footer-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

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

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

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

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

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

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero {
        padding: 150px 0 80px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--dark);
        box-shadow: var(--shadow);
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-link {
        padding: 15px 20px;
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero {
        padding: 120px 0 60px;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .feature-card {
        padding: 20px;
    }
}
