/* ==================================================================================
    CSS STYLING FOR GOOGLE WORKSPACE LANDING PAGE (Dynamic Design)
    
    DEPLOYMENT: Upload this file to your Joomla template's CSS folder.
    ==================================================================================
*/

/* --- All External Links Imported Here via @import --- */
/* 1. FONT AWESOME ICONS LIBRARY */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');

/* 2. GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;600&display=swap');


/* --- Variable Definitions --- */
:root {
    --wave-accent-blue: #0A66C2;    /* A strong, vibrant blue */
    --wave-light-blue: #EBF2F7;     /* Very light blue for subtle backgrounds */
    --wave-dark-text: #2c3e50;      /* Dark slate gray for headings */
    --wave-body-text: #34495e;      /* Slightly lighter for body text */
    --wave-white: #ffffff;
    --wave-shadow-elevation: 0 10px 30px rgba(0, 0, 0, 0.08);
    --gw-green: #34A853;            /* Google Green (used for pricing checks) */
    --gw-blue: #4285F4;             /* Google Blue */
    --gw-purple: #8E24AA;           /* Custom Purple for Enterprise */
    --error-red: #DB4437;           /* Google Red for errors/crosses */
    --wave-callout-bg: #E3F2FD;     
    --wave-callout-border: #BBDEFB; 
    --feature-icon-color: var(--gw-blue); 
}

/* Base Styling */
body {
    font-family: 'Open Sans', sans-serif; 
    color: var(--wave-body-text);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: var(--wave-light-blue);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--wave-dark-text);
    line-height: 1.2;
}
.wave-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 25px;
}
.section-header {
    text-align: center;
    margin-bottom: 70px;
}
.section-header h2 {
    font-size: 3em;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
}
.section-header h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--wave-accent-blue);
    margin: 20px auto 0;
    border-radius: 2px;
}
.section-header p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
}

/* --- HERO SECTION --- */
.gw-hero {
    position: relative;
    background-image: 
        linear-gradient(to right, rgba(10, 102, 194, 0.85), rgba(0, 119, 181, 0.9)), 
        url('../../../images/Google.png'); 
    background-size: 100% auto;
    background-position: center;
    color: var(--wave-white);
    padding: 180px 25px 120px;
    text-align: center;
    overflow: hidden;
    border-bottom-left-radius: 50% 20px;
    border-bottom-right-radius: 50% 20px;
  margin-top: -5.5vh;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.hero-content h1 {
    font-size: 4.2em;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--wave-white);
}
.hero-content p {
    font-size: 1.6em;
    font-weight: 400;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* --- CTA Buttons --- */
.cta-buttons-container { margin-bottom: 15px; }
.cta-button {
    display: inline-block;
    padding: 18px 45px;
    margin: 10px;
    text-decoration: none;
    border-radius: 50px; 
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.primary-cta {
    background-color: var(--wave-white); 
    color: var(--wave-accent-blue);
    border: 2px solid var(--wave-white); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); 
}
.primary-cta:hover {
    background-color: var(--wave-accent-blue); 
    color: var(--wave-white);
    border-color: var(--wave-accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3); 
}
.secondary-cta {
    background-color: transparent;
    color: var(--wave-white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}
.secondary-cta:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--wave-white);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
.hero-learn-more {
    display: block;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s;
}
.hero-learn-more:hover { color: var(--wave-white); }

/* --- PRICING CARDS --- */
.pricing-section {
    background-color: var(--wave-light-blue);
}
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    justify-content: center;
}
.pricing-card {
    background-color: var(--wave-white);
    border-radius: 12px;
    box-shadow: var(--wave-shadow-elevation);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.pricing-card.recommended-card {
    border: 3px solid var(--gw-blue);
    background-color: #F7FBFF; 
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.plan-ribbon {
    position: absolute;
    top: 20px;
    right: -10px;
    background-color: var(--gw-blue);
    color: white;
    padding: 5px 15px;
    font-size: 0.8em;
    font-weight: 700;
    border-radius: 0 0 0 5px;
    transform: rotate(2deg);
    z-index: 10;
}
.plan-features-list { 
    list-style: none; 
    padding: 0; 
    text-align: left; 
    margin-bottom: 30px; 
    flex-grow: 1; 
}

.plan-features-list li { 
    display: flex; 
    align-items: center; 
    margin-bottom: 12px; 
    font-size: 0.95em; 
    font-weight: 500; 
    color: var(--wave-body-text); 
}
.plan-features-list li i { 
    color: var(--gw-green); 
    margin-right: 12px; 
    font-size: 1.1em; 
}
.plan-features-list li .fa-times-circle { 
    color: var(--error-red); 
}

/* --- POST-PRICING CALLOUT SECTION --- */
.reseller-callout {
    background-color: var(--wave-callout-bg);
    border: 1px solid var(--wave-callout-border);
    padding: 40px;
    border-radius: 10px;
    margin: 0 auto 90px auto;
    max-width: 1000px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.reseller-callout h3 {
    font-size: 2.2em;
    font-weight: 800;
    color: var(--wave-accent-blue);
    text-align: center;
    margin-bottom: 30px;
}
.reseller-features {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}
.reseller-feature-item {
    flex: 1;
    padding: 20px;
    border-left: 3px solid var(--gw-blue);
    background-color: var(--wave-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.reseller-feature-item i {
    font-size: 3em;
    color: var(--gw-blue);
    margin-bottom: 15px;
}

/* --- FEATURE TAB STYLING --- */
.feature-tabs-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--wave-white);
    border-radius: 12px;
    box-shadow: var(--wave-shadow-elevation);
    padding: 30px;
}

.feature-tab-headers {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
    overflow-x: auto; /* Allows scrolling on small screens */
}
.feature-tab-header {
    flex: 1;
    padding: 15px 20px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--wave-body-text);
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap; 
}
.feature-tab-header:hover {
    color: var(--wave-accent-blue);
}
.feature-tab-header.active {
    color: var(--wave-accent-blue);
    border-bottom: 3px solid var(--wave-accent-blue);
    font-weight: 700;
}

.feature-tab-content {
    display: none;
    padding: 20px 0;
    animation: fadeIn 0.4s ease-in-out;
}
.feature-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-detail-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}
.tab-detail-layout-content {
    flex: 1;
}
.tab-detail-layout-image {
    flex: 1;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Specific Tab Images (Reusing previous IDs) */
#img-collab { background-image: url('../../../images/gws-gmail.png'); }
#img-storage { background-image: url('../../../images/gws-drive.png'); }
#img-admin { background-image: url('../../../images/gws-admin.png'); }

.feature-item-points { list-style: none; padding: 0; margin-top: 20px; }
.feature-item-points li { 
    display: flex; 
    align-items: center; 
    margin-bottom: 15px; 
    font-size: 1.1em;
    font-weight: 600;
}
.feature-item-points li i {
    color: var(--feature-icon-color); 
    margin-right: 15px;
    font-size: 1.2em;
    min-width: 25px; 
}


/* --- WHY CHOOSE WAVE SECTION (RENAMED/RE-FOCUSED) --- */
.why-wave-section {
    background-color: var(--wave-white);
    text-align: center;
    padding: 90px 25px;
}
.why-wave-section .section-header {
    margin-bottom: 60px;
}
.why-wave-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.why-wave-item {
    background-color: var(--wave-light-blue);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--wave-shadow-subtle);
    transition: transform 0.3s ease;
}
.why-wave-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.why-wave-item i {
    font-size: 3.5em;
    color: var(--wave-accent-blue);
    margin-bottom: 20px;
}
.why-wave-item h4 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
}
.why-wave-item p {
    font-size: 1em;
    line-height: 1.6;
}


/* --- FAQ / ACCORDION STYLES --- */
.faq-section { background-color: var(--wave-light-blue); }
.accordion-container { max-width: 800px; margin: 0 auto; }
.accordion-item {
    background-color: var(--wave-white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--wave-shadow-subtle);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.accordion-header {
    padding: 20px 30px;
    cursor: pointer;
    background-color: var(--wave-white);
    color: var(--wave-dark-text);
    font-weight: 600;
    font-size: 1.1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}
.accordion-header:hover { background-color: #f7f7f7; }
.accordion-header i {
    color: var(--wave-accent-blue);
    transition: transform 0.3s;
}
.accordion-header.active i { transform: rotate(180deg); }
.accordion-content {
    padding: 0 30px;
    color: var(--wave-body-text);
    background-color: var(--wave-white);
    display: none; 
}
.accordion-content-inner { padding: 20px 0 30px 0; border-top: 1px dashed #eee; }

/* --- FINAL CTA SECTION --- */
.contact-cta-section {
    background-color: var(--wave-accent-blue);
    color: var(--wave-white);
    padding: 80px 25px;
    text-align: center;
    border-top: 5px solid var(--gw-blue);
}
.contact-cta-section h2 {
    color: var(--wave-white);
    font-size: 2.8em;
    font-weight: 800;
    margin-bottom: 20px;
}
.contact-cta-section p {
    font-size: 1.3em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.9);
}
.contact-cta-section .cta-button {
    border-color: var(--wave-white);
}
.contact-cta-section .cta-button.primary-cta {
     background-color: var(--wave-white);
     color: var(--wave-accent-blue);
}
.contact-cta-section .cta-button.primary-cta:hover {
    background-color: var(--wave-accent-blue);
    color: var(--wave-white);
    border-color: var(--wave-white);
}
.contact-cta-section .cta-button.secondary-cta {
    color: var(--wave-white);
}
.contact-cta-section .cta-button.secondary-cta:hover {
    background-color: rgba(255, 255, 255, 0.15);
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3.5em; }
    .hero-content p { font-size: 1.3em; }
    .wave-section { padding: 60px 20px; }
    .section-header h2 { font-size: 2.5em; }
    
    /* Feature Tabs Mobile Layout (Stacking) */
    .tab-detail-layout { flex-direction: column; }
    .tab-detail-layout-image { width: 100%; min-height: 250px; order: -1; margin-bottom: 20px; }
    .tab-detail-layout-content { text-align: center; }
    .feature-item-points { text-align: left; }

    .pricing-container { grid-template-columns: 1fr; }
    .pricing-card { max-width: 450px; margin: 0 auto; }
    .pricing-card.recommended-card { transform: translateY(-5px) scale(1.01); }
    .reseller-callout { padding: 30px 20px; margin: 0 auto 60px auto; }
    .reseller-features { flex-direction: column; }
    .reseller-feature-item { border-left: none; border-top: 3px solid var(--gw-blue); margin-bottom: 20px; }
    .reseller-callout h3 { font-size: 1.8em; }
}

@media (max-width: 768px) {
    .gw-hero { padding: 120px 20px 80px; }
    .hero-content h1 { font-size: 2.8em; }
    .hero-content p { font-size: 1.1em; }
    .section-header h2 { font-size: 2em; }
    .section-header p { font-size: 1em; }
    .cta-button { padding: 15px 30px; font-size: 1em; }
    .why-wave-grid { grid-template-columns: 1fr; }
    .why-wave-item { padding: 25px; }
    .accordion-header { font-size: 1em; padding: 15px 20px; }
    .accordion-content-inner { padding: 15px 0 20px 0; }
    .contact-cta-section h2 { font-size: 2.2em; }
    .contact-cta-section p { font-size: 1.1em; }
}