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

:root {
    --primary-blue: #00d4ff;
    --primary-red: #ff006e;
    --dark-bg: #0a0a0f;
    --dark-card: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #b8b8d4;
    --glow-blue: rgba(0, 212, 255, 0.5);
    --glow-red: rgba(255, 0, 110, 0.5);
}

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

/* Animated Background Gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    z-index: -1;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    touch-action: manipulation;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    z-index: 1;
    pointer-events: auto;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.nav-link:hover::before,
.nav-link:focus::before {
    left: 100%;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 110, 0.2));
    box-shadow: 
        0 0 20px var(--glow-blue),
        0 0 40px var(--glow-red),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
    outline: none;
}

.nav-link:active {
    transform: translateY(0);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.brain-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin-bottom: 3rem;
}

.brain-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: brainRotate 20s linear infinite;
}

@keyframes brainRotate {
    0% {
        transform: rotateY(0deg) rotateX(10deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

.brain-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    border-radius: 50% 40% 50% 40%;
    box-shadow: 
        0 0 50px var(--glow-blue),
        0 0 100px var(--glow-red),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.brain-wire {
    position: absolute;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    border-radius: 2px;
    box-shadow: 0 0 10px var(--glow-blue);
    animation: wirePulse 2s ease-in-out infinite;
}

.wire-1 {
    width: 3px;
    height: 100px;
    top: 20%;
    left: 30%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.wire-2 {
    width: 3px;
    height: 120px;
    top: 30%;
    right: 25%;
    transform: rotate(-45deg);
    animation-delay: 0.4s;
}

.wire-3 {
    width: 3px;
    height: 90px;
    bottom: 25%;
    left: 20%;
    transform: rotate(135deg);
    animation-delay: 0.8s;
}

.wire-4 {
    width: 3px;
    height: 110px;
    bottom: 20%;
    right: 30%;
    transform: rotate(-135deg);
    animation-delay: 1.2s;
}

.wire-5 {
    width: 3px;
    height: 80px;
    top: 50%;
    left: 10%;
    transform: rotate(90deg);
    animation-delay: 1.6s;
}

@keyframes wirePulse {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 10px var(--glow-blue);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px var(--glow-blue), 0 0 30px var(--glow-red);
    }
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px var(--glow-blue);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-blue);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 2px;
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0;
    }
}

/* Content Sections */
.content-section {
    padding: 6rem 2rem;
    position: relative;
}

.alt-section {
    background: rgba(26, 26, 46, 0.3);
}

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

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    border-radius: 2px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.content-grid.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-grid.reverse .content-image {
    order: -1;
}

.content-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.section-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 30px var(--glow-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.7),
        0 0 50px var(--glow-blue),
        0 0 70px var(--glow-red);
}

.content-image-center {
    margin-top: 3rem;
    text-align: center;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 30px var(--glow-blue),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Limitations */
.limitation-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--dark-card);
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.limitation-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.3);
}

.limitation-item h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.limitation-item p {
    color: var(--text-secondary);
}

/* Future Section */
.future-content {
    margin-top: 3rem;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.future-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.future-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-blue);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 40px var(--glow-blue);
}

.future-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.future-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover::after {
    opacity: 1;
}

.tool-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: var(--primary-blue);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 50px var(--glow-blue),
        0 0 70px var(--glow-red);
}

.tool-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.tool-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.tool-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tool-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.tool-link:hover {
    transform: scale(1.1);
    box-shadow: 
        0 8px 25px rgba(0, 212, 255, 0.5),
        0 0 30px var(--glow-blue);
}

/* Author Section */
.author-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.author-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 50px var(--glow-blue);
    transition: all 0.3s ease;
}

.author-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.7),
        0 0 70px var(--glow-blue),
        0 0 90px var(--glow-red);
}

.author-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.author-image-container:hover .author-image {
    transform: scale(1.05);
}

.image-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 212, 255, 0.1) 50%, rgba(255, 0, 110, 0.1) 100%);
    border-radius: 20px;
    pointer-events: none;
    animation: imageGlow 3s ease-in-out infinite;
}

@keyframes imageGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

.author-card {
    background: var(--dark-card);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    text-align: left;
    position: relative;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 50px var(--glow-blue);
    transition: all 0.3s ease;
}

.author-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.7),
        0 0 70px var(--glow-blue),
        0 0 90px var(--glow-red);
}

.author-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.author-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.author-school {
    font-size: 1.1rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.author-bio {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.author-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 110, 0.2));
    border-radius: 20px;
    border: 1px solid var(--primary-blue);
}

.author-badge span {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--dark-card);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-content p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .section-container {
        padding: 0 1.5rem;
    }

    .content-section {
        padding: 4rem 1.5rem;
    }

    .benefits-grid,
    .tools-grid,
    .future-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(0, 212, 255, 0.2);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        display: block;
        border-radius: 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

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

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

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

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-grid.reverse .content-image {
        order: 0;
    }

    .benefits-grid,
    .tools-grid,
    .future-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .brain-container {
        width: 200px;
        height: 200px;
    }

    .brain-core {
        width: 100px;
        height: 100px;
    }

    .content-section {
        padding: 4rem 1rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .author-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .author-image-container {
        height: 400px;
    }

    .author-card {
        text-align: center;
        padding: 2rem;
    }

    .benefit-card,
    .tool-card,
    .future-card {
        padding: 1.5rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    /* Disable 3D tilt on mobile for better performance */
    .benefit-card,
    .tool-card,
    .future-card {
        transform: none !important;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .nav-logo {
        font-size: 1rem;
    }

    .nav-menu {
        width: 100%;
        right: -100%;
    }

    .hero-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

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

    .content-section {
        padding: 3rem 0.5rem;
    }

    .section-container {
        padding: 0 0.5rem;
    }

    .brain-container {
        width: 150px;
        height: 150px;
        margin-bottom: 2rem;
    }

    .brain-core {
        width: 75px;
        height: 75px;
    }

    .content-text {
        font-size: 1rem;
    }

    .benefit-card,
    .tool-card,
    .future-card,
    .limitation-item {
        padding: 1.25rem;
    }

    .card-icon,
    .tool-icon {
        font-size: 2.5rem;
    }

    .benefit-card h3,
    .tool-card h3,
    .future-card h3 {
        font-size: 1.25rem;
    }

    .author-image-container {
        height: 300px;
    }

    .author-card {
        padding: 1.5rem;
    }

    .author-name {
        font-size: 1.5rem;
    }

    .author-title {
        font-size: 1.1rem;
    }

    .author-school {
        font-size: 1rem;
    }

    .tool-link {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .nav-container {
        padding: 0 0.75rem;
    }

    .footer {
        padding: 1.5rem 0.5rem;
    }

    .footer-content p {
        font-size: 0.9rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }

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

    .nav-logo {
        font-size: 0.9rem;
    }

    .content-text {
        font-size: 0.95rem;
    }
}
