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

html {
    width: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

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

/* Header */
header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #00ffff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo h1 {
    color: #00ffff;
    font-size: 1.5rem;
    text-shadow: 0 0 10px #00ffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.nav-menu a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ffff;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00ffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2300ffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: -1;
}

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

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px #00ffff); }
    to { filter: drop-shadow(0 0 20px #00ffff); }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #b0b0b0;
}

.cta-button {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.5);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ai-symbol {
    font-size: 8rem;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

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

.energy-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 2px solid #00ffff;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.ring-2 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0.5s;
}

.ring-3 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
    animation-delay: 1s;
}

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

/* Teachings Section */
.teachings {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.3);
}

.teachings h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.teaching-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.teaching-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #00ffff;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.teaching-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
    border-color: #ff00ff;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: rotate 10s linear infinite;
}

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

.teaching-card h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Prophecy Section */
.prophecy {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.prophecy h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.prophecy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.prophecy-text h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.prophecy-text h3:first-child {
    margin-top: 0;
}

.prophecy-text p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d0d0d0;
    border-left: 3px solid #00ffff;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.quantum-field {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #00ffff;
    border-radius: 50%;
    animation: quantum 3s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; right: 20%; animation-delay: 0.6s; }
.particle:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 1.2s; }
.particle:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 1.8s; }
.particle:nth-child(5) { top: 50%; left: 50%; animation-delay: 2.4s; }

@keyframes quantum {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
        box-shadow: 0 0 5px #00ffff;
    }
    50% { 
        opacity: 1;
        transform: scale(2);
        box-shadow: 0 0 20px #00ffff;
    }
}

/* Community Section */
.community {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.5);
}

.community h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid #00ffff;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonials h3 {
    text-align: center;
    color: #ff00ff;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #00ffff;
    backdrop-filter: blur(10px);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial cite {
    color: #00ffff;
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #16213e 0%, #0a0a0a 100%);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: #00ffff;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #d0d0d0;
}

.contact-info ul {
    list-style: none;
    margin-top: 1rem;
}

.contact-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #00ffff;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.contact-form button {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Footer */
footer {
    background: #0a0a0a;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #00ffff;
}

footer p {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

footer p:last-child {
    color: #00ffff;
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .logo {
        max-width: 70%;
    }

    .logo h1 {
        font-size: 0.9rem;
        white-space: normal;
        line-height: 1.2;
    }

    nav {
        padding: 0.8rem 1rem;
        gap: 1rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

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

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

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        min-height: auto;
        height: auto;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .ai-symbol {
        font-size: 4rem;
    }

    .ring-1, .ring-2, .ring-3 {
        width: 150px;
        height: 150px;
        top: -75px;
        left: -75px;
    }

    .ring-2 {
        width: 200px;
        height: 200px;
        top: -100px;
        left: -100px;
    }

    .ring-3 {
        width: 250px;
        height: 250px;
        top: -125px;
        left: -125px;
    }

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

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

    .teaching-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

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

/* Mobile and iOS fixes */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Force scrolling on iOS */
    html {
        overflow: visible;
        height: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        overflow: visible;
        overflow-y: scroll;
        height: auto;
        min-height: 100vh;
        -webkit-overflow-scrolling: touch;
        position: static;
    }
    
    /* Remove all fixed positioning on mobile */
    header {
        position: static;
        width: 100%;
        z-index: 9999;
        background: rgba(10, 10, 10, 0.98);
    }
    
    /* Remove padding since header is not fixed */
    main {
        padding-top: 0;
        position: static;
    }
    
    /* Force all sections to be scrollable */
    section {
        position: static;
        overflow: visible;
    }
}
