/* 
 * icespiceaiporn.pw - Main Stylesheet
 * Modern Blue/Teal Design with Hexagon Elements
 */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

/* CSS Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette - Unique Blue/Teal Theme */
    --primary: #00CED1;       /* Teal */
    --secondary: #1E90FF;     /* Blue */
    --accent: #FF1493;        /* Deep Pink */
    --accent-light: #FF69B4;  /* Hot Pink */
    --dark: #121220;          /* Dark Blue-Gray */
    --darker: #0a0a14;        /* Darker Blue-Gray */
    --light: #f5f5f7;         /* Off White */
    --mid-gray: #9DA3B3;      /* Blue-Gray */
    --card-bg: #1C1C2E;       /* Card Background */
    
    /* Typography */
    --heading-font: 'Quicksand', sans-serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Sizes */
    --container-width: 1140px;
    --radius: 10px;
    --radius-lg: 20px;
}

html {
    font-size: 62.5%; /* For easy rem calculations - 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--darker);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

h1 {
    font-size: 5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 3.8rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 2.6rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: var(--primary);
    opacity: 0.2;
    z-index: -1;
}

/* Section Styling */
.section {
    padding: 10rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 6rem;
    position: relative;
}

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

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
}

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

.section-description {
    font-size: 1.8rem;
    color: var(--mid-gray);
    max-width: 70rem;
    margin: 0 auto 3rem;
}

.hex-bg {
    position: absolute;
    opacity: 0.05;
    z-index: -1;
}

.hex-bg.top-right {
    top: -10rem;
    right: -10rem;
    width: 40rem;
    height: 40rem;
    transform: rotate(30deg);
}

.hex-bg.bottom-left {
    bottom: -15rem;
    left: -15rem;
    width: 50rem;
    height: 50rem;
    transform: rotate(-15deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 3rem;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.6rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    box-shadow: 0 6px 15px rgba(0, 206, 209, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 206, 209, 0.35);
    color: var(--light);
}

.btn-large {
    padding: 1.6rem 4rem;
    font-size: 1.8rem;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--light);
    box-shadow: 0 6px 15px rgba(255, 20, 147, 0.25);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 20, 147, 0.35);
    color: var(--light);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark);
}

.btn-icon {
    margin-left: 1rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
}

.header.scrolled {
    padding: 1.5rem 0;
    background-color: rgba(10, 10, 20, 0.95);
}

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

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

.logo-text {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    font-weight: 700;
}

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

.logo-img {
    width: 4rem;
    height: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 4rem;
    align-items: center;
}

nav ul li a {
    position: relative;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.6rem;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.6rem;
    width: 0;
    height: 0.2rem;
    background: var(--primary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

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

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 900;
}

/* Hero Section */
.hero {
    padding: 20rem 0 14rem;
    background-color: var(--dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 50%;
    height: 90%;
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.1), rgba(30, 144, 255, 0.1));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 40%;
    height: 80%;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.05), rgba(255, 105, 180, 0.05));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 2.5rem;
}

.hero-description {
    font-size: 2rem;
    margin-bottom: 4rem;
    color: var(--mid-gray);
}

.hero-buttons {
    display: flex;
    gap: 2rem;
}

.hero-image {
    position: relative;
}

.hero-hex {
    width: 100%;
    max-width: 45rem;
    filter: drop-shadow(0 10px 20px rgba(0, 206, 209, 0.2));
    animation: float 6s ease-in-out infinite;
}

/* Features Section */
.features {
    background-color: var(--darker);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 4rem;
}

.feature-card {
    position: relative;
    padding: 4.5rem;
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 85% 100%, 0% 100%);
    border: 1px solid rgba(0, 206, 209, 0.1);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

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

.feature-icon {
    width: 7rem;
    height: 7rem;
    margin-bottom: 3rem;
}

.feature-title {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.feature-description {
    color: var(--mid-gray);
    font-size: 1.6rem;
    line-height: 1.7;
}

/* Technology Section */
.technology {
    background-color: var(--dark);
    position: relative;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.tech-image {
    position: relative;
}

.tech-hex {
    width: 100%;
    max-width: 50rem;
    filter: drop-shadow(0 10px 20px rgba(255, 20, 147, 0.2));
}

.tech-text h2 {
    margin-bottom: 3rem;
}

.tech-text p {
    margin-bottom: 2.5rem;
}

.tech-items {
    margin-top: 4rem;
}

.tech-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.tech-item-icon {
    width: 4rem;
    height: 4rem;
    margin-right: 2rem;
    flex-shrink: 0;
}

.tech-item-content h4 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.tech-item-content p {
    color: var(--mid-gray);
    margin-bottom: 0;
}

/* Showcase Section */
.showcase {
    background-color: var(--darker);
    position: relative;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.showcase-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.showcase-item:hover .showcase-svg {
    transform: scale(1.1);
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-title {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.showcase-description {
    color: var(--mid-gray);
    font-size: 1.4rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.showcase-item:hover .showcase-title,
.showcase-item:hover .showcase-description {
    transform: translateY(0);
}

/* FAQ Section */
.faq {
    background-color: var(--dark);
    position: relative;
}

.faq-container {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    margin-bottom: 2rem;
    overflow: hidden;
}

.faq-question {
    padding: 2.5rem;
    cursor: pointer;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question::after {
    content: '+';
    font-size: 2.4rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 50rem;
}

.faq-answer-content {
    padding: 0 2.5rem 2.5rem;
    color: var(--mid-gray);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--dark), var(--darker));
    position: relative;
    padding: 12rem 0;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 60rem;
    height: 60rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 206, 209, 0.1) 0%, transparent 70%);
    top: -30rem;
    right: -20rem;
}

.cta-content {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 4.5rem;
    margin-bottom: 2.5rem;
}

.cta-description {
    font-size: 2rem;
    color: var(--mid-gray);
    margin-bottom: 4rem;
}

/* Footer */
.footer {
    background-color: var(--darker);
    padding: 8rem 0 3rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6rem;
    margin-bottom: 5rem;
}

.footer-brand {
    max-width: 35rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 1.2rem;
}

.footer-logo-img {
    width: 5rem;
    height: auto;
}

.footer-logo-text {
    font-family: var(--heading-font);
    font-size: 2.4rem;
    font-weight: 700;
}

.footer-description {
    color: var(--mid-gray);
    margin-bottom: 3rem;
}

.footer-heading {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 3px;
    background: var(--primary);
}

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

.footer-links li {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--mid-gray);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

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

.footer-copyright {
    color: var(--mid-gray);
    font-size: 1.4rem;
}

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

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

.pulse {
    animation: pulse 3s ease-in-out infinite;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .hero-content, .tech-content {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .hero-image {
        grid-row: 1;
        max-width: 40rem;
        margin: 0 auto;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .section {
        padding: 8rem 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 30rem;
        height: 100vh;
        background-color: var(--dark);
        padding: 8rem 3rem 3rem;
        transition: right 0.3s ease;
        z-index: 950;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 3rem;
        align-items: flex-start;
    }
    
    .overlay.active {
        display: block;
    }
    
    .hero {
        padding: 15rem 0 8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    h1 {
        font-size: 3.8rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .features-grid, .showcase-grid {
        grid-template-columns: 1fr;
    }
}
