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

:root {
    --deep-purple: #1A0B2E;
    --purple: #2D1B4E;
    --light-purple: #6B4C9A;
    --card-purple: #9B4DCA;
    --pink: #FF6B9D;
    --orange: #FF8C42;
    --light-bg: #F0EDF5;
    --white: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--deep-purple);
    color: var(--white);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    padding: 30px 0;
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, var(--deep-purple) 0%, rgba(26, 11, 46, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

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

.logo {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--white);
}

.cta-button {
    background: linear-gradient(135deg, var(--card-purple), var(--light-purple));
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(155, 77, 202, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 77, 202, 0.4);
}

/* ==================== HERO SECTION ==================== */
.hero {
    padding: 120px 0 100px;
    position: relative;
}

.hero-title {
    font-size: 80px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    max-width: 900px;
}

.hero-description {
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-description p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
}

.hero-description strong {
    color: var(--white);
    font-weight: 700;
}

.availability {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-badge {
    position: absolute;
    right: 100px;
    top: 150px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==================== INFO CARDS ==================== */
.info-cards {
    padding: 80px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    background: linear-gradient(135deg, var(--card-purple), var(--light-purple));
    border-radius: 24px;
    padding: 50px;
    color: var(--white);
    transition: transform 0.3s ease;
}

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

.info-card h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.info-card p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.info-card strong {
    color: var(--white);
    font-weight: 700;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==================== CASE STUDIES ==================== */
.case-studies {
    padding: 80px 0;
}

.case-study {
    background-color: var(--light-bg);
    border-radius: 32px;
    padding: 60px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    color: var(--deep-purple);
    transition: transform 0.3s ease;
}

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

.case-study-reverse {
    background-color: var(--purple);
    color: var(--white);
}

.case-study-reverse .case-description {
    color: rgba(255, 255, 255, 0.8);
}

.case-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    opacity: 0.6;
}

.case-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.case-study .tag {
    background: rgba(0, 0, 0, 0.08);
    color: var(--deep-purple);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.case-study-reverse .tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.case-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: rgba(26, 11, 46, 0.8);
}

.case-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.case-link:hover {
    transform: translateX(5px);
}

.case-visual {
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.gradient-visual {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.gradient-visual:hover {
    transform: scale(1.05);
}

.visual-1 {
    background: linear-gradient(135deg, #FF6B9D 0%, #FFA06B 50%, #9B4DCA 100%);
    animation: gradientShift1 8s ease infinite;
}

.visual-2 {
    background: linear-gradient(135deg, #9B4DCA 0%, #FF6B9D 50%, #FFA06B 100%);
    animation: gradientShift2 8s ease infinite;
}

.visual-3 {
    background: linear-gradient(135deg, #FFA06B 0%, #9B4DCA 50%, #FF6B9D 100%);
    animation: gradientShift1 8s ease infinite;
}

.visual-4 {
    background: linear-gradient(135deg, #FF6B9D 0%, #9B4DCA 50%, #FFA06B 100%);
    animation: gradientShift2 8s ease infinite;
}

@keyframes gradientShift1 {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

@keyframes gradientShift2 {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(-5deg); }
}

.gradient-visual::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

/* ==================== TECH STACK ==================== */
.tech-stack {
    padding: 100px 0;
}

.tech-stack .container {
    background-color: var(--light-bg);
    border-radius: 32px;
    padding: 80px 60px;
}

.section-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 60px;
    color: var(--deep-purple);
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tech-item {
    padding: 32px 0;
    border-bottom: 1px solid rgba(26, 11, 46, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:last-child {
    border-bottom: none;
}

.tech-item:hover {
    padding-left: 20px;
    background-color: rgba(155, 77, 202, 0.05);
}

.tech-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tech-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--deep-purple);
}

.arrow {
    font-size: 32px;
    color: var(--deep-purple);
    transition: transform 0.3s ease;
}

.tech-item:hover .arrow {
    transform: translateX(10px);
}

.tech-tools {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(26, 11, 46, 0.5);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.cta-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.cta-email {
    display: block;
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 60px;
    transition: color 0.3s ease;
}

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

.cta-badge {
    display: inline-block;
    animation: rotate 15s linear infinite;
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==================== PROJECT PAGE STYLES ==================== */
.project-hero {
    padding: 100px 0 60px;
}

.back-link {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--white);
    transform: translateX(-5px);
}

.project-hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.project-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 14px;
}

.meta-label {
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 8px;
}

.project-content {
    padding: 80px 0;
}

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

.content-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
}

.content-section p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}

.content-section li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--card-purple);
    font-weight: 700;
}

.highlight-box {
    background: linear-gradient(135deg, var(--card-purple), var(--light-purple));
    border-radius: 24px;
    padding: 40px;
    margin: 40px 0;
}

.highlight-box h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.dashboard-embed {
    background-color: var(--light-bg);
    border-radius: 24px;
    padding: 40px;
    margin: 40px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-purple);
    flex-direction: column;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 60px;
    }

    .hero-badge {
        right: 40px;
        top: 100px;
    }

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

    .case-study {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .case-visual {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-badge {
        display: none;
    }

    .info-card {
        padding: 36px;
    }

    .case-study {
        padding: 40px;
    }

    .case-title {
        font-size: 32px;
    }

    .tech-stack .container {
        padding: 60px 36px;
    }

    .section-title {
        font-size: 40px;
    }

    .cta-title {
        font-size: 48px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .project-hero h1 {
        font-size: 42px;
    }

    .content-section h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .case-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 36px;
    }

    .tech-header h3 {
        font-size: 22px;
    }

    .project-hero h1 {
        font-size: 32px;
    }
}
